diff options
author | jkim <jkim@FreeBSD.org> | 2013-07-26 18:20:00 +0000 |
---|---|---|
committer | jkim <jkim@FreeBSD.org> | 2013-07-26 18:20:00 +0000 |
commit | 8e9a373708032aaf58694e237e3889d7d3fd796f (patch) | |
tree | e05da15a04629f6e36af5ca6c81a2efda47a9dc3 /source/components/utilities/utxface.c | |
parent | 7aca7201724cb02a2a0541bd3ad2c0aca23dd076 (diff) | |
download | FreeBSD-src-8e9a373708032aaf58694e237e3889d7d3fd796f.zip FreeBSD-src-8e9a373708032aaf58694e237e3889d7d3fd796f.tar.gz |
Import ACPICA 20130725.
Diffstat (limited to 'source/components/utilities/utxface.c')
-rw-r--r-- | source/components/utilities/utxface.c | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/source/components/utilities/utxface.c b/source/components/utilities/utxface.c index 4506980..021a462 100644 --- a/source/components/utilities/utxface.c +++ b/source/components/utilities/utxface.c @@ -499,6 +499,40 @@ ACPI_EXPORT_SYMBOL (AcpiInstallInterfaceHandler) /***************************************************************************** * + * FUNCTION: AcpiUpdateInterfaces + * + * PARAMETERS: Action - Actions to be performed during the + * update + * + * RETURN: Status + * + * DESCRIPTION: Update _OSI interface strings, disabling or enabling OS vendor + * string or/and feature group strings. + * + ****************************************************************************/ + +ACPI_STATUS +AcpiUpdateInterfaces ( + UINT8 Action) +{ + ACPI_STATUS Status; + + + Status = AcpiOsAcquireMutex (AcpiGbl_OsiMutex, ACPI_WAIT_FOREVER); + if (ACPI_FAILURE (Status)) + { + return (Status); + } + + Status = AcpiUtUpdateInterfaces (Action); + + AcpiOsReleaseMutex (AcpiGbl_OsiMutex); + return (Status); +} + + +/***************************************************************************** + * * FUNCTION: AcpiCheckAddressRange * * PARAMETERS: SpaceId - Address space ID |