From 3133426bac9e3ef41708e5c454f5282997fe37c4 Mon Sep 17 00:00:00 2001 From: PeizhongQiu <15608652022@163.com> Date: Thu, 12 Dec 2024 14:50:31 +0800 Subject: [PATCH] add comment --- src/timer.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/timer.rs b/src/timer.rs index 9add4f9..60abaa9 100644 --- a/src/timer.rs +++ b/src/timer.rs @@ -31,6 +31,12 @@ impl TimerEvent for VmmTimerEvent { } } +/// A timer management structure for the virtual machine (VMM). +/// +/// This structure provides functionality to: +/// - Register new timers with callbacks +/// - Cancel existing timers +/// - Check and handle expired timers pub struct AxVmTimer { timer_list: TimerList, }