#[repr(C)]pub struct InterruptReturnDecision {
pub next_rsp: u64,
pub old_fpu: *mut u8,
pub new_fpu: *const u8,
}Expand description
Decision returned by the raw interrupt trampolines.
Phase 1 of the preemptive scheduler refactor only wires the raw timer/IPI
stubs and returns next_rsp = 0, which means “restore the current
interrupt frame and return with iretq”. The future interrupt-aware scheduler
path will return a non-zero next_rsp and matching FPU buffers.
Fields§
§next_rsp: u64§old_fpu: *mut u8§new_fpu: *const u8Trait Implementations§
Source§impl Clone for InterruptReturnDecision
impl Clone for InterruptReturnDecision
Source§fn clone(&self) -> InterruptReturnDecision
fn clone(&self) -> InterruptReturnDecision
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for InterruptReturnDecision
impl Debug for InterruptReturnDecision
Source§impl Default for InterruptReturnDecision
impl Default for InterruptReturnDecision
Source§fn default() -> InterruptReturnDecision
fn default() -> InterruptReturnDecision
Returns the “default value” for a type. Read more
impl Copy for InterruptReturnDecision
Auto Trait Implementations§
impl Freeze for InterruptReturnDecision
impl RefUnwindSafe for InterruptReturnDecision
impl !Send for InterruptReturnDecision
impl !Sync for InterruptReturnDecision
impl Unpin for InterruptReturnDecision
impl UnsafeUnpin for InterruptReturnDecision
impl UnwindSafe for InterruptReturnDecision
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more