--- nono/vm/interrupt.h 2026/04/29 17:05:24 1.1.1.7 +++ nono/vm/interrupt.h 2026/04/29 17:05:28 1.1.1.8 @@ -17,8 +17,8 @@ // XP からの割り込み用。 // これだけ1デバイスで2本あるので、仕方なく識別子を用意。 -#define DEVICE_XPINT_HIGH ((Device *)(intptr_t)1) -#define DEVICE_XPINT_LOW ((Device *)(intptr_t)2) +#define DEVICE_XPINT_HIGH (reinterpret_cast((intptr_t)1)) +#define DEVICE_XPINT_LOW (reinterpret_cast((intptr_t)2)) class DMACDevice; class GFPICDevice; @@ -52,7 +52,7 @@ class InterruptDevice : public IODevice public: InterruptDevice(); - InterruptDevice(int objid_); + InterruptDevice(uint objid_); ~InterruptDevice() override; // リセットで割り込みを下げるのは各割り込み送出デバイスの責任。 @@ -306,7 +306,7 @@ class NewsInterrupt : public M680x0Inter Monitor monitor { this }; }; -// virt68k 仮想割り込みコントローラ +// virt-m68k 仮想割り込みコントローラ // // Level // 7