mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-02-05 18:20:34 +00:00
6583fa8d6a
Copied and slightly modified pic implementation in the irqchip submodule. It uses the PicState defined in the hypervisor crate and has a register_resample_events function instead of a register_relay function. Some function signatures have been slightly changed to take &self and &mut self where before they would take a PicState. This was done so that the Pic struct itself would be the only object that needs access to the resample_events rather than each PicState needing it's own copy or clone. This will later be used by the the KvmSplitIrqChip. Test: cargo test -p devices -p hypervisor Bug: chromium:1077058 Change-Id: Ia15ea1800b4339d3ad38d88d8ec6ace8ca5ea67a Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/2255302 Tested-by: kokoro <noreply+kokoro@google.com> Reviewed-by: Stephen Barber <smbarber@chromium.org> Reviewed-by: Daniel Verkamp <dverkamp@chromium.org> Commit-Queue: Colin Downs-Razouk <colindr@google.com> |
||
---|---|---|
.. | ||
src | ||
tests | ||
Cargo.toml |