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:
parent
9d0894fd51
commit
e01fb50541
|
@ -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 */
|
||||
|
|
|
@ -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 ************************************************/
|
||||
|
|
Loading…
Reference in New Issue