tests: enable kernel test fatal/exception for aarch32 Cortex-A CPUs
Add consideration of aarch32 Cortex-A CPUs to a test case in which architecture-specific assembly instructions are used in order to explicitly trigger an exception. This test case already considers aarch32 Cortex-R CPUs, the same instruction will be used by Cortex-A CPUs. Signed-off-by: Immo Birnbaum <Immo.Birnbaum@Weidmueller.com>
This commit is contained in:
parent
ee7ac70c10
commit
52a5c08325
1 changed files with 1 additions and 1 deletions
|
@ -97,7 +97,7 @@ void entry_cpu_exception_extend(void *p1, void *p2, void *p3)
|
|||
|
||||
#if defined(CONFIG_ARM64)
|
||||
__asm__ volatile ("svc 0");
|
||||
#elif defined(CONFIG_CPU_CORTEX_R)
|
||||
#elif defined(CONFIG_CPU_CORTEX_R) || defined(CONFIG_CPU_AARCH32_CORTEX_A)
|
||||
__asm__ volatile ("BKPT");
|
||||
#elif defined(CONFIG_CPU_CORTEX_M)
|
||||
__asm__ volatile ("swi 0");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue