diff options
author | peter <peter@FreeBSD.org> | 2002-07-17 23:17:49 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2002-07-17 23:17:49 +0000 |
commit | 64091556dc53dde17eb869c0c1d863a19555426e (patch) | |
tree | ea9779d6eccfc7b0341fddeb65f4617d92463954 /sys | |
parent | 8975b9fa9348712137a3fd0f0fd7deb29e0ac59b (diff) | |
download | FreeBSD-src-64091556dc53dde17eb869c0c1d863a19555426e.zip FreeBSD-src-64091556dc53dde17eb869c0c1d863a19555426e.tar.gz |
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.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/ia64/ia64/efi.c | 3 |
1 files changed, 2 insertions, 1 deletions
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))) |