aboutsummaryrefslogtreecommitdiff
path: root/rust/wrapper.h
diff options
context:
space:
mode:
authorZhao Liu <zhao1.liu@intel.com>2025-02-10 11:00:49 +0800
committerPaolo Bonzini <pbonzini@redhat.com>2025-02-13 12:51:34 +0100
commit269a8f155c7265488945e60ef0cae77556017ddd (patch)
tree11d3dba08934c1835cf5043b05d8ef0581edfa1c /rust/wrapper.h
parent0534248a6b515cb4dea29a6fd6c256dc77f2a953 (diff)
downloadqemu-269a8f155c7265488945e60ef0cae77556017ddd.zip
qemu-269a8f155c7265488945e60ef0cae77556017ddd.tar.gz
qemu-269a8f155c7265488945e60ef0cae77556017ddd.tar.bz2
rust/timer/hpet: add basic HPET timer and HPETState
Add the HPETTimer and HPETState (HPET timer block), along with their basic methods and register definitions. This is in preparation for supporting the QAPI interfaces. Note, wrap all items in HPETState that may be changed in the callback called by C code into the BqlCell/BqlRefCell. Signed-off-by: Zhao Liu <zhao1.liu@intel.com> Link: https://lore.kernel.org/r/20250210030051.2562726-9-zhao1.liu@intel.com Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'rust/wrapper.h')
-rw-r--r--rust/wrapper.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/rust/wrapper.h b/rust/wrapper.h
index a35bfbd..d927ad6 100644
--- a/rust/wrapper.h
+++ b/rust/wrapper.h
@@ -64,3 +64,4 @@ typedef enum memory_order {
#include "chardev/char-serial.h"
#include "exec/memattrs.h"
#include "qemu/timer.h"
+#include "exec/address-spaces.h"