This is an Hello-World-OS in Rust running on the aarch64
architecture.
This project is written purely in Rust using inline assembly for startup.
This project depends on
If you have installed these, just run
> make run
Because there is no such thing as a VGA-Buffer for this architecture, output is printed to the serial console through the port UART0, which QEMU supports through the -nographic
or -serial stdio
options.
This post for ARM bare metal coding in C
was really helpful for getting a grasp of it.
This bootloader project from Philipp Oppermann helped finding out how to embed assembly in rust. For more OS-stuff there is his awesome series Writing an OS in Rust.