42-archive/kernel-rs
2018-03-26 15:19:07 +02:00
..
multiboot2-elf64@73530c4190 little correctif 2018-03-20 13:37:51 +01:00
src first interrupts works 2018-03-26 15:19:07 +02:00
x86@da544c834b int 2018-03-26 15:18:28 +02:00
.gitignore Merge branch 'master' of https://github.com/jzck/kernel 2018-02-12 16:25:45 +01:00
.gitmodules WIP 2018-03-13 20:06:25 +01:00
.travis.yml travis and readme 2018-02-21 15:52:44 +01:00
Cargo.toml int 2018-03-26 15:18:28 +02:00
Makefile acpi can run in kfs-3 2018-03-19 11:23:53 +01:00
README.md travis and readme 2018-02-21 15:52:44 +01:00
x86-bluesnow.json i must have done something right becuase now 0xffff_f000 points to p2 as expected, hurray 2018-03-11 18:41:34 +01:00
Xargo.toml heap allocator in place, no free yet 2018-03-12 17:48:24 +01:00

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

documentation

dependencies

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

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 run runs the OS in a tmux window with qemu + gdb
make iso generate an iso to run wherever

References