Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | #ifndef _LINUX_BOOT_H |
| 2 | #define _LINUX_BOOT_H |
| 3 | |
| 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 | |
Vivek Goyal | e69f202 | 2006-12-07 02:14:04 +0100 | [diff] [blame] | 15 | /* Physical address where kenrel should be loaded. */ |
Vivek Goyal | dd0ec16 | 2007-01-05 16:36:30 -0800 | [diff] [blame] | 16 | #define LOAD_PHYSICAL_ADDR ((CONFIG_PHYSICAL_START \ |
| 17 | + (CONFIG_PHYSICAL_ALIGN - 1)) \ |
Vivek Goyal | e69f202 | 2006-12-07 02:14:04 +0100 | [diff] [blame] | 18 | & ~(CONFIG_PHYSICAL_ALIGN - 1)) |
| 19 | |
| 20 | #endif /* _LINUX_BOOT_H */ |