diff options
author | jkim <jkim@FreeBSD.org> | 2005-11-01 22:11:18 +0000 |
---|---|---|
committer | jkim <jkim@FreeBSD.org> | 2005-11-01 22:11:18 +0000 |
commit | 5f6a2493ddea1cf36a4dcd58b865c4148427e0a2 (patch) | |
tree | 4450b2c84d749dd8a8425a8feb88b084809f6ef0 /sys/contrib/dev/acpica/osunixxf.c | |
parent | 50133a977cb75b3f52603d4b351a8cf45bb556c8 (diff) | |
download | FreeBSD-src-5f6a2493ddea1cf36a4dcd58b865c4148427e0a2.zip FreeBSD-src-5f6a2493ddea1cf36a4dcd58b865c4148427e0a2.tar.gz |
Vendor import of Intel ACPI-CA 20051021
Diffstat (limited to 'sys/contrib/dev/acpica/osunixxf.c')
-rw-r--r-- | sys/contrib/dev/acpica/osunixxf.c | 20 |
1 files changed, 6 insertions, 14 deletions
diff --git a/sys/contrib/dev/acpica/osunixxf.c b/sys/contrib/dev/acpica/osunixxf.c index 28894a8..18197d7 100644 --- a/sys/contrib/dev/acpica/osunixxf.c +++ b/sys/contrib/dev/acpica/osunixxf.c @@ -8,7 +8,7 @@ * * 1. Copyright Notice * - * Some or all of this work - Copyright (c) 1999 - 2004, Intel Corp. + * Some or all of this work - Copyright (c) 1999 - 2005, Intel Corp. * All rights reserved. * * 2. License @@ -185,15 +185,7 @@ AcpiOsGetRootPointer ( ACPI_POINTER *Address) { -#if 0 - /* The supporting code for this is not yet available. - * Return to the old situation for now. - */ return (AeLocalGetRootPointer(Flags, Address)); -#else - return (AE_OK); -#endif - } @@ -254,7 +246,7 @@ AcpiOsTableOverride ( *NewTable = NULL; -#ifdef _ACPI_EXEC_APP +#ifdef ACPI_EXEC_APP /* This code exercises the table override mechanism in the core */ @@ -672,19 +664,19 @@ AcpiOsDeleteLock ( } -void +ACPI_NATIVE_UINT AcpiOsAcquireLock ( - ACPI_HANDLE Handle, - UINT32 Flags) + ACPI_HANDLE Handle) { AcpiOsWaitSemaphore (Handle, 1, 0xFFFF); + return (0); } void AcpiOsReleaseLock ( ACPI_HANDLE Handle, - UINT32 Flags) + ACPI_NATIVE_UINT Flags) { AcpiOsSignalSemaphore (Handle, 1); } |