Function cortex_m::asm::bootstrap [−][src]
pub unsafe fn bootstrap(msp: *const u32, rv: *const u32) -> !
Bootstrap.
Clears CONTROL.SPSEL (setting the main stack to be the active stack),
updates the main stack pointer to the address in msp
, then jumps
to the address in rv
.
Safety
msp
and rv
must point to valid stack memory and executable code,
respectively.