summaryrefslogtreecommitdiff
path: root/tools/acpiexec/aehandlers.c
diff options
context:
space:
mode:
authorJung-uk Kim <jkim@FreeBSD.org>2009-12-14 22:07:33 +0000
committerJung-uk Kim <jkim@FreeBSD.org>2009-12-14 22:07:33 +0000
commitdeca274c44eb2d731761ba35813f64bdbdc734df (patch)
treef44ff7d55387c0db90e95e80289d7ed0525b8dd8 /tools/acpiexec/aehandlers.c
parent1b40f7cf3cd1180573e2d9ec6cd169e887b720e0 (diff)
Notes
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 9e00f5b30f5f0..ae57483c49f03 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;