Struct uefi::table::boot::Tpl [−][src]
#[repr(transparent)]pub struct Tpl(pub usize);
Expand description
Task priority level.
Although the UEFI specification repeatedly states that only the variants specified below should be used in application-provided input, as the other are reserved for internal firmware use, it might still happen that the firmware accidentally discloses one of these internal TPLs to us.
Since feeding an unexpected variant to a Rust enum is UB, this means that this C enum must be interfaced via the newtype pattern.
Implementations
impl Tpl
[src]
impl Tpl
[src]pub const APPLICATION: Tpl
[src]
pub const APPLICATION: Tpl
[src]Normal task execution level.
pub const NOTIFY: Tpl
[src]
pub const NOTIFY: Tpl
[src]Notifications are masked at this level.
This is used in critical sections of code.
pub const HIGH_LEVEL: Tpl
[src]
pub const HIGH_LEVEL: Tpl
[src]Highest priority level.
Even processor interrupts are disable at this level.