mirror of https://github.com/acidanthera/audk.git
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>
This commit is contained in:
parent
7dfe93097c
commit
d519498067
|
@ -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 \
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue