intel / FdtBusPkg

Device Tree-based Platform Device Driver Development for Tiano UEFI
https://wiki.riseproject.dev/display/HOME/EDK2_00_03+-+FdtBusDxe+support
11 stars 1 forks source link

GetReg & friends should ensure Reg is mapped #78

Closed andreiw closed 7 months ago

andreiw commented 7 months ago

Introduces ApplyGcdTypeAndAttrs and uses it in DtIoParsePropReg.

Fixes https://github.com/intel/FdtBusPkg/issues/76

Now, for a device like OVMF RTC:

FS0:> DtReg.efi -w 4 soc/rtc@101000 0 Dumping 4 bytes at offset 0x0 of reg via CPU 0x101000(1000): 00000000: 794E7690