aboutsummaryrefslogtreecommitdiff
path: root/src/controlregs.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/controlregs.rs')
-rw-r--r--src/controlregs.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/controlregs.rs b/src/controlregs.rs
index 1445eab..02855bb 100644
--- a/src/controlregs.rs
+++ b/src/controlregs.rs
@@ -1,7 +1,9 @@
//! Functions to read and write control registers.
//! See Intel Vol. 3a Section 2.5, especially Figure 2-7.
-use arch::{_xgetbv, _xsetbv};
+use bitflags::*;
+
+use crate::arch::{_xgetbv, _xsetbv};
bitflags! {
pub struct Cr0: usize {