--- nono/vm/dmac.h 2026/04/29 17:05:38 1.1.1.16 +++ nono/vm/dmac.h 2026/04/29 17:05:51 1.1.1.17 @@ -12,7 +12,6 @@ #include "device.h" #include "bus.h" -#include "event.h" #include "fixedqueue.h" #include @@ -314,8 +313,8 @@ class DMACDevice : public IODevice DMACChan *SelectChannel(); // 転送イベントコールバック - void StartCallback(Event& ev); - void TransferCallback(Event& ev); + void StartCallback(Event *); + void TransferCallback(Event *); // ログ出力 void TransferLog(DMACChan *, uint op, busaddr addr, busdata r, uint64 data); @@ -342,7 +341,7 @@ class DMACDevice : public IODevice MainbusDevice *mainbus {}; Syncer *syncer {}; - Event event { this }; + Event *event {}; Monitor *monitor {};