Skip to content

Commit

Permalink
Merge pull request wolfSSL#454 from danielinux/armv8_ns_vtor
Browse files Browse the repository at this point in the history
Set VTOR_NS instead of VTOR upon staging when TrustZone is enabled
  • Loading branch information
dgarske authored Jun 4, 2024
2 parents 53a7f64 + 9575bbc commit ca3e8dc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/boot_arm.c
Original file line number Diff line number Diff line change
Expand Up @@ -326,10 +326,12 @@ void isr_empty(void)
* - Call the application entry point
*
*/
#define VTOR (*(volatile uint32_t *)(0xE000ED08))

#ifdef TZEN
#include "hal.h"
#define VTOR (*(volatile uint32_t *)(0xE002ED08))
#else
#define VTOR (*(volatile uint32_t *)(0xE000ED08))
#endif


Expand Down

0 comments on commit ca3e8dc

Please sign in to comment.