xref: /kvmtool/x86/include/kvm/boot-protocol.h (revision af7b08685968ff8f6ffdf5cac1ef067688bce8c6)
1*b3594ec7SCyrill Gorcunov /*
2*b3594ec7SCyrill Gorcunov  * Linux boot protocol specifics
3*b3594ec7SCyrill Gorcunov  */
4*b3594ec7SCyrill Gorcunov 
5*b3594ec7SCyrill Gorcunov #ifndef BOOT_PROTOCOL_H_
6*b3594ec7SCyrill Gorcunov #define BOOT_PROTOCOL_H_
7*b3594ec7SCyrill Gorcunov 
8*b3594ec7SCyrill Gorcunov /*
9*b3594ec7SCyrill Gorcunov  * The protected mode kernel part of a modern bzImage is loaded
10*b3594ec7SCyrill Gorcunov  * at 1 MB by default.
11*b3594ec7SCyrill Gorcunov  */
12*b3594ec7SCyrill Gorcunov #define BZ_DEFAULT_SETUP_SECTS		4
13*b3594ec7SCyrill Gorcunov #define BZ_KERNEL_START			0x100000UL
14*b3594ec7SCyrill Gorcunov #define INITRD_START			0x1000000UL
15*b3594ec7SCyrill Gorcunov 
16*b3594ec7SCyrill Gorcunov #endif /* BOOT_PROTOCOL_H_ */
17