public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* Re: cvs commit: src/sys/contrib/dev/acpica osunixxf.c (fwd)
@ 2003-08-11 15:40 Nate Lawson
  0 siblings, 0 replies; 2+ messages in thread
From: Nate Lawson @ 2003-08-11 15:40 UTC (permalink / raw)
  To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

FYI.  I hope Intel includes this fix in next drop.

---------- Forwarded message ----------
From: Nate Lawson <njl-HZy0K5TPuP5AfugRpC6u6w@public.gmane.org>

njl         2003/08/10 22:54:31 PDT

  FreeBSD src repository

  Modified files:        (Branch: INTEL)
    sys/contrib/dev/acpica osunixxf.c
  Log:
  Fix AcpiOsMapMemory to match the function definition.  Don't use UINT32
  as a cast for a pointer.  Change has been submitted to the vendor.

  Pointed out by:         marcel, obrien

  Revision  Changes    Path
  1.1.1.3   +2 -2      src/sys/contrib/dev/acpica/osunixxf.c


--- src/sys/contrib/dev/acpica/osunixxf.c:1.1.1.2	Thu Aug  7 11:19:12 2003
+++ src/sys/contrib/dev/acpica/osunixxf.c	Sun Aug 10 22:54:31 2003
@@ -452,10 +452,10 @@
 ACPI_STATUS
 AcpiOsMapMemory (
     ACPI_PHYSICAL_ADDRESS   where,
-    UINT32                  length,
+    ACPI_SIZE               length,
     void                    **there)
 {
-    *there = (void *) (UINT32) where;
+    *there = (void *) (uintptr_t) where;

     return AE_OK;
 }


-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: cvs commit: src/sys/contrib/dev/acpica osunixxf.c (fwd)
@ 2003-08-12 15:54 Nate Lawson
  0 siblings, 0 replies; 2+ messages in thread
From: Nate Lawson @ 2003-08-12 15:54 UTC (permalink / raw)
  To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

More fixes for osunixxf.c to compile on 64 bit.  This is correct since
this file didn't match acpiosxf.h before.

---------- Forwarded message ----------
Date: Mon, 11 Aug 2003 21:56:53 -0700 (PDT)
From: Nate Lawson <njl-HZy0K5TPuP5AfugRpC6u6w@public.gmane.org>

njl         2003/08/11 21:56:45 PDT

  FreeBSD src repository

  Modified files:        (Branch: INTEL)
    sys/contrib/dev/acpica osunixxf.c
  Log:
  Fix a few more s/UINT32/ACPI_SIZE issues.  iasl and acpidb now build on
  ia64.

  Tested on:      pluto2
  Pointed out by: tinderbox

  Revision  Changes    Path
  1.1.1.4   +2 -2      src/sys/contrib/dev/acpica/osunixxf.c


--- src/sys/contrib/dev/acpica/osunixxf.c:1.1.1.3	Sun Aug 10 22:54:31 2003
+++ src/sys/contrib/dev/acpica/osunixxf.c	Mon Aug 11 21:56:45 2003
@@ -478,7 +478,7 @@
 void
 AcpiOsUnmapMemory (
     void                    *where,
-    UINT32                  length)
+    ACPI_SIZE               length)
 {

     return;
@@ -499,7 +499,7 @@

 void *
 AcpiOsAllocate (
-    UINT32                  size)
+    ACPI_SIZE               size)
 {
     void                    *Mem;


-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-08-12 15:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-08-12 15:54 cvs commit: src/sys/contrib/dev/acpica osunixxf.c (fwd) Nate Lawson
  -- strict thread matches above, loose matches on Subject: below --
2003-08-11 15:40 Nate Lawson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox