home *** CD-ROM | disk | FTP | other *** search
/ PC Welt 2006 November (DVD) / PCWELT_11_2006.ISO / casper / filesystem.squashfs / usr / src / linux-headers-2.6.17-6 / include / asm-i386 / page_offset.h < prev    next >
Encoding:
C/C++ Source or Header  |  2006-08-11  |  666 b   |  31 lines

  1. #ifndef ASM_I386_PAGEOFFSET_H
  2. #define ASM_I386_PAGEOFFSET_H 1
  3.  
  4. #ifdef __ASSEMBLY__
  5.  
  6. #ifdef CONFIG_05GB
  7. #define PAGE_OFFSET_RAW 0xE0000000
  8. #elif defined(CONFIG_1GB)
  9. #define PAGE_OFFSET_RAW 0xC0000000
  10. #elif defined(CONFIG_2GB)
  11. #define PAGE_OFFSET_RAW 0x80000000
  12. #elif defined(CONFIG_3GB)
  13. #define PAGE_OFFSET_RAW 0x40000000
  14. #endif
  15.  
  16. #else /* __ASSEMBLY__ */
  17.  
  18. #ifdef CONFIG_05GB
  19. #define PAGE_OFFSET_RAW 0xE0000000UL
  20. #elif defined(CONFIG_1GB)
  21. #define PAGE_OFFSET_RAW 0xC0000000UL
  22. #elif defined(CONFIG_2GB)
  23. #define PAGE_OFFSET_RAW 0x80000000UL
  24. #elif defined(CONFIG_3GB)
  25. #define PAGE_OFFSET_RAW 0x40000000UL
  26. #endif
  27.  
  28. #endif /* ASSEMBLY */
  29.  
  30. #endif /* ASM_I386_PAGEOFFSET_H */
  31.