projects
/
pintos-anon
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
a12e4a2
)
Bug fixes.
author
Ben Pfaff
<blp@cs.stanford.edu>
Sat, 18 Sep 2004 17:01:47 +0000
(17:01 +0000)
committer
Ben Pfaff
<blp@cs.stanford.edu>
Sat, 18 Sep 2004 17:01:47 +0000
(17:01 +0000)
src/utils/pintos
patch
|
blob
|
history
diff --git
a/src/utils/pintos
b/src/utils/pintos
index 867f2c1c056348866aaad710edc456425fe263d5..9206629c0c801fe53249345de01bd12d66857528 100755
(executable)
--- a/
src/utils/pintos
+++ b/
src/utils/pintos
@@
-51,7
+51,7
@@
while (@ARGV) {
copy_pad ($hostfn, "scratch.dsk", 512);
# Do copy.
copy_pad ($hostfn, "scratch.dsk", 512);
# Do copy.
- run_vm ("-ci", $
ho
stfn, $size, "-q");
+ run_vm ("-ci", $
gue
stfn, $size, "-q");
exit 0;
} elsif ($arg eq 'get') {
usage () if @ARGV != 1 && @ARGV != 2;
exit 0;
} elsif ($arg eq 'get') {
usage () if @ARGV != 1 && @ARGV != 2;
@@
-284,7
+284,7
@@
sub bochs_disk_line {
return "" if !defined $file;
my (%geom) = disk_geometry ($file);
return "$device: type=disk, path=$file, mode=flat, "
return "" if !defined $file;
my (%geom) = disk_geometry ($file);
return "$device: type=disk, path=$file, mode=flat, "
- . "
cylinders=$geom{C}, heads=$geom{H}, spt=$geom{S}, "
+ . "cylinders=$geom{C}, heads=$geom{H}, spt=$geom{S}, "
. "translation=none\n";
}
. "translation=none\n";
}