ref: f69f735ebcf41200cc3817019a862a8d7bd76961
dir: /kern/stub.c/
#include "u.h"
#include "lib.h"
#include "dat.h"
#include "fns.h"
#include "error.h"
int
iseve(void)
{
return 1;
}
void
splx(int x)
{
USED(x);
}
int
splhi(void)
{
return 0;
}
int
spllo(void)
{
return 0;
}
long
hostdomainwrite(char *a, int n)
{
return (long)setdomainname(a, n);
}
long
hostownerwrite(char *a, int n)
{
return (long)sethostname(a, n);
}
void
setmalloctag(void *v, uintptr tag)
{
USED(v);
USED(tag);
}
void
setrealloctag(void *v, uintptr tag)
{
USED(v);
USED(tag);
}
/* TODO: We need this very soon */
int
postnote(Proc *p, int x, char *msg, int flag)
{
USED(p);
USED(x);
USED(msg);
USED(flag);
return 0;
}
void
exhausted(char *s)
{
panic("out of %s", s);
}