arm 0.0.1

Low level abstraction of ARM architecture specific features.
Documentation

Rust ARM low level library Crates.io Crates.io

Low level abstraction of ARM architecture specific features.

Quick start

Note: for now this crate was checked only against ARMv7 targets.

Setup cross toolchains:

rustup install nightly
rustup default nightly
rustup target add armv7-unknown-linux-gnueabihf

cat >>~/.cargo/config <<EOF
[target.armv7-unknown-linux-gnueabihf]
linker = "arm-linux-gnueabihf-gcc"
EOF

You need to install arm-linux-gnueabihf-gcc separately for cross-linking.

More details about cross-compiling: https://github.com/japaric/rust-cross

Build:

cargo build --target=armv7-unknown-linux-gnueabihf

TODO

  • basic SMP for AArch64 and AArch32
  • EL1 registers
  • EL2 registers
  • EL3 registers

Documentation

cargo doc --open --target=armv7-unknown-linux-gnueabihf

License

The library is distributed under the terms of MIT license