cloud-hypervisor / rust-hypervisor-firmware

Apache License 2.0
608 stars 57 forks source link

layout: Add MMIO memory attribute #293

Closed retrage closed 1 year ago

retrage commented 1 year ago

As reported in issue #289, there was an allocation issue with the MMIO region for AArch64 in the EFI layer. This was initially addressed by PR #290, thanks to @jongwu. However, the solution appeared to be somewhat ad-hoc, raising same concerns with the RL011 UART MMIO region.

This PR adds MemoryAttribute::Mmio and an MMIO memory descriptor for AArch64 memory layout.