#platform #boot #wiki #interface #arch

nightly polyhal-boot

This crate provides the interface for multiple platforms

9 releases

0.4.0 May 30, 2025
0.3.2 May 5, 2025
0.2.4 Apr 19, 2025

#616 in Operating systems

Download history 3/week @ 2025-07-20 1/week @ 2025-07-27 6/week @ 2025-08-17 3/week @ 2025-08-24 1/week @ 2025-09-14

823 downloads per month

MIT license

180KB
4.5K SLoC

arch crate

A crate help you to write a os that support multiple platforms.

Wiki

Supported platforms

Platform Board
riscv64 qemu
x86_64 qemu
aarch64 qemu
loongarch64 qemu

Example

Here is an simple example in the example dir.

Run

# Run on riscv64
make ARCH=riscv64 example
# Run on x86_64
make ARCH=x86_64 example
# Run on aarch64
make ARCH=aarch64 example
# Run on loongarch64
make ARCH=loongarch64 example

Dependencies

~7.5MB
~119K SLoC