x86: headers cleanup - boot.h
[linux-2.6] / arch / x86 / include / asm / boot.h
1 #ifndef _ASM_X86_BOOT_H
2 #define _ASM_X86_BOOT_H
3
4 /* Don't touch these, unless you really know what you're doing. */
5 #define DEF_SYSSEG      0x1000
6 #define DEF_SYSSIZE     0x7F00
7
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
13 #ifdef __KERNEL__
14
15 /* Physical address where kernel should be loaded. */
16 #define LOAD_PHYSICAL_ADDR ((CONFIG_PHYSICAL_START \
17                                 + (CONFIG_PHYSICAL_ALIGN - 1)) \
18                                 & ~(CONFIG_PHYSICAL_ALIGN - 1))
19
20 #ifdef CONFIG_KERNEL_BZIP2
21 #define BOOT_HEAP_SIZE             0x400000
22 #else /* !CONFIG_KERNEL_BZIP2 */
23
24 #ifdef CONFIG_X86_64
25 #define BOOT_HEAP_SIZE  0x7000
26 #else
27 #define BOOT_HEAP_SIZE  0x4000
28 #endif
29
30 #endif /* !CONFIG_KERNEL_BZIP2 */
31
32 #ifdef CONFIG_X86_64
33 #define BOOT_STACK_SIZE 0x4000
34 #else
35 #define BOOT_STACK_SIZE 0x1000
36 #endif
37
38 #endif /* __KERNEL__ */
39
40 #endif /* _ASM_X86_BOOT_H */