Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/acpi/acpica/Osd s/UINT32/ACPI_SIZE/ to match functio...



details:   https://anonhg.NetBSD.org/src/rev/ab5244503d9c
branches:  trunk
changeset: 547038:ab5244503d9c
user:      fvdl <fvdl%NetBSD.org@localhost>
date:      Sun May 11 19:08:37 2003 +0000

description:
s/UINT32/ACPI_SIZE/ to match function prototypes.

diffstat:

 sys/dev/acpi/acpica/Osd/OsdMemory.c |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (45 lines):

diff -r 8097a5fa6312 -r ab5244503d9c sys/dev/acpi/acpica/Osd/OsdMemory.c
--- a/sys/dev/acpi/acpica/Osd/OsdMemory.c       Sun May 11 19:02:45 2003 +0000
+++ b/sys/dev/acpi/acpica/Osd/OsdMemory.c       Sun May 11 19:08:37 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: OsdMemory.c,v 1.4 2003/03/05 23:00:57 christos Exp $   */
+/*     $NetBSD: OsdMemory.c,v 1.5 2003/05/11 19:08:37 fvdl Exp $       */
 
 /*
  * Copyright 2001 Wasabi Systems, Inc.
@@ -42,7 +42,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: OsdMemory.c,v 1.4 2003/03/05 23:00:57 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: OsdMemory.c,v 1.5 2003/05/11 19:08:37 fvdl Exp $");
 
 #include <sys/param.h>
 #include <sys/malloc.h>
@@ -59,7 +59,7 @@
  *     Map physical memory into the caller's address space.
  */
 ACPI_STATUS
-AcpiOsMapMemory(ACPI_PHYSICAL_ADDRESS PhysicalAddress, UINT32 Length,
+AcpiOsMapMemory(ACPI_PHYSICAL_ADDRESS PhysicalAddress, ACPI_SIZE Length,
     void **LogicalAddress)
 {
 
@@ -72,7 +72,7 @@
  *     Remove a physical to logical memory mapping.
  */
 void
-AcpiOsUnmapMemory(void *LogicalAddress, UINT32 Length)
+AcpiOsUnmapMemory(void *LogicalAddress, ACPI_SIZE Length)
 {
 
        acpi_md_OsUnmapMemory(LogicalAddress, Length);
@@ -97,7 +97,7 @@
  *     Allocate memory from the dynamic memory pool.
  */
 void *
-AcpiOsAllocate(UINT32 Size)
+AcpiOsAllocate(ACPI_SIZE Size)
 {
 
        return (malloc(Size, M_ACPI, M_NOWAIT));



Home | Main Index | Thread Index | Old Index