Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Jul 2002 20:48:02 -0700 (PDT)
From:      Peter Wemm <peter@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 14363 for review
Message-ID:  <200207170348.g6H3m2cJ060340@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://people.freebsd.org/~peter/p4db/chv.cgi?CH=14363

Change 14363 by peter@peter_ia64 on 2002/07/16 20:48:01

	Sometimes, I wonder if the acpica folks sit down and has a
	brainstorm session to figure out new ways to make people's
	lives hard.

Affected files ...

.. //depot/projects/ia64/sys/ia64/acpica/madt.c#9 edit

Differences ...

==== //depot/projects/ia64/sys/ia64/acpica/madt.c#9 (text+ko) ====

@@ -237,16 +237,16 @@
 static int
 parse_table(int countcpus)
 {
-	ACPI_PHYSICAL_ADDRESS	rsdp_phys;
+	ACPI_POINTER		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)

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe p4-projects" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200207170348.g6H3m2cJ060340>