8 #ifndef __TFM_SPE_MAILBOX_H__
9 #define __TFM_SPE_MAILBOX_H__
struct ns_mailbox_queue_t * ns_queue
int32_t tfm_mailbox_init(void)
SPE mailbox initialization.
int32_t tfm_mailbox_reply_msg(mailbox_msg_handle_t handle, int32_t reply)
Return PSA client call return result to NSPE.
int32_t tfm_mailbox_hal_init(struct secure_mailbox_queue_t *s_queue)
Platform specific initialization of SPE mailbox.
mailbox_queue_status_t empty_slots
mailbox_msg_handle_t msg_handle
uint8_t cur_proc_slot_idx
int32_t tfm_mailbox_hal_notify_peer(void)
Notify NSPE that a PSA client call return result is replied. Implemented by platform specific inter-p...
#define NUM_MAILBOX_QUEUE_SLOT
uint32_t mailbox_queue_status_t
int32_t mailbox_msg_handle_t
void tfm_mailbox_hal_enter_critical(void)
Enter critical section of NSPE mailbox.
void tfm_mailbox_hal_exit_critical(void)
Exit critical section of NSPE mailbox.
struct secure_mailbox_slot_t queue[NUM_MAILBOX_QUEUE_SLOT]
int32_t tfm_mailbox_handle_msg(void)
Handle mailbox message(s) from NSPE.