Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 08 Aug 2003 17:49:19 -0400 (EDT)
From:      John Baldwin <jhb@FreeBSD.org>
To:        "David O'Brien" <obrien@FreeBSD.org>
Cc:        cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/contrib/dev/acpica/compiler - Imported sources
Message-ID:  <XFMail.20030808174919.jhb@FreeBSD.org>
In-Reply-To: <20030808212908.GA47995@dragon.nuxi.com>

next in thread | previous in thread | raw e-mail | index | archive | help

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@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/



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