[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@hp.com>
This commit is contained in:
awilliam@xenbuild.aw committed 2006-06-09 10:35:41 -06:00
1 parent 58e5a0227d
commit 94de02679f
1 file changed
+6
+6
View File
@@ -413,6 +413,8 @@ dom_fw_dom0_passthrough(efi_memory_desc_t *md, void *arg__)
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 char *args, int arglen, char *fw_mem, int f
#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,
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.