Vegard Nossum | 77ef50a | 2008-06-18 17:08:48 +0200 | [diff] [blame] | 1 | #ifndef ASM_X86__BOOT_H |
| 2 | #define ASM_X86__BOOT_H |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 3 | |
| 4 | /* Don't touch these, unless you really know what you're doing. */ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 5 | #define DEF_SYSSEG 0x1000 |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 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 | |
Robert P. J. Day | beb7dd8 | 2007-05-09 07:14:03 +0200 | [diff] [blame] | 13 | /* Physical address where kernel should be loaded. */ |
Vivek Goyal | dd0ec16 | 2007-01-05 16:36:30 -0800 | [diff] [blame] | 14 | #define LOAD_PHYSICAL_ADDR ((CONFIG_PHYSICAL_START \ |
| 15 | + (CONFIG_PHYSICAL_ALIGN - 1)) \ |
Vivek Goyal | e69f202 | 2006-12-07 02:14:04 +0100 | [diff] [blame] | 16 | & ~(CONFIG_PHYSICAL_ALIGN - 1)) |
| 17 | |
Alexander van Heukelum | 7c53976 | 2008-04-08 12:54:30 +0200 | [diff] [blame] | 18 | #ifdef CONFIG_X86_64 |
| 19 | #define BOOT_HEAP_SIZE 0x7000 |
| 20 | #define BOOT_STACK_SIZE 0x4000 |
| 21 | #else |
| 22 | #define BOOT_HEAP_SIZE 0x4000 |
| 23 | #define BOOT_STACK_SIZE 0x1000 |
| 24 | #endif |
| 25 | |
Vegard Nossum | 77ef50a | 2008-06-18 17:08:48 +0200 | [diff] [blame] | 26 | #endif /* ASM_X86__BOOT_H */ |