1*2159047fSniklas /* This file was hacked from i386mach3.h [dolan@ssd.intel.com] */ 2*2159047fSniklas 3*2159047fSniklas #include <machine/vmparam.h> 4*2159047fSniklas #include <sys/param.h> 5*2159047fSniklas 6*2159047fSniklas /* This is an ugly way to hack around the incorrect 7*2159047fSniklas * definition of UPAGES in i386/machparam.h. 8*2159047fSniklas * 9*2159047fSniklas * The definition should specify the size reserved 10*2159047fSniklas * for "struct user" in core files in PAGES, 11*2159047fSniklas * but instead it gives it in 512-byte core-clicks 12*2159047fSniklas * for i386 and i860. UPAGES is used only in trad-core.c. 13*2159047fSniklas */ 14*2159047fSniklas #if UPAGES == 16 15*2159047fSniklas #undef UPAGES 16*2159047fSniklas #define UPAGES 2 17*2159047fSniklas #endif 18*2159047fSniklas 19*2159047fSniklas #if UPAGES != 2 20*2159047fSniklas FIXME!! UPAGES is neither 2 nor 16 21*2159047fSniklas #endif 22*2159047fSniklas 23*2159047fSniklas #define HOST_PAGE_SIZE 1 24*2159047fSniklas #define HOST_SEGMENT_SIZE NBPG 25*2159047fSniklas #define HOST_MACHINE_ARCH bfd_arch_i860 26*2159047fSniklas #define HOST_TEXT_START_ADDR USRTEXT 27*2159047fSniklas #define HOST_STACK_END_ADDR USRSTACK 28