From 2edb50a8212126b50c9857c480cffe65a8efbcc6 Mon Sep 17 00:00:00 2001 From: Maxim Poliakovski Date: Sat, 5 Feb 2022 18:15:46 +0100 Subject: [PATCH] machinepdm: add internal SCSI bus. --- machines/machinepdm.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/machines/machinepdm.cpp b/machines/machinepdm.cpp index 4ff5e75..fd600f7 100644 --- a/machines/machinepdm.cpp +++ b/machines/machinepdm.cpp @@ -26,6 +26,7 @@ along with this program. If not, see . #include #include +#include #include #include #include @@ -84,6 +85,9 @@ int create_pdm(std::string& id) { return -1; } + /* add internal SCSI bus */ + gMachineObj->add_component("SCSI0", new ScsiBus); + /* Init virtual CPU and request MPC601 */ ppc_cpu_init(hmc_obj, PPC_VER::MPC601);