--- nono/vm/mpu64180.h 2026/04/29 17:05:51 1.1.1.6 +++ nono/vm/mpu64180.h 2026/04/29 17:06:01 1.1.1.7 @@ -255,7 +255,7 @@ class MPU64180Device : public MPUDevice, // 直近の命令語 uint8 op {}; - uint64 clock_nsec {}; // MPU クロック [nsec] + uint64 clock_tsec {}; // MPU クロック [tsec] // 電源オンからの累積消費サイクル uint64 used_cycle {}; @@ -304,9 +304,9 @@ class MPU64180Device : public MPUDevice, XPbusDevice *xpbus {}; // モニター - DECLARE_MONITOR_CALLBACK(MonitorUpdateReg); - DECLARE_MONITOR_CALLBACK(MonitorUpdateIO); - DECLARE_MONITOR_CALLBACK(MonitorUpdateIntr); + DECLARE_MONITOR_SCREEN(MonitorScreenReg); + DECLARE_MONITOR_SCREEN(MonitorScreenIO); + DECLARE_MONITOR_SCREEN(MonitorScreenIntr); Monitor *reg_monitor {}; Monitor *io_monitor {}; Monitor *intr_monitor {}; @@ -322,6 +322,6 @@ class MPU64180Device : public MPUDevice, static std::vector ionames; }; -static inline MPU64180Device *GetMPU64180Device() { +inline MPU64180Device *GetMPU64180Device() { return Object::GetObject(OBJ_MPUXP); }