a very basic x86 kernel
Install rustup and the nightly toolchain, if you don't have them already:
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
rustup toolchain install nightly --component rust-srcYou also need grub and qemu x86.
arch:
sudo pacman -S grub xorriso qemu-system-x86debian/ubuntu and derivatives:
sudo apt install grub-pc-bin xorriso qemu-system-x86macos:
brew install i686-elf-grub qemuThen just run the kernel with make run.
Current features:
- boots from grub with the multiboot spec
- serial i/o
- basic page allocation/freeing