projects
/
pintos-anon
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0ea405c
)
Enable ata1 under Bochs if hdc or hdd is needed.
author
Ben Pfaff
<blp@cs.stanford.edu>
Mon, 20 Sep 2004 04:37:43 +0000
(
04:37
+0000)
committer
Ben Pfaff
<blp@cs.stanford.edu>
Mon, 20 Sep 2004 04:37:43 +0000
(
04:37
+0000)
src/utils/pintos
patch
|
blob
|
history
diff --git
a/src/utils/pintos
b/src/utils/pintos
index 9206629c0c801fe53249345de01bd12d66857528..a2168d225dc5405c1eea49bcb3e731f29f096f7c 100755
(executable)
--- 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";