Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,8 @@ pub enum EmulatedDeviceType {
GPPTDistributor = 0x21,
/// ARM GIC Partial Passthrough Interrupt Translation Service device.
GPPTITS = 0x22,
// 0x30: PPPT (PLIC Partial Passthrough) devices.
PPPTGlobal = 0x30,

// Virtio devices.
/// Virtio block device.
Expand Down Expand Up @@ -166,6 +168,7 @@ impl Display for EmulatedDeviceType {
}
EmulatedDeviceType::GPPTDistributor => write!(f, "gic partial passthrough distributor"),
EmulatedDeviceType::GPPTITS => write!(f, "gic partial passthrough its"),
EmulatedDeviceType::PPPTGlobal => write!(f, "plic partial passthrough global"),
// EmulatedDeviceType::IOMMU => write!(f, "iommu"),
// EmulatedDeviceType::ICCSRE => write!(f, "interrupt icc sre"),
// EmulatedDeviceType::SGIR => write!(f, "interrupt icc sgir"),
Expand Down
Loading