| Last change
 on this file since 3271 was             10, checked in by bird, 23 years ago | 
        
          | 
Initial revision
 | 
        
          | 
              
Property                 cvs2svn:cvs-rev
 set to                 1.1
Property                 svn:eol-style
 set to                 native
Property                 svn:executable
 set to                 * | 
        
          | File size:
            649 bytes | 
      
      
| Line |  | 
|---|
| 1 | #include <machine/vmparam.h> | 
|---|
| 2 | #include <sys/param.h> | 
|---|
| 3 |  | 
|---|
| 4 | /* This is an ugly way to hack around the incorrect | 
|---|
| 5 | * definition of UPAGES in i386/machparam.h. | 
|---|
| 6 | * | 
|---|
| 7 | * The definition should specify the size reserved | 
|---|
| 8 | * for "struct user" in core files in PAGES, | 
|---|
| 9 | * but instead it gives it in 512-byte core-clicks | 
|---|
| 10 | * for i386 and i860. UPAGES is used only in trad-core.c. | 
|---|
| 11 | */ | 
|---|
| 12 | #if UPAGES == 16 | 
|---|
| 13 | #undef  UPAGES | 
|---|
| 14 | #define UPAGES 2 | 
|---|
| 15 | #endif | 
|---|
| 16 |  | 
|---|
| 17 | #if UPAGES != 2 | 
|---|
| 18 | FIXME!! UPAGES is neither 2 nor 16 | 
|---|
| 19 | #endif | 
|---|
| 20 |  | 
|---|
| 21 | #define HOST_PAGE_SIZE          1 | 
|---|
| 22 | #define HOST_SEGMENT_SIZE       NBPG | 
|---|
| 23 | #define HOST_MACHINE_ARCH       bfd_arch_i386 | 
|---|
| 24 | #define HOST_TEXT_START_ADDR    USRTEXT | 
|---|
| 25 | #define HOST_STACK_END_ADDR     USRSTACK | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.