diff options
Diffstat (limited to 'src/bits64/task.rs')
-rw-r--r-- | src/bits64/task.rs | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/bits64/task.rs b/src/bits64/task.rs index 1d98bad..c7dc781 100644 --- a/src/bits64/task.rs +++ b/src/bits64/task.rs @@ -1,16 +1,11 @@ //! Helpers to program the task state segment. //! See Intel 3a, Chapter 7, Section 7 -use shared::segmentation; - -pub type TaskStateDescriptorLow = segmentation::SegmentDescriptor; -pub type TaskStateDescriptorHigh = u64; - /// In 64-bit mode the TSS holds information that is not /// directly related to the task-switch mechanism, /// but is used for finding kernel level stack /// if interrupts arrive while in kernel mode. -#[derive(Debug)] +#[derive(Clone, Copy, Debug)] #[repr(C, packed)] pub struct TaskStateSegment { pub reserved: u32, |