Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Jul 2002 20:50:45 -0700
From:      Peter Wemm <peter@wemm.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   Re: PERFORCE change 14363 for review 
Message-ID:  <20020717035045.254383811@overcee.wemm.org>
In-Reply-To: <200207170348.g6H3m2cJ060340@freefall.freebsd.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
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




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