diff options
author | Jung-uk Kim <jkim@FreeBSD.org> | 2017-11-10 17:54:38 +0000 |
---|---|---|
committer | Jung-uk Kim <jkim@FreeBSD.org> | 2017-11-10 17:54:38 +0000 |
commit | e692a0ddd0131f04acfda4c63b1a4c0c805feef5 (patch) | |
tree | 5c1c811fa437c871de8d5ea5d7a22ed7ed40b725 /source/tools/examples/examples.c | |
parent | 2c673001fb88105f2d160032c4d4b76cb518e37f (diff) |
Notes
Diffstat (limited to 'source/tools/examples/examples.c')
-rw-r--r-- | source/tools/examples/examples.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/source/tools/examples/examples.c b/source/tools/examples/examples.c index 313f64e582f6..6ca0dbee8714 100644 --- a/source/tools/examples/examples.c +++ b/source/tools/examples/examples.c @@ -212,9 +212,6 @@ RegionInit ( static void ExecuteMAIN (void); -static void -ExecuteOSI (void); - ACPI_STATUS InitializeAcpiTables ( void); @@ -263,7 +260,7 @@ main ( ACPI_EXCEPTION ((AE_INFO, AE_AML_OPERAND_TYPE, "Example ACPICA exception message")); - ExecuteOSI (); + ExecuteOSI (NULL, 0); ExecuteMAIN (); return (0); } @@ -540,8 +537,10 @@ InstallHandlers (void) * *****************************************************************************/ -static void -ExecuteOSI (void) +ACPI_STATUS +ExecuteOSI ( + char *OsiString, + UINT64 ExpectedResult) { ACPI_STATUS Status; ACPI_OBJECT_LIST ArgList; @@ -569,7 +568,7 @@ ExecuteOSI (void) if (ACPI_FAILURE (Status)) { ACPI_EXCEPTION ((AE_INFO, Status, "While executing _OSI")); - return; + return (AE_OK); } /* Ensure that the return object is large enough */ @@ -598,6 +597,7 @@ ErrorExit: /* Free a buffer created via ACPI_ALLOCATE_BUFFER */ AcpiOsFree (ReturnValue.Pointer); + return (AE_OK); } |