aboutsummaryrefslogtreecommitdiff
path: root/src/bits64/irq.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/bits64/irq.rs')
-rw-r--r--src/bits64/irq.rs9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/bits64/irq.rs b/src/bits64/irq.rs
index 50d205d..da2e3c4 100644
--- a/src/bits64/irq.rs
+++ b/src/bits64/irq.rs
@@ -1,7 +1,7 @@
//! Interrupt description and set-up code.
-
+/*
use ::segmentation::SegmentSelector;
-use PrivilegeLevel;
+use Ring;
use descriptor::*;
use paging::VAddr;
@@ -21,7 +21,7 @@ pub struct IdtEntry {
/// This must always be zero.
pub ist_index: u8,
/// Flags.
- pub flags: Flags,
+ pub struct: Flags,
/// The upper 48 bits of ISR (the last 16 bits must be zero).
pub base_hi: u64,
/// Must be zero.
@@ -67,7 +67,7 @@ impl IdtEntry {
pub fn new(
handler: VAddr,
gdt_code_selector: SegmentSelector,
- dpl: PrivilegeLevel,
+ dpl: Ring,
ty: Type,
ist_index: u8,
) -> IdtEntry {
@@ -83,3 +83,4 @@ impl IdtEntry {
}
}
+*/ \ No newline at end of file