diff options
| author | Marc Zyngier <[email protected]> | 2016-04-26 11:06:12 +0100 |
|---|---|---|
| committer | Christoffer Dall <[email protected]> | 2016-05-20 15:39:49 +0200 |
| commit | 4493b1c4866a03963a35be7d157c911a617a3694 (patch) | |
| tree | 612e202d4d5c4f9536d38637b7b1f7afafbe6b85 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 90eee56c5f9081686035972dfcddfd6c85cafdf9 (diff) | |
KVM: arm/arm64: vgic-new: Add MMIO handling framework
Add an MMIO handling framework to the VGIC emulation:
Each register is described by its offset, size (or number of bits per
IRQ, if applicable) and the read/write handler functions. We provide
initialization macros to describe each GIC register later easily.
Separate dispatch functions for read and write accesses are connected
to the kvm_io_bus framework and binary-search for the responsible
register handler based on the offset address within the region.
We convert the incoming data (referenced by a pointer) to the host's
endianess and use pass-by-value to hand the data over to the actual
handler functions.
The register handler prototype and the endianess conversion are
courtesy of Christoffer Dall.
Signed-off-by: Marc Zyngier <[email protected]>
Signed-off-by: Christoffer Dall <[email protected]>
Signed-off-by: Andre Przywara <[email protected]>
Reviewed-by: Christoffer Dall <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions