pub unsafe fn bootload(vector_table: *const u32) -> !
Expand description

Bootload.

Reads the initial stack pointer value and reset vector from the provided vector table address, sets the active stack to the main stack, sets the main stack pointer to the new initial stack pointer, then jumps to the reset vector.

Safety

The provided vector_table must point to a valid vector table, with a valid stack pointer as the first word and a valid reset vector as the second word.