From e8243e326ad918d4e5ab1633abaa769e811e8670 Mon Sep 17 00:00:00 2001 From: Miriam Zimmerman Date: Fri, 15 Feb 2019 12:14:38 -0800 Subject: Add PIC device. The PIC device that this commit provides isn't quite complete: It needs to interact with a userspace APIC in order to properly route interrupts, but crosvm does not yet have a userspace APIC. In the interest of not making this CL too much larger, the userspace APIC implementation will come in a future CL. BUG=chromium:908689 TEST=Unit tests in file. Integration testing is blocked on rest of split-irqchip being implemented. Change-Id: Id1f23da12fa7b83511a2a4df895b0cfacdbc559e Reviewed-on: https://chromium-review.googlesource.com/1475057 Commit-Ready: ChromeOS CL Exonerator Bot Tested-by: Miriam Zimmerman Tested-by: kokoro Reviewed-by: Zach Reizner --- devices/src/lib.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'devices/src/lib.rs') diff --git a/devices/src/lib.rs b/devices/src/lib.rs index 07b61c5..2bac47d 100644 --- a/devices/src/lib.rs +++ b/devices/src/lib.rs @@ -33,6 +33,7 @@ mod cmos; mod i8042; mod ioapic; mod pci; +mod pic; mod pit; pub mod pl030; mod proxy; @@ -52,6 +53,7 @@ pub use self::ioapic::Ioapic; pub use self::pci::{ Ac97Dev, PciConfigIo, PciConfigMmio, PciDevice, PciDeviceError, PciInterruptPin, PciRoot, }; +pub use self::pic::Pic; pub use self::pit::{Pit, PitError}; pub use self::pl030::Pl030; pub use self::proxy::Error as ProxyError; -- cgit 1.4.1