Patrick Rudolph has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/35365 )
Change subject: emulation/qemu-i440fx: use fw_cfg_dma for fw_cfg_read ......................................................................
Patch Set 2:
(2 comments)
https://review.coreboot.org/c/coreboot/+/35365/2/src/mainboard/emulation/qem... File src/mainboard/emulation/qemu-i440fx/fw_cfg.c:
https://review.coreboot.org/c/coreboot/+/35365/2/src/mainboard/emulation/qem... PS2, Line 529: dma_desc_addr = (uint32_t)&dma; that doesn't work on x86_64. Please write FW_CFG_DMA_ADDR_HIGH as well.
https://review.coreboot.org/c/coreboot/+/35365/2/src/mainboard/emulation/qem... PS2, Line 532: asm(""); should work without asm("").