devices: pvpanic: Add pci configuration for pvpanic device

Implemetion of BusDevice and PciDevice trait for pvpanic device.

Pvpanic device can be implemented as an ISA device or as a
PCI device, we choose PCI device for now.

Signed-off-by: Yi Wang <foxywang@tencent.com>
This commit is contained in:
Yi Wang
2023-06-14 21:04:07 +08:00
committed by Rob Bradford
parent ef67eab8c3
commit 3acb988c1a
4 changed files with 179 additions and 5 deletions
+2
View File
@@ -10,6 +10,8 @@
#[macro_use]
extern crate bitflags;
#[macro_use]
extern crate event_monitor;
#[macro_use]
extern crate log;
pub mod acpi;