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