audk/OvmfPkg/AcpiPlatformDxe
Laszlo Ersek a3be3b6597 OvmfPkg/AcpiPlatformDxe: drop double right shift in ADD/WRITE POINTER cmds
The Count parameter of RShiftU64() must be strictly smaller than 64.
ProcessCmdAddPointer() and ProcessCmdWritePointer() currently ensure this
by "cleverly" breaking the last bit of a potentially 8-byte right shift
out to a separate operation.

Instead, exclude the Count==64 case explicitly (in which case the
preexistent outer RShiftU64() would return 0), and keep only the inner
RShiftU64(), with the direct Count however.

This is not a functional change, just style improvement.

Cc: Jordan Justen <jordan.l.justen@intel.com>
Suggested-by: Jordan Justen <jordan.l.justen@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
2017-02-22 03:35:18 +01:00
..
AcpiPlatform.c
AcpiPlatform.h OvmfPkg/AcpiPlatformDxe: replay QEMU_LOADER_WRITE_POINTER commands at S3 2017-02-21 13:10:42 +01:00
AcpiPlatformDxe.inf OvmfPkg/AcpiPlatformDxe: replay QEMU_LOADER_WRITE_POINTER commands at S3 2017-02-21 13:10:42 +01:00
BootScript.c OvmfPkg/AcpiPlatformDxe: replay QEMU_LOADER_WRITE_POINTER commands at S3 2017-02-21 13:10:42 +01:00
EntryPoint.c
PciDecoding.c OvmfPkg: AcpiPlatformDxe: Don't enable unsupported PCI attributes 2016-04-19 13:18:34 +02:00
Qemu.c
QemuFwCfgAcpi.c OvmfPkg/AcpiPlatformDxe: drop double right shift in ADD/WRITE POINTER cmds 2017-02-22 03:35:18 +01:00
QemuFwCfgAcpiPlatform.c
QemuFwCfgAcpiPlatformDxe.inf OvmfPkg/AcpiPlatformDxe: replay QEMU_LOADER_WRITE_POINTER commands at S3 2017-02-21 13:10:42 +01:00
QemuLoader.h OvmfPkg/AcpiPlatformDxe: add QEMU_LOADER_WRITE_POINTER definitions 2017-02-21 13:10:33 +01:00
Xen.c