--- nono/vm/scsibus.h 2026/04/29 17:04:56 1.1.1.6 +++ nono/vm/scsibus.h 2026/04/29 17:05:25 1.1.1.8 @@ -4,12 +4,13 @@ // Licensed under nono-license.txt // +// // SCSI バス +// #pragma once -#include "device.h" -#include "scheduler.h" +#include "event.h" #include "scsi.h" // フェーズ遷移についてのメモ。 @@ -105,10 +106,9 @@ class SCSIBus : public Device using inherited = Device; public: SCSIBus(); - virtual ~SCSIBus() override; + ~SCSIBus() override; - bool PowerOn() override; - void ResetHard() override; + void ResetHard(bool poweron) override; // このバスにデバイスを接続する bool Attach(SCSIDevice *dev, int id);