diff options
author | 2017-11-14 18:16:48 +0100 | |
---|---|---|
committer | 2017-11-14 18:16:48 +0100 | |
commit | 18a85b50fd179fe2f97be7a7217cdfa74ae601e2 (patch) | |
tree | 1de68720694c91dd3aaf71286f53d0c995fcb746 /src/bits64/task.rs | |
parent | d9b17859610b9901695178172a88038e279211ca (diff) | |
parent | 7afc050be9266413f9104e51a59e061b9a918bbc (diff) | |
download | rust-x86-18a85b50fd179fe2f97be7a7217cdfa74ae601e2.tar.gz rust-x86-18a85b50fd179fe2f97be7a7217cdfa74ae601e2.tar.zst rust-x86-18a85b50fd179fe2f97be7a7217cdfa74ae601e2.zip |
Merge branch 'master' into devel
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, |