| Crates.io | x86 |
| lib.rs | x86 |
| version | 0.52.0 |
| created_at | 2015-03-28 19:46:43.97791+00 |
| updated_at | 2022-10-18 23:08:19.827124+00 |
| description | Library to program x86 (amd64) hardware. Contains x86 specific data structure descriptions, data-tables, as well as convenience function to call assembly instructions typically not exposed in higher level languages. |
| homepage | https://github.com/gz/rust-x86 |
| repository | https://github.com/gz/rust-x86 |
| max_upload_size | |
| id | 1731 |
| size | 20,215,093 |
Library to program x86 (amd64) hardware. Contains x86 specific data structure descriptions, data-tables, as well as convenience function to call assembly instructions typically not exposed in higher level languages.
Currently supports:
This library depends on libcore so it can be used in kernel level code.
We use two forms of tests for the crate. Regular tests with #[test] that run in a ring 3 process
and #[x86test] tests that run in a VM (and therefore grant a privileged execution environment, see x86test).
# To execute x86tests run:
$ RUSTFLAGS="-C relocation-model=dynamic-no-pic -C code-model=kernel" RUST_BACKTRACE=1 cargo test --features vmtest
# To execute the regular tests, run:
$ cargo test --features utest