Skip to content

Stage 2A: Implement QEMU fw_cfg MMIO & DMA driver (0x09020000) #161

Done

Description

@marcobuschini

Parent Epic: #157
Depends on: #158

Summary

Implement a modular QEMU Firmware Config (fw_cfg) MMIO and DMA driver at 0x09020000 (with FDT discovery where present) for querying selectors/files and executing DMA transfers.

Scope

  • Encapsulate selector, data, and DMA register access and big-endian serialization in a dedicated class
  • Support etc/file/dir lookup (including etc/ramfb) and validate alignment/bounds before DMA transfers
  • Add host unit tests using a simulated fw_cfg register/DMA backend

Verification

  • make all && make quality && make test-host
  • Verify fw_cfg signature/directory discovery in QEMU

Metadata

Metadata

Assignees

Labels

stage-2-display

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions