summaryrefslogtreecommitdiffstats
path: root/EmbeddedPkg/Include
diff options
context:
space:
mode:
authorSami Mujawar <sami.mujawar@arm.com>2016-03-04 13:46:01 +0000
committerArd Biesheuvel <ard.biesheuvel@linaro.org>2016-04-01 17:04:12 +0200
commitd51949806737c214f8df7dc6a70fedf9c2558dd5 (patch)
tree6f9d6cab61c2dc29ff7e975139fb1d1cde904241 /EmbeddedPkg/Include
parent7dfe93097c0330e1a974fdc2a67603196d04df96 (diff)
downloadedk2-d51949806737c214f8df7dc6a70fedf9c2558dd5.tar.gz
edk2-d51949806737c214f8df7dc6a70fedf9c2558dd5.tar.bz2
edk2-d51949806737c214f8df7dc6a70fedf9c2558dd5.zip
EmbeddedPkg/AcpiLib: fix SBSA Generic Watchdog helper definition
The Reserved field in the SBSA Generic Watchdog Structure is 1 byte in length. Refer Table 5-123 in the ACPI 5.1 Specification Errata A. The EFI_ACPI_5_1_SBSA_GENERIC_WATCHDOG_STRUCTURE_INIT() helper macro was initializing this field as EFI_ACPI_RESERVED_WORD instead of EFI_ACPI_RESERVED_BYTE. Although this does not cause any functional issue; it does not comply with the specification. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Evan Lloyd <evan.lloyd@arm.com> Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Diffstat (limited to 'EmbeddedPkg/Include')
-rw-r--r--EmbeddedPkg/Include/Library/AcpiLib.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/EmbeddedPkg/Include/Library/AcpiLib.h b/EmbeddedPkg/Include/Library/AcpiLib.h
index 42710fd1fd..74a929c9c0 100644
--- a/EmbeddedPkg/Include/Library/AcpiLib.h
+++ b/EmbeddedPkg/Include/Library/AcpiLib.h
@@ -1,7 +1,7 @@
/** @file
Helper Library for ACPI
- Copyright (c) 2014-2015, ARM Ltd. All rights reserved.
+ Copyright (c) 2014-2016, ARM Ltd. All rights reserved.
This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
@@ -67,7 +67,7 @@
ControlFramePhysicalAddress, WatchdogTimerGSIV, WatchdogTimerFlags) \
{ \
EFI_ACPI_5_1_GTDT_SBSA_GENERIC_WATCHDOG, sizeof(EFI_ACPI_5_1_GTDT_SBSA_GENERIC_WATCHDOG_STRUCTURE), \
- EFI_ACPI_RESERVED_WORD, RefreshFramePhysicalAddress, ControlFramePhysicalAddress, \
+ EFI_ACPI_RESERVED_BYTE, RefreshFramePhysicalAddress, ControlFramePhysicalAddress, \
WatchdogTimerGSIV, WatchdogTimerFlags \
}