cloud-hypervisor/devices/src
Jianyong Wu 6dbc13627a devices: Emulate debug I/O based on pl011
To emulate debug I/O port on arm64, we need trap from guest to VMM.
Generally, there are 3 ways to go:
1) execute a privilege intruction like "wfi";
2) access a system register;
3) access device MMIO region;
However, 1) and 2) often handled in kvm, thus 3) it's the choice.

There maybe lots of repeated work and enlarge the size of clh to develop
a new device, so it's better to reuse the current device. Luckily, I
find that pl011 is the eariest device initialized in kernel and, there
is reserved region in it which we can reuse for emulating debug I/O.

Signed-off-by: Jianyong Wu <jianyong.wu@arm.com>
2022-03-23 18:25:48 +08:00
..
legacy devices: Emulate debug I/O based on pl011 2022-03-23 18:25:48 +08:00
acpi.rs devices: acpi: Port GED device to Aml::append_aml_bytes() 2021-11-08 16:46:30 +00:00
gic.rs clippy: Fix redundant allocations 2021-07-29 13:28:57 +02:00
interrupt_controller.rs interrupt: Add a notifier method to the InterruptController 2021-02-10 17:34:56 +00:00
ioapic.rs devices: ioapic: Increase robustness of IOAPIC operations 2021-09-15 09:40:20 +02:00
lib.rs misc: Remove unnecessary "extern crate" 2021-05-12 17:26:11 +02:00