Subversion Repositories planix.SVN

Rev

Rev 2 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
2 - 1
#include "u.h"
2
#include "lib.h"
3
#include "dat.h"
4
#include "fns.h"
5
#include "error.h"
6
 
7
void
8
mallocsummary(void)
9
{
10
}
11
 
12
void
13
pagersummary(void)
14
{
15
}
16
 
17
int
18
iseve(void)
19
{
20
	return 1;
21
}
22
 
23
void
24
setswapchan(Chan *c)
25
{
26
	USED(c);
27
}
28
 
29
void
30
splx(int x)
31
{
32
	USED(x);
33
}
34
 
35
int
36
splhi(void)
37
{
38
	return 0;
39
}
40
 
41
int
42
spllo(void)
43
{
44
	return 0;
45
}
46
 
47
void
48
procdump(void)
49
{
50
}
51
 
52
void
53
scheddump(void)
54
{
55
}
56
 
57
void
58
killbig(void)
59
{
60
}
61
 
62
void
63
dumpstack(void)
64
{
65
}
66
 
67
void
68
xsummary(void)
69
{
70
}
71
 
72
void
73
rebootcmd(int argc, char **argv)
74
{
75
	USED(argc);
76
	USED(argv);
77
}
78
 
79
void
80
kickpager(void)
81
{
82
}
83
 
84
int
85
userwrite(char *a, int n)
86
{
87
	error(Eperm);
88
	return 0;
89
}
90
 
91
vlong
92
todget(vlong *p)
93
{
94
	if(p)
95
		*p = 0;
96
	return 0;
97
}
98
 
99
void
100
todset(vlong a, vlong b, int c)
101
{
102
	USED(a);
103
	USED(b);
104
	USED(c);
105
}
106
 
107
void
108
todsetfreq(vlong a)
109
{
110
	USED(a);
111
}
112
 
113
long
114
hostdomainwrite(char *a, int n)
115
{
116
	USED(a);
117
	USED(n);
118
	error(Eperm);
119
	return 0;
120
}
121
 
122
long
123
hostownerwrite(char *a, int n)
124
{
125
	USED(a);
126
	USED(n);
127
	error(Eperm);
128
	return 0;
129
}
130
 
131
void
132
todinit(void)
133
{
134
}
135
 
136
void
137
rdb(void)
138
{
139
}
140
 
141
void
142
setmalloctag(void *v, uintptr tag)
143
{
144
	USED(v);
145
	USED(tag);
146
}
147
 
148
int
149
postnote(Proc *p, int x, char *msg, int flag)
150
{
151
	USED(p);
152
	USED(x);
153
	USED(msg);
154
	USED(flag);
155
	return 0;
156
}
157
 
158
void
159
exhausted(char *s)
160
{
161
	panic("out of %s", s);
162
}
163
 
164
uvlong
165
fastticks(uvlong *v)
166
{
167
	if(v)
168
		*v = 1;
169
	return 0;
170
}
171