From: Ben Pfaff Date: Tue, 14 Sep 2004 21:40:10 +0000 (+0000) Subject: Remove obsolete bochs directory. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=282c2a6c87fa53e510852d908d7519e78077a39c;p=pintos-anon Remove obsolete bochs directory. --- diff --git a/src/bochs/bochsrc.txt b/src/bochs/bochsrc.txt deleted file mode 100644 index 9bb8338..0000000 --- a/src/bochs/bochsrc.txt +++ /dev/null @@ -1,8 +0,0 @@ -romimage: file=$HOME/cs140/bochs-2.1.1/bios/BIOS-bochs-latest, address=0xf0000 -vgaromimage: $HOME/cs140/bochs-2.1.1/bios/VGABIOS-lgpl-latest -ata0-master: type=disk, path=os.dsk, mode=flat, cylinders=306, heads=4, spt=17, translation=none -ata0-slave: type=disk, path=filesys.bin, mode=flat, cylinders=1, heads=16, spt=63, translation=none -boot: c -ips: 1000000 -megs: 32 -com1: dev=/dev/tty diff --git a/src/bochs/copy_in b/src/bochs/copy_in deleted file mode 100755 index 743ae51..0000000 --- a/src/bochs/copy_in +++ /dev/null @@ -1,11 +0,0 @@ -#! /usr/bin/perl - -if (@ARGV != 2) { - print "usage: copy_in src dst\n"; - exit 1; -} -($src, $dst) = @ARGV; -$size = -s $src; - -system "../pad 512 < $src > scratch.bin"; -exec "./run_qemu -cp $dst:$size"; diff --git a/src/bochs/run_qemu b/src/bochs/run_qemu deleted file mode 100755 index 6011e3e..0000000 --- a/src/bochs/run_qemu +++ /dev/null @@ -1,17 +0,0 @@ -#! /usr/bin/perl - -die "command line includes empty string" if grep (/^$/, @ARGV); -$cmdline = join ("\0", @ARGV) . "\0\0"; -die "command line exceeds 128 bytes" if length ($cmdline) > 128; -$cmdline .= "\0" x (128 - length ($cmdline)); - -open (DISK, "+