Back to index

cell-binutils  2.17cvs20070401
i860mach3.h
Go to the documentation of this file.
00001 /* This file was hacked from i386mach3.h   [dolan@ssd.intel.com] */
00002 
00003 #include <machine/vmparam.h>
00004 #include <sys/param.h>
00005 
00006 /* This is an ugly way to hack around the incorrect
00007  * definition of UPAGES in i386/machparam.h.
00008  *
00009  * The definition should specify the size reserved
00010  * for "struct user" in core files in PAGES,
00011  * but instead it gives it in 512-byte core-clicks
00012  * for i386 and i860. UPAGES is used only in trad-core.c.
00013  */
00014 #if UPAGES == 16
00015 #undef  UPAGES
00016 #define UPAGES 2
00017 #endif
00018 
00019 #if UPAGES != 2
00020 FIXME!! UPAGES is neither 2 nor 16
00021 #endif
00022 
00023 #define       HOST_PAGE_SIZE              1
00024 #define       HOST_SEGMENT_SIZE    NBPG
00025 #define       HOST_MACHINE_ARCH    bfd_arch_i860
00026 #define       HOST_TEXT_START_ADDR USRTEXT
00027 #define       HOST_STACK_END_ADDR  USRSTACK