mirror of
https://github.com/acidanthera/audk.git
synced 2025-04-08 17:05:09 +02:00
ArmVirtPkg/QemuFwCfgLib: rebase lib instance to updated lib class header
Put the FW_CFG_F_DMA constant, introduced in the last patch, to use. Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org> Cc: Leif Lindholm <leif.lindholm@linaro.org> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Laszlo Ersek <lersek@redhat.com> Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org> Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
This commit is contained in:
parent
be0eaf42ef
commit
d61a5f45a9
@ -163,7 +163,7 @@ QemuFwCfgInitialize (
|
||||
|
||||
QemuFwCfgSelectItem (QemuFwCfgItemInterfaceVersion);
|
||||
Features = QemuFwCfgRead32 ();
|
||||
if ((Features & BIT1) != 0) {
|
||||
if ((Features & FW_CFG_F_DMA) != 0) {
|
||||
mFwCfgDmaAddress = FwCfgDmaAddress;
|
||||
InternalQemuFwCfgReadBytes = DmaReadBytes;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user