summaryrefslogtreecommitdiffstats
path: root/sys/ia64/acpica
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2002-07-17 23:14:41 +0000
committerpeter <peter@FreeBSD.org>2002-07-17 23:14:41 +0000
commit8975b9fa9348712137a3fd0f0fd7deb29e0ac59b (patch)
treec27728906f5db09282b599174a49c69d895be04c /sys/ia64/acpica
parentddac48a07caa2742d60cb8ea4b1597b52c563075 (diff)
downloadFreeBSD-src-8975b9fa9348712137a3fd0f0fd7deb29e0ac59b.zip
FreeBSD-src-8975b9fa9348712137a3fd0f0fd7deb29e0ac59b.tar.gz
Update for new ACPICA import. Gah.
Diffstat (limited to 'sys/ia64/acpica')
-rw-r--r--sys/ia64/acpica/madt.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/ia64/acpica/madt.c b/sys/ia64/acpica/madt.c
index d827311..b739eb1 100644
--- a/sys/ia64/acpica/madt.c
+++ b/sys/ia64/acpica/madt.c
@@ -237,16 +237,16 @@ parse_madt(APIC_TABLE *madt, int countcpus)
static int
parse_table(int countcpus)
{
- ACPI_PHYSICAL_ADDRESS rsdp_phys;
+ ACPI_PTR rsdp_ptr;
RSDP_DESCRIPTOR *rsdp;
XSDT_DESCRIPTOR *xsdt;
ACPI_TABLE_HEADER *table;
int i, count;
- if (AcpiOsGetRootPointer(0, &rsdp_phys) != AE_OK)
+ if (AcpiOsGetRootPointer(ACPI_LOGICAL_ADDRESSING, &rsdp_ptr) != AE_OK)
return 0;
- rsdp = (RSDP_DESCRIPTOR *)IA64_PHYS_TO_RR7(rsdp_phys);
+ rsdp = (RSDP_DESCRIPTOR *)IA64_PHYS_TO_RR7(rsdp_ptr.Pointer.Physical);
xsdt = (XSDT_DESCRIPTOR *)IA64_PHYS_TO_RR7(rsdp->XsdtPhysicalAddress);
count = (UINT64 *)((char *)xsdt + xsdt->Header.Length)
OpenPOWER on IntegriCloud