xen: Add PVH specific defines to offset.h
include/grub/offsets.h needs some defines for Xen PVH mode. Add them. While at it line up the values in the surrounding lines to start at the same column. Signed-off-by: Juergen Gross <jgross@suse.com> Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com> Tested-by: Hans van Kranenburg <hans@knorrie.org>
This commit is contained in:
parent
3b8d09c774
commit
53a92dea8b
1 changed files with 12 additions and 9 deletions
|
@ -39,6 +39,7 @@
|
|||
#define GRUB_BOOT_I386_PC_KERNEL_SEG 0x800
|
||||
|
||||
#define GRUB_KERNEL_I386_PC_LINK_ADDR 0x9000
|
||||
#define GRUB_KERNEL_I386_XEN_PVH_LINK_ADDR 0x100000
|
||||
|
||||
/* The upper memory area (starting at 640 kiB). */
|
||||
#define GRUB_MEMORY_I386_PC_UPPER 0xa0000
|
||||
|
@ -102,10 +103,12 @@
|
|||
|
||||
#define GRUB_KERNEL_X86_64_XEN_MOD_ALIGN 0x8
|
||||
#define GRUB_KERNEL_I386_XEN_MOD_ALIGN 0x8
|
||||
#define GRUB_KERNEL_I386_XEN_PVH_MOD_ALIGN 0x8
|
||||
|
||||
/* Non-zero value is only needed for PowerMacs. */
|
||||
#define GRUB_KERNEL_X86_64_XEN_MOD_GAP 0x0
|
||||
#define GRUB_KERNEL_I386_XEN_MOD_GAP 0x0
|
||||
#define GRUB_KERNEL_I386_XEN_PVH_MOD_GAP 0x0
|
||||
#define GRUB_KERNEL_I386_IEEE1275_MOD_GAP 0x0
|
||||
#define GRUB_KERNEL_I386_COREBOOT_MOD_GAP 0x0
|
||||
#define GRUB_KERNEL_SPARC64_IEEE1275_MOD_GAP 0x0
|
||||
|
|
Loading…
Reference in a new issue