boot.h 604 B

1234567891011121314151617181920
  1. #ifndef _ASM_BOOT_H
  2. #define _ASM_BOOT_H
  3. /* Don't touch these, unless you really know what you're doing. */
  4. #define DEF_INITSEG 0x9000
  5. #define DEF_SYSSEG 0x1000
  6. #define DEF_SETUPSEG 0x9020
  7. #define DEF_SYSSIZE 0x7F00
  8. /* Internal svga startup constants */
  9. #define NORMAL_VGA 0xffff /* 80x25 mode */
  10. #define EXTENDED_VGA 0xfffe /* 80x50 mode */
  11. #define ASK_VGA 0xfffd /* ask for it at bootup */
  12. /* Physical address where kernel should be loaded. */
  13. #define LOAD_PHYSICAL_ADDR ((CONFIG_PHYSICAL_START \
  14. + (CONFIG_PHYSICAL_ALIGN - 1)) \
  15. & ~(CONFIG_PHYSICAL_ALIGN - 1))
  16. #endif /* _ASM_BOOT_H */