theseus-os / x86_64

Library to program x86_64 hardware.

Home Page:https://docs.rs/x86_64

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This fork has been archived

This fork is no longer needed due to theseus-os/Theseus#524.

Please use the upstream x86_64 crate instead.

x86_64 library

Crates.io Build Status docs.rs

Support for x86_64 specific instructions (e.g. TLB flush), registers (e.g. control registers), and structures (e.g. page tables).

Crate Feature Flags

  • nightly: Enables features only available on nightly Rust; enabled by default.
  • instructions: Enabled by default, turns on x86_64 specific instructions, and dependent features. Only available for x86_64 targets.
  • external_asm: Use this to build with non-nightly rust. Needs default-features = false, features = ["instructions"]. Is unsupported on Windows.

Building with stable rust

This needs to have the compile-time requirements of the cc crate installed on your system. It was currently only tested on Linux and MacOS.

About

Library to program x86_64 hardware.

https://docs.rs/x86_64

License:Apache License 2.0


Languages

Language:Rust 99.6%Language:Python 0.4%