cvs commit: src/sys/contrib/dev/acpica/compiler - Imported sources

John Baldwin jhb at FreeBSD.org
Fri Aug 8 14:49:13 PDT 2003


On 08-Aug-2003 David O'Brien wrote:
> On Thu, Aug 07, 2003 at 09:38:32AM -0700, Nate Lawson wrote:
>> njl         2003/08/07 09:38:32 PDT
>> 
>>   FreeBSD src repository
>> 
>>   src/sys/contrib/dev/acpica/compiler - Imported sources
>>   Update of /home/ncvs/src/sys/contrib/dev/acpica/compiler
>>   In directory repoman.freebsd.org:/tmp/cvs-serv97535
>>   
>>   Log Message:
>>   Import compiler/ files from acpica 0619
>>   
>>   Status:
>>   
>>   Vendor Tag:        INTEL
>>   Release Tags:      r20030619
> 
> Please see about commiting this fix somehow.  This import broke the AMD64
> build because ACPI_SIZE != unsigned int everywhere.
> 
> Index: osunixxf.c
> ===================================================================
> RCS file: /home/ncvs/src/sys/contrib/dev/acpica/osunixxf.c,v
> retrieving revision 1.1.1.2
> diff -u -r1.1.1.2 osunixxf.c
> --- osunixxf.c        7 Aug 2003 18:19:12 -0000       1.1.1.2
> +++ osunixxf.c        8 Aug 2003 21:27:12 -0000
> @@ -452,7 +452,7 @@
>  ACPI_STATUS
>  AcpiOsMapMemory (
>      ACPI_PHYSICAL_ADDRESS   where,
> -    UINT32                  length,
> +    ACPI_SIZE               length,
>      void                    **there)
>  {
>      *there = (void *) (UINT32) where;

Should probably fix that cast as well so your address doesn't
get truncated.

-- 

John Baldwin <jhb at FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/


More information about the cvs-src mailing list