<feed xmlns='http://www.w3.org/2005/Atom'>
<title>Tianocore/edk2.git/OvmfPkg/Library/GoldfishRealTimeClockLib, branch master</title>
<subtitle>EDK II (mirror)</subtitle>
<id>https://git.radix-linux.su/Tianocore/edk2.git/atom?h=master</id>
<link rel='self' href='https://git.radix-linux.su/Tianocore/edk2.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/'/>
<updated>2026-09-24T21:32:18+00:00</updated>
<entry>
<title>OvmfPkg: Use ReadUnaligned64 for 64-bit FDT property cells</title>
<updated>2026-09-24T21:32:18+00:00</updated>
<author>
<name>Doug Cook</name>
<email>dcook@microsoft.com</email>
</author>
<published>2026-09-24T18:36:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=2f1971dd4d770c418f9aadb60b18c5645af3344c'/>
<id>urn:sha1:2f1971dd4d770c418f9aadb60b18c5645af3344c</id>
<content type='text'>
FDT property values are guaranteed to be 4-byte aligned.  Several
OvmfPkg modules read 64-bit "reg" cells by dereferencing a UINT64
pointer into the property data. That is undefined behavior, and it
faults on AArch64 whenever the access is not naturally aligned and the
MMU is off.

This was observed on ArmVirtQemu-derived firmware as a data abort
(ESR 0x96000021, DFSC alignment fault, FAR 0x4000025c) in
QemuFwCfgInitialize(), which is in QemuFwCfgMmioPeiLib and runs from PEI
before the MMU is enabled.

Read these cells with ReadUnaligned64(), as QemuVirtMemInfoLib,
FdtNorFlashQemuLib and VirtioMmioProbeLib already do. Covered:

- QemuFwCfgLib (MMIO PEI and DXE): fw-cfg "reg"
- RiscVVirt PlatformSecLib: "reg" of MMIO nodes
- LoongArchVirt PlatformPei: RTC "reg"
- GoldfishRealTimeClockLib: RTC "reg"
- FdtPciHostBridgeLib, FdtPciPcdProducerLib: ECAM "reg"
- VirtioFdtDxe: virtio-mmio "reg"

Signed-off-by: Doug Cook &lt;idigdoug@gmail.com&gt;
</content>
</entry>
<entry>
<title>OvmfPkg: Add Goldfish Rtc Lib</title>
<updated>2026-09-01T09:20:17+00:00</updated>
<author>
<name>王海梦00354475</name>
<email>wang.haimeng@zte.com.cn</email>
</author>
<published>2026-05-19T06:28:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=19cb80c0f3315860196812613b5b7ec1f082043c'/>
<id>urn:sha1:19cb80c0f3315860196812613b5b7ec1f082043c</id>
<content type='text'>
Add Goldfish RTC Lib to OvmfPkg.
This library provides an interface for the Goldfish RTC device
used in emulators such as QEMU Riscv Virt Platform,
supporting time read/write functions.

Signed-off-by: Haimeng Wang &lt;wang.haimeng@zte.com.cn&gt;
</content>
</entry>
</feed>
