Zephyr API Documentation  3.6.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
arc_secure.h File Reference
#include <zephyr/types.h>
#include <stdbool.h>
#include <zephyr/arch/arc/v2/aux_regs.h>

Go to the source code of this file.

Macros

#define SJLI_CALL_ARC_SECURE   0
 
#define ARC_S_CALL_AUX_READ   0
 
#define ARC_S_CALL_AUX_WRITE   1
 
#define ARC_S_CALL_IRQ_ALLOC   2
 
#define ARC_S_CALL_CLRI   3
 
#define ARC_S_CALL_SETI   4
 
#define ARC_S_CALL_LIMIT   5
 
#define ARC_N_IRQ_START_LEVEL   ((CONFIG_NUM_IRQ_PRIO_LEVELS + 1) / 2)
 
#define arc_sjli(id)    (__asm__ volatile("sjli %[sjli_id]\n" :: [sjli_id] "i" (id)))
 

Macro Definition Documentation

◆ ARC_N_IRQ_START_LEVEL

#define ARC_N_IRQ_START_LEVEL   ((CONFIG_NUM_IRQ_PRIO_LEVELS + 1) / 2)

◆ ARC_S_CALL_AUX_READ

#define ARC_S_CALL_AUX_READ   0

◆ ARC_S_CALL_AUX_WRITE

#define ARC_S_CALL_AUX_WRITE   1

◆ ARC_S_CALL_CLRI

#define ARC_S_CALL_CLRI   3

◆ ARC_S_CALL_IRQ_ALLOC

#define ARC_S_CALL_IRQ_ALLOC   2

◆ ARC_S_CALL_LIMIT

#define ARC_S_CALL_LIMIT   5

◆ ARC_S_CALL_SETI

#define ARC_S_CALL_SETI   4

◆ arc_sjli

#define arc_sjli (   id)     (__asm__ volatile("sjli %[sjli_id]\n" :: [sjli_id] "i" (id)))

◆ SJLI_CALL_ARC_SECURE

#define SJLI_CALL_ARC_SECURE   0