aboutsummaryrefslogtreecommitdiff
path: root/rust/hw/timer/hpet/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'rust/hw/timer/hpet/src/lib.rs')
-rw-r--r--rust/hw/timer/hpet/src/lib.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/rust/hw/timer/hpet/src/lib.rs b/rust/hw/timer/hpet/src/lib.rs
index d6ac0b2..5e7c961 100644
--- a/rust/hw/timer/hpet/src/lib.rs
+++ b/rust/hw/timer/hpet/src/lib.rs
@@ -7,5 +7,9 @@
//! This library implements a device model for the IA-PC HPET (High
//! Precision Event Timers) device in QEMU.
+use qemu_api::c_str;
+
pub mod fw_cfg;
pub mod hpet;
+
+pub const TYPE_HPET: &::std::ffi::CStr = c_str!("hpet");