Skip to contentSkip to conversation

cvs commit: src/sys/contrib/dev/acpica osunixxf.c (fwd)

DISCUSSION Nate Lawson 1 participant 1 message Aug 11, 2003 ACPI

lore
Share & tools
lore
#0 lore raw

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

---------- Forwarded message ----------
From: Nate Lawson <[email protected]>

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
sys/contrib/dev/acpica/osunixxf.c renamed from sys/contrib/dev/acpica/osunixxf.c:1.1.1.2 +2 -2
@@ -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