compiler.h: rename CMSE extension attribute macros

rename CMSE extension attribute macros to avoid conflicts with 3rd party code:

  cmse_nonsecure_entry -> tz_nonsecure_netry
  cmse_nonsecure_call -> tz_nonsecure_call
This commit is contained in:
raiden00pl 2024-06-25 10:48:09 +02:00 committed by Alin Jerpelea
parent 9d0894fd51
commit e01fb50541
2 changed files with 3 additions and 3 deletions

View File

@ -56,7 +56,7 @@
****************************************************************************/
#ifdef CONFIG_NRF91_NONSECURE_BOOT
typedef void cmse_nonsecure_call nsfunc(void);
typedef void tz_nonsecure_call nsfunc(void);
#endif
/* This structure represents the first two entries on NVIC vector table */

View File

@ -491,8 +491,8 @@
/* CMSE extention */
# ifdef CONFIG_ARCH_HAVE_TRUSTZONE
# define cmse_nonsecure_entry __attribute__((cmse_nonsecure_entry))
# define cmse_nonsecure_call __attribute__((cmse_nonsecure_call))
# define tz_nonsecure_entry __attribute__((cmse_nonsecure_entry))
# define tz_nonsecure_call __attribute__((cmse_nonsecure_call))
# endif
/* SDCC-specific definitions ************************************************/