OMAP: Add new function to check wether there is irq pending
[linux-ginger.git] / arch / x86 / include / asm / boot.h
blob6ba23dd9fc9216de96b9cb52d1954b9bb7ae2b99
1 #ifndef _ASM_X86_BOOT_H
2 #define _ASM_X86_BOOT_H
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 */
9 #ifdef __KERNEL__
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))
16 #ifdef CONFIG_KERNEL_BZIP2
17 #define BOOT_HEAP_SIZE 0x400000
18 #else /* !CONFIG_KERNEL_BZIP2 */
20 #ifdef CONFIG_X86_64
21 #define BOOT_HEAP_SIZE 0x7000
22 #else
23 #define BOOT_HEAP_SIZE 0x4000
24 #endif
26 #endif /* !CONFIG_KERNEL_BZIP2 */
28 #ifdef CONFIG_X86_64
29 #define BOOT_STACK_SIZE 0x4000
30 #else
31 #define BOOT_STACK_SIZE 0x1000
32 #endif
34 #endif /* __KERNEL__ */
36 #endif /* _ASM_X86_BOOT_H */