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:
		| @@ -163,7 +163,7 @@ QemuFwCfgInitialize ( | |||||||
|  |  | ||||||
|         QemuFwCfgSelectItem (QemuFwCfgItemInterfaceVersion); |         QemuFwCfgSelectItem (QemuFwCfgItemInterfaceVersion); | ||||||
|         Features = QemuFwCfgRead32 (); |         Features = QemuFwCfgRead32 (); | ||||||
|         if ((Features & BIT1) != 0) { |         if ((Features & FW_CFG_F_DMA) != 0) { | ||||||
|           mFwCfgDmaAddress = FwCfgDmaAddress; |           mFwCfgDmaAddress = FwCfgDmaAddress; | ||||||
|           InternalQemuFwCfgReadBytes = DmaReadBytes; |           InternalQemuFwCfgReadBytes = DmaReadBytes; | ||||||
|         } |         } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user