diff options
author | peter <peter@FreeBSD.org> | 2002-03-12 00:10:40 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2002-03-12 00:10:40 +0000 |
commit | e19329dfa6d09570b7202473c5b3b65556897428 (patch) | |
tree | 7dc803460b0d73b10fd59032c47ae2349b911576 /sys/dev | |
parent | 593f3e9668be4814bd58ca2155bf1f4cbd697891 (diff) | |
download | FreeBSD-src-e19329dfa6d09570b7202473c5b3b65556897428.zip FreeBSD-src-e19329dfa6d09570b7202473c5b3b65556897428.tar.gz |
Recent acpica imports have changed the lengths from UINT32 to ACPI_SIZE,
which is 64 bit on ia64. Fix it.
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/acpica/Osd/OsdMemory.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/acpica/Osd/OsdMemory.c b/sys/dev/acpica/Osd/OsdMemory.c index f43ae4d..2e65e8e 100644 --- a/sys/dev/acpica/Osd/OsdMemory.c +++ b/sys/dev/acpica/Osd/OsdMemory.c @@ -42,7 +42,7 @@ static MALLOC_DEFINE(M_ACPICA, "acpica", "ACPI CA memory pool"); void * -AcpiOsAllocate(UINT32 Size) +AcpiOsAllocate(ACPI_SIZE Size) { return(malloc(Size, M_ACPICA, M_NOWAIT)); } @@ -54,7 +54,7 @@ AcpiOsFree (void *Memory) } ACPI_STATUS -AcpiOsMapMemory (ACPI_PHYSICAL_ADDRESS PhysicalAddress, UINT32 Length, void **LogicalAddress) +AcpiOsMapMemory (ACPI_PHYSICAL_ADDRESS PhysicalAddress, ACPI_SIZE Length, void **LogicalAddress) { *LogicalAddress = pmap_mapdev((vm_offset_t)PhysicalAddress, Length); if (*LogicalAddress == NULL) @@ -63,7 +63,7 @@ AcpiOsMapMemory (ACPI_PHYSICAL_ADDRESS PhysicalAddress, UINT32 Length, void **Lo } void -AcpiOsUnmapMemory (void *LogicalAddress, UINT32 Length) +AcpiOsUnmapMemory (void *LogicalAddress, ACPI_SIZE Length) { pmap_unmapdev((vm_offset_t)LogicalAddress, Length); } |