]> git.proxmox.com Git - mirror_edk2.git/commit
ArmVirtPkg: Add Kvmtool RTC Fdt Client Library
authorSami Mujawar <sami.mujawar@arm.com>
Fri, 2 Oct 2020 21:13:56 +0000 (22:13 +0100)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Fri, 16 Oct 2020 17:21:04 +0000 (17:21 +0000)
commitcd09c38465f662674619c10abd9d35a25e47146e
tree72e53e19182cb076a09c98c7f3457d4018f0a212
parent015be4075f6cfef03bc08c0e3eb7286dd80c8e8b
ArmVirtPkg: Add Kvmtool RTC Fdt Client Library

Add library that parses the Kvmtool device tree and updates
the dynamic PCDs describing the RTC Memory map.

It also maps the MMIO region used by the RTC as runtime memory
so that the RTC registers are accessible post ExitBootServices.

Since UEFI takes ownership of the RTC hardware disable the RTC
node in the DT to prevent the OS from attaching its device
driver as well.

Signed-off-by: Sami Mujawar <sami.mujawar@arm.com>
Acked-by: Laszlo Ersek <lersek@redhat.com>
ArmVirtPkg/Library/KvmtoolRtcFdtClientLib/KvmtoolRtcFdtClientLib.c [new file with mode: 0644]
ArmVirtPkg/Library/KvmtoolRtcFdtClientLib/KvmtoolRtcFdtClientLib.inf [new file with mode: 0644]