# HG changeset patch
# User awilliam@xxxxxxxxxxx
# Node ID 6fdafeeb88bb70674704ebf63bb2b983106a96a9
# Parent d5adbcbb7492bbdcd250065bcb5e96f68e23eeb6
[IA64] passthrough EFI_ACPI_MEMORY_NVS and EFI_RESERVED_TYPE
According to the EFI spec, firmware may describe ACPI tables loaded
at runtime in EFI_RESERVED_TYPE or EFI_ACPI_MEMORY_NVS memory ranges.
This patch adds these to the list of memory types we pass through for
dom0. This allows Xen to boot on HP Superdomes.
Signed-off-by: Alex Williamson <alex.williamson@xxxxxx>
---
xen/arch/ia64/xen/dom_fw.c | 6 ++++++
1 files changed, 6 insertions(+)
diff -r d5adbcbb7492 -r 6fdafeeb88bb xen/arch/ia64/xen/dom_fw.c
--- a/xen/arch/ia64/xen/dom_fw.c Fri Jun 09 10:35:40 2006 -0600
+++ b/xen/arch/ia64/xen/dom_fw.c Fri Jun 09 10:35:41 2006 -0600
@@ -413,6 +413,8 @@ dom_fw_dom0_passthrough(efi_memory_desc_
BUG_ON(md->type != EFI_RUNTIME_SERVICES_CODE &&
md->type != EFI_RUNTIME_SERVICES_DATA &&
md->type != EFI_ACPI_RECLAIM_MEMORY &&
+ md->type != EFI_ACPI_MEMORY_NVS &&
+ md->type != EFI_RESERVED_TYPE &&
md->type != EFI_MEMORY_MAPPED_IO &&
md->type != EFI_MEMORY_MAPPED_IO_PORT_SPACE);
@@ -748,6 +750,10 @@ dom_fw_init (struct domain *d, const cha
#endif
efi_memmap_walk_type(EFI_ACPI_RECLAIM_MEMORY,
dom_fw_dom0_passthrough, &arg);
+ efi_memmap_walk_type(EFI_ACPI_MEMORY_NVS,
+ dom_fw_dom0_passthrough, &arg);
+ efi_memmap_walk_type(EFI_RESERVED_TYPE,
+ dom_fw_dom0_passthrough, &arg);
efi_memmap_walk_type(EFI_MEMORY_MAPPED_IO,
dom_fw_dom0_passthrough, &arg);
efi_memmap_walk_type(EFI_MEMORY_MAPPED_IO_PORT_SPACE,
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|