blob: 2faed7ecb092a7893c89c573b7ac9870e060d8a7 [file] [log] [blame]
H. Peter Anvinf8c09372007-07-11 12:18:28 -07001#ifndef _ASM_BOOT_H
2#define _ASM_BOOT_H
Linus Torvalds1da177e2005-04-16 15:20:36 -07003
4/* Don't touch these, unless you really know what you're doing. */
5#define DEF_INITSEG 0x9000
6#define DEF_SYSSEG 0x1000
7#define DEF_SETUPSEG 0x9020
8#define DEF_SYSSIZE 0x7F00
9
10/* Internal svga startup constants */
11#define NORMAL_VGA 0xffff /* 80x25 mode */
12#define EXTENDED_VGA 0xfffe /* 80x50 mode */
13#define ASK_VGA 0xfffd /* ask for it at bootup */
14
Robert P. J. Daybeb7dd82007-05-09 07:14:03 +020015/* Physical address where kernel should be loaded. */
Vivek Goyaldd0ec162007-01-05 16:36:30 -080016#define LOAD_PHYSICAL_ADDR ((CONFIG_PHYSICAL_START \
17 + (CONFIG_PHYSICAL_ALIGN - 1)) \
Vivek Goyale69f2022006-12-07 02:14:04 +010018 & ~(CONFIG_PHYSICAL_ALIGN - 1))
19
Alexander van Heukelum7c539762008-04-08 12:54:30 +020020#ifdef CONFIG_X86_64
21#define BOOT_HEAP_SIZE 0x7000
22#define BOOT_STACK_SIZE 0x4000
23#else
24#define BOOT_HEAP_SIZE 0x4000
25#define BOOT_STACK_SIZE 0x1000
26#endif
27
H. Peter Anvinf8c09372007-07-11 12:18:28 -070028#endif /* _ASM_BOOT_H */