aboutsummaryrefslogtreecommitdiff
path: root/run_qemu.sh
diff options
context:
space:
mode:
authorAlex Auvolat <alex.auvolat@ens.fr>2014-12-01 17:24:38 +0100
committerAlex Auvolat <alex.auvolat@ens.fr>2014-12-01 17:24:38 +0100
commit0921a33fc9f3724cb36a03a24b58b0a5bfc519b1 (patch)
tree6f3db52ba8c38928749806cb2d94ca548b3b19bd /run_qemu.sh
parent6f11c9e5c15cc8ef936741e5ee7575b731a47e0f (diff)
downloadkogata-0921a33fc9f3724cb36a03a24b58b0a5bfc519b1.tar.gz
kogata-0921a33fc9f3724cb36a03a24b58b0a5bfc519b1.zip
Advance HH, GDT, IDT (details below)
- Implement higher-half in loader with paging (using 4Mb pages) - Add GDT installation code - Add IDT installation code (spend a loong time debugging the ISRs!) - Add CDROM generation scripts - Add scripts to launch bochs (debug) and qemu (debug)
Diffstat (limited to 'run_qemu.sh')
-rwxr-xr-xrun_qemu.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/run_qemu.sh b/run_qemu.sh
new file mode 100755
index 0000000..b429471
--- /dev/null
+++ b/run_qemu.sh
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+cd `dirname $0`
+
+make -C kernel
+qemu-system-i386 -kernel kernel/kernel.bin -serial stdio -s -S &
+(sleep 0.1; gdb kernel.bin -x gdb_cmd)