aboutsummaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
authorGravatar Gerd Zellweger <mail@gerdzellweger.com> 2019-09-12 13:30:08 -0700
committerGravatar Gerd Zellweger <mail@gerdzellweger.com> 2019-09-12 13:30:08 -0700
commit6ce081418448d69847a4615157d3d8fa89fd188c (patch)
tree16886cc178cf00c097b7c003ed9dc363df563e19 /src/lib.rs
parenta9eaf44e421bcdc4e9728ef1b33f90bb538310ec (diff)
downloadrust-x86-6ce081418448d69847a4615157d3d8fa89fd188c.tar.gz
rust-x86-6ce081418448d69847a4615157d3d8fa89fd188c.tar.zst
rust-x86-6ce081418448d69847a4615157d3d8fa89fd188c.zip
Add initial APIC code.
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib.rs b/src/lib.rs
index de71f33..259167d 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -1,6 +1,6 @@
#![cfg(any(target_arch = "x86", target_arch = "x86_64"))]
#![allow(stable_features)]
-#![feature(const_fn, asm, repr_transparent)]
+#![feature(const_fn, asm, repr_transparent, core_intrinsics)]
#![no_std]
#![cfg_attr(test, allow(unused_features))]
#![cfg_attr(all(test, feature = "vmtest"), feature(custom_test_frameworks))]
@@ -21,6 +21,7 @@ pub mod bits16;
pub mod bits32;
pub mod bits64;
+pub mod apic;
pub mod controlregs;
pub mod dtables;
pub mod io;
@@ -31,7 +32,6 @@ pub mod segmentation;
pub mod task;
pub mod time;
pub mod tlb;
-pub mod xapic;
#[cfg(feature = "performance-counter")]
pub mod perfcnt;