diff options
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 313f64e582f6e..6ca0dbee87144 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); } |