/* Architecture independant LynxOS host support for 2.2 */ #ifndef hosts_lynx_h #define hosts_lynx_h #include #include #include #include #include #include #include #include /* sys/kernel.h should define this, but doesn't always, sigh. */ #ifndef __LYNXOS #define __LYNXOS #endif #include #include #include #include #include #include #include #define HOST_PAGE_SIZE NBPG #define HOST_TEXT_START_ADDR USRTEXT #define HOST_LYNX #include "fopen-same.h" #define FPRINTF_ALREADY_DECLARED #undef I386 /* Lynx defines this for some reason */ /* Lynx has calloc, but no cfree, and gprof uses it. */ #define cfree free #endif /* hosts_lynx_h */