|
AM263x MCU+ SDK
10.00.00
|
|
Go to the documentation of this file.
33 #ifndef SIPC_NOTIFY_H_
34 #define SIPC_NOTIFY_H_
42 #include <security_common/drivers/secure_ipc_notify/soc/sipc_notify_soc.h>
74 typedef void (*
SIPC_FxnCallback)(uint8_t remoteSecCoreId, uint8_t localClientId, uint8_t remoteClientId ,uint8_t *msgValue,
void *
args);
84 typedef struct SIPC_Params_ {
115 typedef enum SIPC_fifoFlags_
170 int32_t
SIPC_sendMsg(uint8_t remoteSecCoreId, uint8_t remoteClientId, uint8_t localClientId ,uint8_t* msgValue,
SIPC_fifoFlags waitForFifoNotFull);
int32_t SIPC_unregisterClient(uint16_t localClientId)
Un-register a previously registered callback.
Parameters used by SIPC_init.
Definition: sipc_notify.h:84
void * args
Definition: hsmclient_msg.h:4
uint32_t numCores
Definition: sipc_notify.h:86
uint8_t interruptConfig_Num
Definition: sipc_notify.h:108
void SIPC_Params_init(SIPC_Params *params)
Set default value to SIPC_Params.
uint16_t ipcQueue_eleSize_inBytes
Definition: sipc_notify.h:95
@ WAIT_IF_FIFO_FULL
Definition: sipc_notify.h:118
@ ABORT_ON_FIFO_FULL
Definition: sipc_notify.h:117
uint8_t intrPriority
Definition: sipc_notify.h:107
int32_t SIPC_init(SIPC_Params *params)
Initialize Secure IPC notify module.
int32_t SIPC_registerClient(uint8_t localClientId, SIPC_FxnCallback msgCallback, void *args)
Register a callback to handle messages received from a specific remote core and for a specific local ...
void(* SIPC_FxnCallback)(uint8_t remoteSecCoreId, uint8_t localClientId, uint8_t remoteClientId, uint8_t *msgValue, void *args)
User callback that is invoked when a message is received from a reote core for a given client ID.
Definition: sipc_notify.h:74
@ MAX_SEC_CORES_WITH_HSM
Definition: sipc_notify_cfg.h:129
int32_t SIPC_sendMsg(uint8_t remoteSecCoreId, uint8_t remoteClientId, uint8_t localClientId, uint8_t *msgValue, SIPC_fifoFlags waitForFifoNotFull)
Send message to a specific remote core and specific client ID on that remote core.
uint32_t SIPC_getSelfSecMasterId(void)
Return current core sec master ID.
uint32_t ipcQueue_totalSize_inBytes
Definition: sipc_notify.h:96
uint32_t SIPC_isCoreEnabled(uint32_t coreId)
Check if a core is enabled for SIPC.
void SIPC_deInit(void)
De-initialize secure IPC Notify module.
uint32_t SIPC_getSelfCoreId(void)
Return current core ID.
uint16_t ipcQueue_length
Definition: sipc_notify.h:94
SIPC_fifoFlags
flags to pass with the SIPC_sendMsg Api which indicates the flow of execution when the write FIFO is ...
Definition: sipc_notify.h:116