UINT32 -> uint32_t; UINT8 -> uint8_t.
This commit is contained in:
parent
fb53d8ceed
commit
75373338c1
|
@ -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>
|
||||
|
@ -190,7 +190,7 @@ enter_s4_with_bios(void)
|
|||
{
|
||||
ACPI_OBJECT_LIST ArgList;
|
||||
ACPI_OBJECT Arg;
|
||||
UINT32 ret;
|
||||
uint32_t ret;
|
||||
ACPI_STATUS status;
|
||||
|
||||
/* run the _PTS and _GTS methods */
|
||||
|
|
|
@ -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_md_OsGetRootPointer(void)
|
|||
}
|
||||
|
||||
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_md_OsRemoveInterruptHandler(void *cookie)
|
|||
|
||||
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 @@ acpi_md_OsMapMemory(ACPI_PHYSICAL_ADDRESS PhysicalAddress,
|
|||
}
|
||||
|
||||
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 @@ acpi_md_OsGetPhysicalAddress(void *LogicalAddress,
|
|||
}
|
||||
|
||||
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 @@ acpi_md_OsReadable(void *Pointer, UINT32 Length)
|
|||
}
|
||||
|
||||
BOOLEAN
|
||||
acpi_md_OsWritable(void *Pointer, UINT32 Length)
|
||||
acpi_md_OsWritable(void *Pointer, uint32_t Length)
|
||||
{
|
||||
BOOLEAN rv = FALSE;
|
||||
vaddr_t sva, eva;
|
||||
|
|
|
@ -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 @@ static ACPI_STATUS mpacpi_nonpci_intr(ACPI_SUBTABLE_HEADER *, void *);
|
|||
|
||||
#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 @@ out:
|
|||
* 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 @@ mpacpi_pcircount(struct mpacpi_pcibus *mpr)
|
|||
{
|
||||
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;
|
||||
|
|
Loading…
Reference in New Issue