summaryrefslogtreecommitdiff
path: root/source/components/events/evxfevnt.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/components/events/evxfevnt.c')
-rw-r--r--source/components/events/evxfevnt.c21
1 files changed, 21 insertions, 0 deletions
diff --git a/source/components/events/evxfevnt.c b/source/components/events/evxfevnt.c
index f781f3e0ee7b..0466273685be 100644
--- a/source/components/events/evxfevnt.c
+++ b/source/components/events/evxfevnt.c
@@ -306,6 +306,13 @@ AcpiEnableEvent (
ACPI_FUNCTION_TRACE (AcpiEnableEvent);
+ /* If Hardware Reduced flag is set, there are no fixed events */
+
+ if (AcpiGbl_ReducedHardware)
+ {
+ return_ACPI_STATUS (AE_OK);
+ }
+
/* Decode the Fixed Event */
if (Event > ACPI_EVENT_MAX)
@@ -372,6 +379,13 @@ AcpiDisableEvent (
ACPI_FUNCTION_TRACE (AcpiDisableEvent);
+ /* If Hardware Reduced flag is set, there are no fixed events */
+
+ if (AcpiGbl_ReducedHardware)
+ {
+ return_ACPI_STATUS (AE_OK);
+ }
+
/* Decode the Fixed Event */
if (Event > ACPI_EVENT_MAX)
@@ -433,6 +447,13 @@ AcpiClearEvent (
ACPI_FUNCTION_TRACE (AcpiClearEvent);
+ /* If Hardware Reduced flag is set, there are no fixed events */
+
+ if (AcpiGbl_ReducedHardware)
+ {
+ return_ACPI_STATUS (AE_OK);
+ }
+
/* Decode the Fixed Event */
if (Event > ACPI_EVENT_MAX)