summaryrefslogtreecommitdiff
path: root/source/components/executer
diff options
context:
space:
mode:
authorJung-uk Kim <jkim@FreeBSD.org>2016-11-17 18:06:08 +0000
committerJung-uk Kim <jkim@FreeBSD.org>2016-11-17 18:06:08 +0000
commita56e3c255d5c5dfa4dd3a2fda4705a1607a6b7f3 (patch)
tree830d95042126506cd52440fe9710bb4e6811cfde /source/components/executer
parent7600ac2283596bd000a29b9347e95346d3b740d7 (diff)
Notes
Diffstat (limited to 'source/components/executer')
-rw-r--r--source/components/executer/exconfig.c40
-rw-r--r--source/components/executer/exconvrt.c1
-rw-r--r--source/components/executer/exresop.c1
3 files changed, 2 insertions, 40 deletions
diff --git a/source/components/executer/exconfig.c b/source/components/executer/exconfig.c
index c17beab9961c..f49b0a9fa9bb 100644
--- a/source/components/executer/exconfig.c
+++ b/source/components/executer/exconfig.c
@@ -480,7 +480,7 @@ AcpiExLoadOp (
ACPI_INFO (("Dynamic OEM Table Load:"));
AcpiExExitInterpreter ();
- Status = AcpiTbInstallAndLoadTable (Table, ACPI_PTR_TO_PHYSADDR (Table),
+ Status = AcpiTbInstallAndLoadTable (ACPI_PTR_TO_PHYSADDR (Table),
ACPI_TABLE_ORIGIN_INTERNAL_VIRTUAL, TRUE, &TableIndex);
AcpiExEnterInterpreter ();
if (ACPI_FAILURE (Status))
@@ -545,7 +545,6 @@ AcpiExUnloadTable (
ACPI_STATUS Status = AE_OK;
ACPI_OPERAND_OBJECT *TableDesc = DdbHandle;
UINT32 TableIndex;
- ACPI_TABLE_HEADER *Table;
ACPI_FUNCTION_TRACE (ExUnloadTable);
@@ -586,42 +585,7 @@ AcpiExUnloadTable (
* strict order requirement against it.
*/
AcpiExExitInterpreter ();
-
- /* Ensure the table is still loaded */
-
- if (!AcpiTbIsTableLoaded (TableIndex))
- {
- Status = AE_NOT_EXIST;
- goto LockAndExit;
- }
-
- /* Invoke table handler if present */
-
- if (AcpiGbl_TableHandler)
- {
- Status = AcpiGetTableByIndex (TableIndex, &Table);
- if (ACPI_SUCCESS (Status))
- {
- (void) AcpiGbl_TableHandler (ACPI_TABLE_EVENT_UNLOAD, Table,
- AcpiGbl_TableHandlerContext);
- }
- }
-
- /* Delete the portion of the namespace owned by this table */
-
- Status = AcpiTbDeleteNamespaceByOwner (TableIndex);
- if (ACPI_FAILURE (Status))
- {
- goto LockAndExit;
- }
-
- (void) AcpiTbReleaseOwnerId (TableIndex);
- AcpiTbSetTableLoadedFlag (TableIndex, FALSE);
-
-LockAndExit:
-
- /* Re-acquire the interpreter lock */
-
+ Status = AcpiTbUnloadTable (TableIndex);
AcpiExEnterInterpreter ();
/*
diff --git a/source/components/executer/exconvrt.c b/source/components/executer/exconvrt.c
index 5e0f5499aa4a..ddbcc46b5b91 100644
--- a/source/components/executer/exconvrt.c
+++ b/source/components/executer/exconvrt.c
@@ -645,7 +645,6 @@ AcpiExConvertToTargetType (
switch (GET_CURRENT_ARG_TYPE (WalkState->OpInfo->RuntimeArgs))
{
case ARGI_SIMPLE_TARGET:
- case ARGI_FIXED_TARGET:
case ARGI_INTEGER_REF: /* Handles Increment, Decrement cases */
switch (DestinationType)
diff --git a/source/components/executer/exresop.c b/source/components/executer/exresop.c
index d4352e297c16..bf1edd42145e 100644
--- a/source/components/executer/exresop.c
+++ b/source/components/executer/exresop.c
@@ -321,7 +321,6 @@ AcpiExResolveOperands (
case ARGI_OBJECT_REF:
case ARGI_DEVICE_REF:
case ARGI_TARGETREF: /* Allows implicit conversion rules before store */
- case ARGI_FIXED_TARGET: /* No implicit conversion before store to target */
case ARGI_SIMPLE_TARGET: /* Name, Local, or Arg - no implicit conversion */
case ARGI_STORE_TARGET: