Module ruspiro_arch_aarch64::register::currentel [−][src]
CurrentEL - Current Exception Level
Holds the current exception level
// read the current exeption level - do this by accessing the predefined // register field let current_el = currentel::read(currentel::EL::Field); if current_el == currentel::EL::EL2 { /* do something */ }
Modules
EL | The current exception level |
Functions
get | Read the raw register contents using the appropriate assembly |
read | Read the contents of a specific |
set | Write the raw register contents using the appropriate contents |
write | Update the contents of a register from the |