arm

Crates.ioarm
lib.rsarm
version0.0.1
sourcesrc
created_at2017-12-12 21:14:50.787383
updated_at2017-12-12 21:14:50.787383
descriptionLow level abstraction of ARM architecture specific features.
homepagehttps://github.com/voyt/rust-arm
repositoryhttps://github.com/voyt/rust-arm
max_upload_size
id42883
size4,541
Dmitry Voytik (dvoytik)

documentation

README

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

Commit count: 0

cargo fmt