pub enum VectorBaseAddressRegister {}
Available on AArch64 only.
Expand description
VBAR_ELx
: Contains the address of the VectorTable
that the processor should use
at a given exception level.
Implementations§
source§impl VectorBaseAddressRegister
impl VectorBaseAddressRegister
sourcepub fn get(level: ExceptionLevel) -> *const VectorTable
pub fn get(level: ExceptionLevel) -> *const VectorTable
Retrieve the current value of this register for the specified exception level.
Only defined for exception levels 1–3. The register for a given exception level is only accessible from that level or higher.
sourcepub fn set(level: ExceptionLevel, value: *const VectorTable)
pub fn set(level: ExceptionLevel, value: *const VectorTable)
Update the register for the specified exception level with the given value.
Address must be aligned to 11 bits (2048).