1 #ifndef _ASM_X86_BOOT_H 2 #define _ASM_X86_BOOT_H 3 4 /* Internal svga startup constants */ 5 #define NORMAL_VGA 0xffff /* 80x25 mode */ 6 #define EXTENDED_VGA 0xfffe /* 80x50 mode */ 7 #define ASK_VGA 0xfffd /* ask for it at bootup */ 8 9 #ifdef __KERNEL__ 10 11 /* Physical address where kernel should be loaded. */ 12 #define LOAD_PHYSICAL_ADDR ((CONFIG_PHYSICAL_START \ 13 + (CONFIG_PHYSICAL_ALIGN - 1)) \ 14 & ~(CONFIG_PHYSICAL_ALIGN - 1)) 15 16 #ifdef CONFIG_KERNEL_BZIP2 17 #define BOOT_HEAP_SIZE 0x400000 18 #else /* !CONFIG_KERNEL_BZIP2 */ 19 20 #ifdef CONFIG_X86_64 21 #define BOOT_HEAP_SIZE 0x7000 22 #else 23 #define BOOT_HEAP_SIZE 0x4000 24 #endif 25 26 #endif /* !CONFIG_KERNEL_BZIP2 */ 27 28 #ifdef CONFIG_X86_64 29 #define BOOT_STACK_SIZE 0x4000 30 #else 31 #define BOOT_STACK_SIZE 0x1000 32 #endif 33 34 #endif /* __KERNEL__ */ 35 36 #endif /* _ASM_X86_BOOT_H */ 37