42-archive/kernel-rs
2018-02-09 17:25:36 +01:00
..
src vga 2018-02-09 14:50:07 +01:00
Cargo.toml vga_buffer code first commit 2018-02-08 23:02:32 +01:00
Makefile Gdb enabled 2018-02-09 17:25:36 +01:00
README.md vga 2018-02-09 14:50:07 +01:00
x86-bluesnow.json vga_buffer code first commit 2018-02-08 23:02:32 +01:00

Kernel from scratch (KFS) series of projects at Ecole 42 !

compiling

dependencies

  • nasm compiles the bootcode
  • ld links the bootcode
  • grub-mkrescue builds the iso
  • xargo builds rust code
  • qemu runs the iso

on archlinux pacman -S make grub xorriso mtools binutils gcc qemu

rust setup

pacman -S rustup
rustup override add nightly
rustup component add rust-src
cargo install xargo

running

make run runs the OS + a tmux split for the qemu terminal

References