Struct tartan_arch::x86::protection::TaskStateSegmentBitmaps
source · #[repr(C)]pub struct TaskStateSegmentBitmaps<T>{
pub interrupt_redirect: [u8; 32],
pub io_permission: IOPermissionBitmap<T>,
}
Available on x86 only.
Expand description
I/O permission map and interrupt redirect map, which are always located together in a task state segment (TSS).
Fields§
§interrupt_redirect: [u8; 32]
Indicates which handler to use for software-triggered interrupts in virtual real mode.
If bit N
(bit N mod 8
of byte floor(N / 8)
) is set, it indicates that an
INT N
in virtual real mode should be handled using the protected-mode mechanism
rather than the process’s own interrupt table.
io_permission: IOPermissionBitmap<T>
The IOPermissionBitmap
for this task.
Trait Implementations§
source§impl<T> Debug for TaskStateSegmentBitmaps<T>
impl<T> Debug for TaskStateSegmentBitmaps<T>
source§impl<T> PartialEq for TaskStateSegmentBitmaps<T>
impl<T> PartialEq for TaskStateSegmentBitmaps<T>
impl<T> Eq for TaskStateSegmentBitmaps<T>
impl<T> StructuralPartialEq for TaskStateSegmentBitmaps<T>
Auto Trait Implementations§
impl<T> Freeze for TaskStateSegmentBitmaps<T>
impl<T> RefUnwindSafe for TaskStateSegmentBitmaps<T>where
T: RefUnwindSafe + ?Sized,
impl<T> Send for TaskStateSegmentBitmaps<T>
impl<T> Sync for TaskStateSegmentBitmaps<T>
impl<T> Unpin for TaskStateSegmentBitmaps<T>
impl<T> UnwindSafe for TaskStateSegmentBitmaps<T>where
T: UnwindSafe + ?Sized,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more