qemu/edk2/b6480f6270b3a18acd598e16c84c281fcafd4396 ArmVirtPkg: Add a helper to check protected MMIO address
Realm Devices are protected devices and are not emulated by
the VMM. The RIPAS value for the MMIO address range for these
devices is RipasDev indicating the address range is protected
MMIO.
Therefore, introduce an helper function to check if the MMIO
address range is protected MMIO by issuing RSI_IPA_STATE_GET
commands.
Cc: Ard Biesheuvel <ardb+tianocore@kernel.org>
Cc: Leif Lindholm <leif.lindholm@oss.qualcomm.com>
Cc: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Sami Mujawar <sami.mujawar@arm.com>
3 files changed