mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-17 23:22:12 -06:00
rust/timer/hpet: add qom and qdev APIs support
Implement QOM & QAPI support for HPET device. Signed-off-by: Zhao Liu <zhao1.liu@intel.com> Link: https://lore.kernel.org/r/20250210030051.2562726-10-zhao1.liu@intel.com Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
269a8f155c
commit
6e90a8f813
3 changed files with 273 additions and 11 deletions
|
@ -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");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue