42-archive/kernel-rs/README.md
Jack Halford 911d9c8ae2 readme
2018-11-28 23:27:31 +01:00

949 B

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

documentation

building

  • nasm compiles the bootcode
  • ld links the bootcode and rust binary
  • grub-mkrescue builds the iso
  • xargo builds rust code

See .travis.yml to get an ubuntu environment ready
on archlinux pacman -S rustup make grub xorriso mtools binutils gcc qemu

rust setup

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

running

  • make iso builds a bootable iso with grub
  • make qemu runs the iso, make qemu-reload after a re-build

todo

  • remove assembly for a pure rust entry point
  • replace grub with something lighter

inspiration