From 64091556dc53dde17eb869c0c1d863a19555426e Mon Sep 17 00:00:00 2001 From: peter Date: Wed, 17 Jul 2002 23:17:49 +0000 Subject: Be sure to use a logical address for the SAL table. For some reason the phsysical address is still mapped at this stage of boot on the Itanium1 SDV boxes we have. But Itanium2 does *not* let us get away with this. --- sys/ia64/ia64/efi.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sys/ia64') diff --git a/sys/ia64/ia64/efi.c b/sys/ia64/ia64/efi.c index 79b9296..ab6917c 100644 --- a/sys/ia64/ia64/efi.c +++ b/sys/ia64/ia64/efi.c @@ -133,7 +133,8 @@ ia64_efi_init(void) static EFI_GUID acpi = ACPI_TABLE_GUID; static EFI_GUID acpi20 = ACPI_20_TABLE_GUID; if (!memcmp(&conf[i].VendorGuid, &sal, sizeof(EFI_GUID))) - saltab = conf[i].VendorTable; + saltab = (struct sal_system_table *) + IA64_PHYS_TO_RR7((u_int64_t) conf[i].VendorTable); if (!memcmp(&conf[i].VendorGuid, &acpi, sizeof(EFI_GUID))) ia64_efi_acpi_table = (u_int64_t) conf[i].VendorTable; if (!memcmp(&conf[i].VendorGuid, &acpi20, sizeof(EFI_GUID))) -- cgit v1.1