From c1dbe5441c49d0d25ab75508f11d20b581633663 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Mon, 20 Sep 2004 04:37:43 +0000 Subject: [PATCH] Enable ata1 under Bochs if hdc or hdd is needed. --- src/utils/pintos | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/utils/pintos b/src/utils/pintos index 9206629..a2168d2 100755 --- a/src/utils/pintos +++ b/src/utils/pintos @@ -164,6 +164,8 @@ sub run_vm { print BOCHSRC "vgaromimage: $vgaromimage\n"; print BOCHSRC bochs_disk_line ("ata0-master", $disks[0]); print BOCHSRC bochs_disk_line ("ata0-slave", $disks[1]); + print BOCHSRC "ata1: enabled=1, ioaddr1=0x170, ioaddr2=0x370, irq=15\n" + if defined ($disks[2]) || defined ($disks[3]); print BOCHSRC bochs_disk_line ("ata1-master", $disks[2]); print BOCHSRC bochs_disk_line ("ata1-slave", $disks[3]); print BOCHSRC "boot: c\n"; -- 2.30.2