mirror of
https://github.com/dingusdev/dingusppc.git
synced 2025-01-11 05:29:43 +00:00
machineyosemite: add SCSI0 bus.
This commit is contained in:
parent
daca3a27d6
commit
c543d0936c
@ -23,6 +23,7 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
#include <cpu/ppc/ppcemu.h>
|
||||
#include <devices/common/pci/dec21154.h>
|
||||
#include <devices/common/scsi/scsi.h>
|
||||
#include <devices/memctrl/mpc106.h>
|
||||
#include <devices/memctrl/spdram.h>
|
||||
#include <machines/machinefactory.h>
|
||||
@ -64,6 +65,9 @@ int initialize_yosemite(std::string& id)
|
||||
return -1;
|
||||
}
|
||||
|
||||
// add internal SCSI bus
|
||||
gMachineObj->add_device("SCSI0", std::unique_ptr<ScsiBus>(new ScsiBus()));
|
||||
|
||||
// configure RAM slots
|
||||
setup_ram_slot("RAM_DIMM_1", 0x50, GET_INT_PROP("rambank1_size"));
|
||||
setup_ram_slot("RAM_DIMM_2", 0x51, GET_INT_PROP("rambank2_size"));
|
||||
|
Loading…
x
Reference in New Issue
Block a user