summaryrefslogtreecommitdiffstats
path: root/tools/acpiexec/aehandlers.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/acpiexec/aehandlers.c')
-rw-r--r--tools/acpiexec/aehandlers.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/acpiexec/aehandlers.c b/tools/acpiexec/aehandlers.c
index 9e00f5b..ae57483 100644
--- a/tools/acpiexec/aehandlers.c
+++ b/tools/acpiexec/aehandlers.c
@@ -877,7 +877,10 @@ AeRegionHandler (
return AE_NO_MEMORY;
}
- ACPI_MEMSET (RegionElement->Buffer, 0, Length);
+ /* Initialize the region with the default fill value */
+
+ ACPI_MEMSET (RegionElement->Buffer, AcpiGbl_RegionFillValue, Length);
+
RegionElement->Address = BaseAddress;
RegionElement->Length = Length;
RegionElement->SpaceId = SpaceId;
OpenPOWER on IntegriCloud