[−][src]Struct sunrise_kernel::i386::gdt::MainTask
The main TSS. See MAIN_TASK.
Fields
tss: TssStruct
TssStruct of the main task.
iopb: [u8; 8193]
Array of bits representing the io-space permissions:
0
: this port is addressable.1
: this port is not addressable.
Implementations
impl MainTask
[src]
const fn empty() -> MainTask
[src]
Creates an empty TSS.
Suitable for static declaration, the whole structure should end up in the .bss
.
This means that the IOPB will be set to everything addressable.
Must be initialised by calling init.
fn init(&mut self)
[src]
Fills the TSS.
The struct inherits the current task's values (except registers, which are set to 0).
IOPB is set to nothing addressable.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for MainTask
impl Send for MainTask
impl Sync for MainTask
impl Unpin for MainTask
impl UnwindSafe for MainTask
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,