--- nono/vm/goldfish_timer.h 2026/04/29 17:05:33 1.1.1.3 +++ nono/vm/goldfish_timer.h 2026/04/29 17:05:50 1.1.1.4 @@ -9,7 +9,6 @@ // #include "device.h" -#include "event.h" class GFRTCDevice; class InterruptDevice; @@ -36,8 +35,8 @@ class GFTimerDevice : public IODevice private: DECLARE_MONITOR_CALLBACK(MonitorUpdate); - void CallbackVT(Event& ev); - void CallbackRT(Event& ev); + void CallbackVT(Event *); + void CallbackRT(Event *); void ChangeInterrupt(); // アラーム開始。 @@ -64,7 +63,7 @@ class GFTimerDevice : public IODevice bool intr_enable {}; // 割り込み許可 bool intr_assert {}; // 割り込み発生 - Event event { this }; + Event *event {}; Monitor *monitor {};