Skip to content

Latest commit

 

History

History
28 lines (20 loc) · 1.12 KB

README.md

File metadata and controls

28 lines (20 loc) · 1.12 KB

arm-hello

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.

Build and run

This project depends on

If you have installed these, just run

> make run

Resources

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.