// HACKER NEWS — CYBERSECURITY
Mmuko Boot Sequence – a tiny freestanding C kernel that boots in QEMU
This turns the MMUKO boot idea into a tiny QEMU-bootable kernel.
This path uses the tools already common in a MinGW + QEMU setup:
The kernel deliberately halts at the end, so QEMU will keep running until you
stop it with Ctrl+C.
On a Debian/Ubuntu-like environment, QEMU/GRUB/NASM can usually be installed with:
You still need an i686-elf-gcc cross compiler. If you do not have one yet,
use an OSDev-style cross compiler, or adapt the Makefile to your existing
freestanding i386 compiler.
QEMU will show VGA text, and the same log is also written to serial with
-serial stdio.
That function is the first MMUKO "program" in this scaffold. It only runs after
mmuko_boot(sys) returns BOOT_OK.
Later, you can replace it with a loader that reads a separate payload from disk
and jumps to it, but compiling the program into the kernel is the simplest way
to experiment with QEMU first.