summaryrefslogtreecommitdiffstats
path: root/sys/dev/acpica/Osd
diff options
context:
space:
mode:
authormsmith <msmith@FreeBSD.org>2002-02-23 05:31:38 +0000
committermsmith <msmith@FreeBSD.org>2002-02-23 05:31:38 +0000
commit2fc99bc1ee3be529d07a40af787eeb806cd087f4 (patch)
treec49fc17a576fd7abf42605cb3aaeaa73122826ac /sys/dev/acpica/Osd
parent2192e342502c94109082e14247e0cad3478306b8 (diff)
downloadFreeBSD-src-2fc99bc1ee3be529d07a40af787eeb806cd087f4.zip
FreeBSD-src-2fc99bc1ee3be529d07a40af787eeb806cd087f4.tar.gz
Match namespace cleanup changes in ACPI CA 20020217 update.
Diffstat (limited to 'sys/dev/acpica/Osd')
-rw-r--r--sys/dev/acpica/Osd/OsdInterrupt.c6
-rw-r--r--sys/dev/acpica/Osd/OsdSchedule.c10
-rw-r--r--sys/dev/acpica/Osd/OsdSynch.c10
3 files changed, 13 insertions, 13 deletions
diff --git a/sys/dev/acpica/Osd/OsdInterrupt.c b/sys/dev/acpica/Osd/OsdInterrupt.c
index f6a2a9c..4cad507 100644
--- a/sys/dev/acpica/Osd/OsdInterrupt.c
+++ b/sys/dev/acpica/Osd/OsdInterrupt.c
@@ -41,7 +41,7 @@
#include <dev/acpica/acpivar.h>
#define _COMPONENT ACPI_OS_SERVICES
-MODULE_NAME("INTERRUPT")
+ACPI_MODULE_NAME("INTERRUPT")
static void InterruptWrapper(void *arg);
static OSD_HANDLER InterruptHandler;
@@ -55,7 +55,7 @@ AcpiOsInstallInterruptHandler(UINT32 InterruptNumber, OSD_HANDLER ServiceRoutine
{
struct acpi_softc *sc;
- FUNCTION_TRACE(__func__);
+ ACPI_FUNCTION_TRACE(__func__);
if ((sc = devclass_get_softc(devclass_find("acpi"), 0)) == NULL)
panic("can't find ACPI device to register interrupt");
@@ -101,7 +101,7 @@ AcpiOsRemoveInterruptHandler (UINT32 InterruptNumber, OSD_HANDLER ServiceRoutine
{
struct acpi_softc *sc;
- FUNCTION_TRACE(__func__);
+ ACPI_FUNCTION_TRACE(__func__);
if ((InterruptNumber < 0) || (InterruptNumber > 255))
return_ACPI_STATUS(AE_BAD_PARAMETER);
diff --git a/sys/dev/acpica/Osd/OsdSchedule.c b/sys/dev/acpica/Osd/OsdSchedule.c
index 6a47cba..d5ba111 100644
--- a/sys/dev/acpica/Osd/OsdSchedule.c
+++ b/sys/dev/acpica/Osd/OsdSchedule.c
@@ -52,7 +52,7 @@
#include <dev/acpica/acpivar.h>
#define _COMPONENT ACPI_OS_SERVICES
-MODULE_NAME("SCHEDULE")
+ACPI_MODULE_NAME("SCHEDULE")
/*
* This is a little complicated due to the fact that we need to build and then
@@ -164,7 +164,7 @@ AcpiOsQueueForExecution(UINT32 Priority, OSD_EXECUTION_CALLBACK Function, void *
struct acpi_task *at;
int pri;
- FUNCTION_TRACE(__func__);
+ ACPI_FUNCTION_TRACE(__func__);
if (Function == NULL)
return_ACPI_STATUS(AE_BAD_PARAMETER);
@@ -207,7 +207,7 @@ AcpiOsExecuteQueue(void *arg, int pending)
OSD_EXECUTION_CALLBACK Function;
void *Context;
- FUNCTION_TRACE(__func__);
+ ACPI_FUNCTION_TRACE(__func__);
at = (struct acpi_task *)arg;
atq = NULL;
@@ -248,7 +248,7 @@ AcpiOsSleep (UINT32 Seconds, UINT32 Milliseconds)
int timo;
static int dummy;
- FUNCTION_TRACE(__func__);
+ ACPI_FUNCTION_TRACE(__func__);
timo = (Seconds * hz) + Milliseconds * hz / 1000;
if (timo == 0)
@@ -260,7 +260,7 @@ AcpiOsSleep (UINT32 Seconds, UINT32 Milliseconds)
void
AcpiOsStall (UINT32 Microseconds)
{
- FUNCTION_TRACE(__func__);
+ ACPI_FUNCTION_TRACE(__func__);
DELAY(Microseconds);
return_VOID;
diff --git a/sys/dev/acpica/Osd/OsdSynch.c b/sys/dev/acpica/Osd/OsdSynch.c
index 1d5533f..b21362a 100644
--- a/sys/dev/acpica/Osd/OsdSynch.c
+++ b/sys/dev/acpica/Osd/OsdSynch.c
@@ -41,7 +41,7 @@
#include <sys/sysctl.h>
#define _COMPONENT ACPI_OS_SERVICES
-MODULE_NAME("SYNCH")
+ACPI_MODULE_NAME("SYNCH")
static MALLOC_DEFINE(M_ACPISEM, "acpisem", "ACPI semaphore");
@@ -74,7 +74,7 @@ AcpiOsCreateSemaphore(UINT32 MaxUnits, UINT32 InitialUnits, ACPI_HANDLE *OutHand
#ifndef ACPI_NO_SEMAPHORES
struct acpi_semaphore *as;
- FUNCTION_TRACE(__func__);
+ ACPI_FUNCTION_TRACE(__func__);
if (OutHandle == NULL)
return(AE_BAD_PARAMETER);
@@ -108,7 +108,7 @@ AcpiOsDeleteSemaphore (ACPI_HANDLE Handle)
#ifndef ACPI_NO_SEMAPHORES
struct acpi_semaphore *as = (struct acpi_semaphore *)Handle;
- FUNCTION_TRACE(__func__);
+ ACPI_FUNCTION_TRACE(__func__);
ACPI_DEBUG_PRINT((ACPI_DB_MUTEX, "destroyed semaphore %p\n", as));
mtx_destroy(&as->as_mtx);
@@ -133,7 +133,7 @@ AcpiOsWaitSemaphore(ACPI_HANDLE Handle, UINT32 Units, UINT32 Timeout)
int rv, tmo;
struct timeval timeouttv, currenttv, timelefttv;
- FUNCTION_TRACE(__func__);
+ ACPI_FUNCTION_TRACE(__func__);
if (as == NULL)
return_ACPI_STATUS(AE_BAD_PARAMETER);
@@ -288,7 +288,7 @@ AcpiOsSignalSemaphore(ACPI_HANDLE Handle, UINT32 Units)
#ifndef ACPI_NO_SEMAPHORES
struct acpi_semaphore *as = (struct acpi_semaphore *)Handle;
- FUNCTION_TRACE(__func__);
+ ACPI_FUNCTION_TRACE(__func__);
if (as == NULL)
return_ACPI_STATUS(AE_BAD_PARAMETER);
OpenPOWER on IntegriCloud