Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/x86 UINT32 -> uint32_t; UINT8 -> uint8_t.



details:   https://anonhg.NetBSD.org/src/rev/e5dc848a56f7
branches:  trunk
changeset: 753970:e5dc848a56f7
user:      jruoho <jruoho%NetBSD.org@localhost>
date:      Wed Apr 14 19:32:35 2010 +0000

description:
UINT32 -> uint32_t; UINT8 -> uint8_t.

diffstat:

 sys/arch/x86/acpi/acpi_wakeup.c |   6 +++---
 sys/arch/x86/x86/acpi_machdep.c |  14 +++++++-------
 sys/arch/x86/x86/mpacpi.c       |  10 +++++-----
 3 files changed, 15 insertions(+), 15 deletions(-)

diffs (135 lines):

diff -r 2e6dd279c46f -r e5dc848a56f7 sys/arch/x86/acpi/acpi_wakeup.c
--- a/sys/arch/x86/acpi/acpi_wakeup.c   Wed Apr 14 19:27:28 2010 +0000
+++ b/sys/arch/x86/acpi/acpi_wakeup.c   Wed Apr 14 19:32:35 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: acpi_wakeup.c,v 1.22 2010/04/11 09:52:09 jruoho Exp $  */
+/*     $NetBSD: acpi_wakeup.c,v 1.23 2010/04/14 19:32:35 jruoho Exp $  */
 
 /*-
  * Copyright (c) 2002 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: acpi_wakeup.c,v 1.22 2010/04/11 09:52:09 jruoho Exp $");
+__KERNEL_RCSID(0, "$NetBSD: acpi_wakeup.c,v 1.23 2010/04/14 19:32:35 jruoho Exp $");
 
 /*-
  * Copyright (c) 2001 Takanori Watanabe <takawata%jp.freebsd.org@localhost>
@@ -190,7 +190,7 @@
 {
        ACPI_OBJECT_LIST        ArgList;
        ACPI_OBJECT             Arg;
-       UINT32                  ret;
+       uint32_t                ret;
        ACPI_STATUS             status;
 
        /* run the _PTS and _GTS methods */
diff -r 2e6dd279c46f -r e5dc848a56f7 sys/arch/x86/x86/acpi_machdep.c
--- a/sys/arch/x86/x86/acpi_machdep.c   Wed Apr 14 19:27:28 2010 +0000
+++ b/sys/arch/x86/x86/acpi_machdep.c   Wed Apr 14 19:32:35 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: acpi_machdep.c,v 1.25 2009/08/18 16:41:03 jmcneill Exp $       */
+/*     $NetBSD: acpi_machdep.c,v 1.26 2010/04/14 19:32:35 jruoho Exp $ */
 
 /*
  * Copyright 2001 Wasabi Systems, Inc.
@@ -40,7 +40,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: acpi_machdep.c,v 1.25 2009/08/18 16:41:03 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: acpi_machdep.c,v 1.26 2010/04/14 19:32:35 jruoho Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -102,7 +102,7 @@
 }
 
 ACPI_STATUS
-acpi_md_OsInstallInterruptHandler(UINT32 InterruptNumber,
+acpi_md_OsInstallInterruptHandler(uint32_t InterruptNumber,
     ACPI_OSD_HANDLER ServiceRoutine, void *Context, void **cookiep)
 {
        void *ih;
@@ -190,7 +190,7 @@
 
 ACPI_STATUS
 acpi_md_OsMapMemory(ACPI_PHYSICAL_ADDRESS PhysicalAddress,
-    UINT32 Length, void **LogicalAddress)
+    uint32_t Length, void **LogicalAddress)
 {
 
        if (_x86_memio_map(X86_BUS_SPACE_MEM, PhysicalAddress, Length,
@@ -201,7 +201,7 @@
 }
 
 void
-acpi_md_OsUnmapMemory(void *LogicalAddress, UINT32 Length)
+acpi_md_OsUnmapMemory(void *LogicalAddress, uint32_t Length)
 {
 
        (void) _x86_memio_unmap(X86_BUS_SPACE_MEM,
@@ -223,7 +223,7 @@
 }
 
 BOOLEAN
-acpi_md_OsReadable(void *Pointer, UINT32 Length)
+acpi_md_OsReadable(void *Pointer, uint32_t Length)
 {
        BOOLEAN rv = TRUE;
        vaddr_t sva, eva;
@@ -247,7 +247,7 @@
 }
 
 BOOLEAN
-acpi_md_OsWritable(void *Pointer, UINT32 Length)
+acpi_md_OsWritable(void *Pointer, uint32_t Length)
 {
        BOOLEAN rv = FALSE;
        vaddr_t sva, eva;
diff -r 2e6dd279c46f -r e5dc848a56f7 sys/arch/x86/x86/mpacpi.c
--- a/sys/arch/x86/x86/mpacpi.c Wed Apr 14 19:27:28 2010 +0000
+++ b/sys/arch/x86/x86/mpacpi.c Wed Apr 14 19:32:35 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mpacpi.c,v 1.85 2010/04/08 04:40:51 jruoho Exp $       */
+/*     $NetBSD: mpacpi.c,v 1.86 2010/04/14 19:32:35 jruoho Exp $       */
 
 /*
  * Copyright (c) 2003 Wasabi Systems, Inc.
@@ -36,7 +36,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: mpacpi.c,v 1.85 2010/04/08 04:40:51 jruoho Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mpacpi.c,v 1.86 2010/04/14 19:32:35 jruoho Exp $");
 
 #include "acpica.h"
 #include "opt_acpi.h"
@@ -112,7 +112,7 @@
 
 #if NPCI > 0
 /* Callbacks for the ACPI namespace walk */
-static ACPI_STATUS mpacpi_pcibus_cb(ACPI_HANDLE, UINT32, void *, void **);
+static ACPI_STATUS mpacpi_pcibus_cb(ACPI_HANDLE, uint32_t, void *, void **);
 static int mpacpi_derive_bus(ACPI_HANDLE, struct acpi_softc *);
 
 static int mpacpi_pcircount(struct mpacpi_pcibus *);
@@ -689,7 +689,7 @@
  * PCI root and subordinate busses.
  */
 static ACPI_STATUS
-mpacpi_pcibus_cb(ACPI_HANDLE handle, UINT32 level, void *p,
+mpacpi_pcibus_cb(ACPI_HANDLE handle, uint32_t level, void *p,
     void **status)
 {
        ACPI_STATUS rv;
@@ -901,7 +901,7 @@
 {
        int count = 0;
        ACPI_PCI_ROUTING_TABLE *PrtElement;
-       UINT8 *Buffer;
+       uint8_t *Buffer;
 
        for (Buffer = mpr->mpr_buf.Pointer;; Buffer += PrtElement->Length) {
                PrtElement = (ACPI_PCI_ROUTING_TABLE *)Buffer;



Home | Main Index | Thread Index | Old Index