pub enum StackPointerSelect {
    Level0,
    CurrentLevel,
}
Available on AArch64 only.
Expand description

Controls which stack pointer register is used when executing code at EL1 or higher.

Variants§

§

Level0

T (thread) mode: use the stack pointer register from EL0.

§

CurrentLevel

H (handler) mode: use the stack pointer register for the current exception level.

Implementations§

Get the value of the flag for the current exception level. Only accessible from EL1 or higher.

Update the value of the flag for the current exception level.

Safety

This can alter the current stack pointer, which can have dramatic effects on the execution of the current function.

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.