boot.h 718 B

1234567891011121314151617181920212223242526
  1. #ifndef _ASM_X86_BOOT_H
  2. #define _ASM_X86_BOOT_H
  3. /* Don't touch these, unless you really know what you're doing. */
  4. #define DEF_SYSSEG 0x1000
  5. #define DEF_SYSSIZE 0x7F00
  6. /* Internal svga startup constants */
  7. #define NORMAL_VGA 0xffff /* 80x25 mode */
  8. #define EXTENDED_VGA 0xfffe /* 80x50 mode */
  9. #define ASK_VGA 0xfffd /* ask for it at bootup */
  10. /* Physical address where kernel should be loaded. */
  11. #define LOAD_PHYSICAL_ADDR ((CONFIG_PHYSICAL_START \
  12. + (CONFIG_PHYSICAL_ALIGN - 1)) \
  13. & ~(CONFIG_PHYSICAL_ALIGN - 1))
  14. #ifdef CONFIG_X86_64
  15. #define BOOT_HEAP_SIZE 0x7000
  16. #define BOOT_STACK_SIZE 0x4000
  17. #else
  18. #define BOOT_HEAP_SIZE 0x4000
  19. #define BOOT_STACK_SIZE 0x1000
  20. #endif
  21. #endif /* _ASM_X86_BOOT_H */