Skip to content

laurmaedje/arm-hello

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

hello world OS for aarch64 architecture

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published