[arch][m68k] initial port to m68k
Uses the QEMU virt machine for 68k defined in qemu 6.0+. Basic support that boots, prints to the console, takes input from console, and context switches. TODO: interrupt support, timer support.
This commit is contained in:
11
scripts/do-qemum68k
Executable file
11
scripts/do-qemum68k
Executable file
@@ -0,0 +1,11 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
|
||||
set -e
|
||||
set -x
|
||||
|
||||
PROJECT=qemu-virt-m68k-test
|
||||
|
||||
$DIR/make-parallel $PROJECT
|
||||
qemu-system-m68k -machine virt -cpu m68040 -kernel build-${PROJECT}/lk.elf -nographic $@
|
||||
Reference in New Issue
Block a user