]>
Commit | Line | Data |
---|---|---|
343c1a96 SG |
1 | /* Architecture independant LynxOS host support for 2.2 */ |
2 | ||
3 | #ifndef hosts_lynx_h | |
4 | #define hosts_lynx_h | |
5 | ||
6 | #include <fcntl.h> | |
7 | #include <errno.h> | |
8 | #include <stdio.h> | |
9 | #include <stdlib.h> | |
10 | #include <ctype.h> | |
11 | #include <string.h> | |
12 | ||
13 | #include <sys/conf.h> | |
14 | #include <sys/kernel.h> | |
380c60b1 SS |
15 | /* sys/kernel.h should define this, but doesn't always, sigh. */ |
16 | #ifndef __LYNXOS | |
17 | #define __LYNXOS | |
18 | #endif | |
343c1a96 SG |
19 | #include <sys/mem.h> |
20 | #include <sys/signal.h> | |
21 | #include <sys/time.h> | |
22 | #include <sys/resource.h> | |
23 | #include <sys/itimer.h> | |
24 | #include <sys/file.h> | |
25 | #include <sys/proc.h> | |
26 | ||
27 | #define HOST_PAGE_SIZE NBPG | |
28 | #define HOST_TEXT_START_ADDR USRTEXT | |
29 | ||
30 | #define HOST_LYNX | |
31 | ||
32 | #include "fopen-same.h" | |
33 | ||
196f0970 KR |
34 | #define FPRINTF_ALREADY_DECLARED |
35 | ||
343c1a96 SG |
36 | #undef I386 /* Lynx defines this for some reason */ |
37 | ||
38 | /* Lynx has calloc, but no cfree, and gprof uses it. */ | |
39 | ||
40 | #define cfree free | |
41 | ||
42 | #endif /* hosts_lynx_h */ |