projects
/
pintos-anon
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
eae2925
)
Fix bugs in -j and -r options reported by Godmar Back.
author
Ben Pfaff
<blp@cs.stanford.edu>
Sat, 31 Mar 2007 14:40:52 +0000
(14:40 +0000)
committer
Ben Pfaff
<blp@cs.stanford.edu>
Sat, 31 Mar 2007 14:40:52 +0000
(14:40 +0000)
src/utils/pintos
patch
|
blob
|
history
diff --git
a/src/utils/pintos
b/src/utils/pintos
index a4b0feb5ccd52a43a5160871e3ee59cc0260b94e..2b5dad9f4e6cdbf8a8ab8e316ce68a2475d557da 100755
(executable)
--- a/
src/utils/pintos
+++ b/
src/utils/pintos
@@
-57,7
+57,7
@@
sub parse_command_line {
"gdb" => sub { set_debug ("gdb") },
"m|memory=i" => \$mem,
"gdb" => sub { set_debug ("gdb") },
"m|memory=i" => \$mem,
- "j|jitter=i" => sub { set_jitter (
@_
) },
+ "j|jitter=i" => sub { set_jitter (
$_[1]
) },
"r|realtime" => sub { set_realtime () },
"T|timeout=i" => \$timeout,
"r|realtime" => sub { set_realtime () },
"T|timeout=i" => \$timeout,
@@
-410,7
+410,7
@@
panic: action=fatal
EOF
print BOCHSRC "gdbstub: enabled=1\n" if $debug eq 'gdb';
print BOCHSRC "clock: sync=", $realtime ? 'realtime' : 'none',
EOF
print BOCHSRC "gdbstub: enabled=1\n" if $debug eq 'gdb';
print BOCHSRC "clock: sync=", $realtime ? 'realtime' : 'none',
- " time0=0\n";
+ "
,
time0=0\n";
print_bochs_disk_line ("ata0-master", 0);
print_bochs_disk_line ("ata0-slave", 1);
if (defined ($disks_by_iface[2]{FILE_NAME})
print_bochs_disk_line ("ata0-master", 0);
print_bochs_disk_line ("ata0-slave", 1);
if (defined ($disks_by_iface[2]{FILE_NAME})