Go to the documentation of this file. 1 #ifndef _ASM_X86_BOOT_H
2 #define _ASM_X86_BOOT_H
5 #define NORMAL_VGA 0xffff
6 #define EXTENDED_VGA 0xfffe
14 #define LOAD_PHYSICAL_ADDR ((CONFIG_PHYSICAL_START \
15 + (CONFIG_PHYSICAL_ALIGN - 1)) \
16 & ~(CONFIG_PHYSICAL_ALIGN - 1))
20 #define MIN_KERNEL_ALIGN_LG2 PMD_SHIFT
22 #define MIN_KERNEL_ALIGN_LG2 (PAGE_SHIFT + THREAD_SIZE_ORDER)
24 #define MIN_KERNEL_ALIGN (_AC(1, UL) << MIN_KERNEL_ALIGN_LG2)
26 #if (CONFIG_PHYSICAL_ALIGN & (CONFIG_PHYSICAL_ALIGN-1)) || \
27 (CONFIG_PHYSICAL_ALIGN < MIN_KERNEL_ALIGN)
28 #error "Invalid value for CONFIG_PHYSICAL_ALIGN"
31 #ifdef CONFIG_KERNEL_BZIP2
32 #define BOOT_HEAP_SIZE 0x400000
35 #define BOOT_HEAP_SIZE 0x8000
40 #define BOOT_STACK_SIZE 0x4000
42 #define BOOT_STACK_SIZE 0x1000