summaryrefslogtreecommitdiffstats
path: root/sys/dev/acpica/Osd/OsdBusMgr.c
diff options
context:
space:
mode:
authormsmith <msmith@FreeBSD.org>2001-05-29 20:13:42 +0000
committermsmith <msmith@FreeBSD.org>2001-05-29 20:13:42 +0000
commit7996f19f432a6f4cf9a62d6121b95f412a9828bb (patch)
tree3b22869e0df2f024daec841766dd27368c33ca28 /sys/dev/acpica/Osd/OsdBusMgr.c
parentcc0ed18a81964224f46b56f81af2bc62de049ae3 (diff)
downloadFreeBSD-src-7996f19f432a6f4cf9a62d6121b95f412a9828bb.zip
FreeBSD-src-7996f19f432a6f4cf9a62d6121b95f412a9828bb.tar.gz
- Updates for new constant naming in the ACPI CA 20010518 update.
- Use __func__ instead of __FUNCTION. - Support power-off to S3 or S5 (takawata) - Enable ACPI debugging earlier (with a sysinit) - Fix a deadlock in the EC code (takawata) - Improve arithmetic and reduce the risk of spurious wakeup in AcpiOsSleep. - Add AcpiOsGetThreadId. - Simplify mutex code (still disabled).
Diffstat (limited to 'sys/dev/acpica/Osd/OsdBusMgr.c')
-rw-r--r--sys/dev/acpica/Osd/OsdBusMgr.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/sys/dev/acpica/Osd/OsdBusMgr.c b/sys/dev/acpica/Osd/OsdBusMgr.c
index 3d8e125..0ffdef3 100644
--- a/sys/dev/acpica/Osd/OsdBusMgr.c
+++ b/sys/dev/acpica/Osd/OsdBusMgr.c
@@ -37,7 +37,7 @@
#include <sys/eventhandler.h>
#include <sys/reboot.h>
-#define _COMPONENT OS_DEPENDENT
+#define _COMPONENT ACPI_OS_SERVICES
MODULE_NAME("BUSMGR")
struct osd_eventhandle {
@@ -56,7 +56,7 @@ osd_idlehandler(void *arg, int junk)
{
struct osd_eventhandle *oh = (struct osd_eventhandle *)arg;
- FUNCTION_TRACE(__FUNCTION__);
+ FUNCTION_TRACE(__func__);
oh->Function(oh->Context);
return_VOID();
@@ -67,7 +67,7 @@ osd_shutdownhandler(void *arg, int howto)
{
struct osd_eventhandle *oh = (struct osd_eventhandle *)arg;
- FUNCTION_TRACE(__FUNCTION__);
+ FUNCTION_TRACE(__func__);
oh->Function(oh->Context);
return_VOID();
@@ -78,7 +78,7 @@ AcpiOsInstallIdleHandler(OSD_IDLE_HANDLER Function, void *Context)
{
int i;
- FUNCTION_TRACE(__FUNCTION__);
+ FUNCTION_TRACE(__func__);
if (Function == NULL)
return_ACPI_STATUS(AE_BAD_PARAMETER);
@@ -99,7 +99,7 @@ AcpiOsRemoveIdleHandler(OSD_IDLE_HANDLER Function)
{
int i;
- FUNCTION_TRACE(__FUNCTION__);
+ FUNCTION_TRACE(__func__);
if (Function == NULL)
return_ACPI_STATUS(AE_BAD_PARAMETER);
@@ -122,7 +122,7 @@ AcpiOsInstallShutdownHandler(OSD_SHUTDOWN_HANDLER Function, void *Context)
{
int i;
- FUNCTION_TRACE(__FUNCTION__);
+ FUNCTION_TRACE(__func__);
if (Function == NULL)
return_ACPI_STATUS(AE_BAD_PARAMETER);
@@ -143,7 +143,7 @@ AcpiOsRemoveShutdownHandler(OSD_SHUTDOWN_HANDLER Function)
{
int i;
- FUNCTION_TRACE(__FUNCTION__);
+ FUNCTION_TRACE(__func__);
if (Function == NULL)
return_ACPI_STATUS(AE_BAD_PARAMETER);
@@ -160,7 +160,7 @@ AcpiOsRemoveShutdownHandler(OSD_SHUTDOWN_HANDLER Function)
ACPI_STATUS
AcpiOsShutdown (void)
{
- FUNCTION_TRACE(__FUNCTION__);
+ FUNCTION_TRACE(__func__);
shutdown_nice(0);
return_VOID();
OpenPOWER on IntegriCloud