summaryrefslogtreecommitdiffstats
path: root/source/components/utilities/utxfinit.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/components/utilities/utxfinit.c')
-rw-r--r--source/components/utilities/utxfinit.c14
1 files changed, 13 insertions, 1 deletions
diff --git a/source/components/utilities/utxfinit.c b/source/components/utilities/utxfinit.c
index 0f1a6c3..2dc5d20 100644
--- a/source/components/utilities/utxfinit.c
+++ b/source/components/utilities/utxfinit.c
@@ -41,7 +41,6 @@
* POSSIBILITY OF SUCH DAMAGES.
*/
-#define __UTXFINIT_C__
#define EXPORT_ACPI_INTERFACES
#include "acpi.h"
@@ -54,6 +53,11 @@
#define _COMPONENT ACPI_UTILITIES
ACPI_MODULE_NAME ("utxfinit")
+/* For AcpiExec only */
+void
+AeDoObjectOverrides (
+ void);
+
/*******************************************************************************
*
@@ -309,6 +313,14 @@ AcpiInitializeObjects (
}
}
+#ifdef ACPI_EXEC_APP
+ /*
+ * This call implements the "initialization file" option for AcpiExec.
+ * This is the precise point that we want to perform the overrides.
+ */
+ AeDoObjectOverrides ();
+#endif
+
/*
* Execute any module-level code that was detected during the table load
* phase. Although illegal since ACPI 2.0, there are many machines that
OpenPOWER on IntegriCloud