1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-22 22:38:08 +00:00

fix(core): one forgotten ensure_compatible_settings

This commit is contained in:
Ondrej Mikle 2023-08-16 16:36:44 +02:00
parent 75a148e414
commit ac64d2d2f1

View File

@ -275,6 +275,8 @@ void SVC_C_Handler(uint32_t *stack) {
explicit_bzero(&firmware_header_start, IMAGE_HEADER_SIZE); explicit_bzero(&firmware_header_start, IMAGE_HEADER_SIZE);
} }
ensure_compatible_settings();
__asm__ volatile("msr control, %0" ::"r"(0x0)); __asm__ volatile("msr control, %0" ::"r"(0x0));
__asm__ volatile("isb"); __asm__ volatile("isb");
// See stack layout in // See stack layout in