Skip to content

Low level abstraction of ARM architecture specific features.

License

Notifications You must be signed in to change notification settings

dvoytik/rust-arm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Low level abstraction of ARM architecture specific features.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages