From owner-p4-projects Tue Jul 16 20:50:51 2002 Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 8591937B401; Tue, 16 Jul 2002 20:50:46 -0700 (PDT) Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 429D537B400 for ; Tue, 16 Jul 2002 20:50:46 -0700 (PDT) Received: from canning.wemm.org (canning.wemm.org [192.203.228.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id EA40043E31 for ; Tue, 16 Jul 2002 20:50:45 -0700 (PDT) (envelope-from peter@wemm.org) Received: from fw.wemm.org (canning.wemm.org [192.203.228.65]) by canning.wemm.org (Postfix) with ESMTP id C309A2A7D6 for ; Tue, 16 Jul 2002 20:50:45 -0700 (PDT) (envelope-from peter@wemm.org) Received: from overcee.wemm.org (overcee.wemm.org [10.0.0.3]) by fw.wemm.org (Postfix) with ESMTP id 767944C279 for ; Tue, 16 Jul 2002 20:50:45 -0700 (PDT) (envelope-from peter@wemm.org) Received: from wemm.org (localhost [127.0.0.1]) by overcee.wemm.org (Postfix) with ESMTP id 254383811 for ; Tue, 16 Jul 2002 20:50:45 -0700 (PDT) (envelope-from peter@wemm.org) X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: Perforce Change Reviews Subject: Re: PERFORCE change 14363 for review In-Reply-To: <200207170348.g6H3m2cJ060340@freefall.freebsd.org> Date: Tue, 16 Jul 2002 20:50:45 -0700 From: Peter Wemm Message-Id: <20020717035045.254383811@overcee.wemm.org> Sender: owner-p4-projects@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I plan to do a pass over this stuff and merge as much as I can into cvs tonight. Peter Wemm wrote: > 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) > Cheers, -Peter -- Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com "All of this is for nothing if we don't go to the stars" - JMS/B5 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe p4-projects" in the body of the message