Go to the source code of this file.
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.
Platform specific initialization of SPE mailbox.
- Parameters
-
[in] | s_queue | The base address of SPE mailbox queue. |
- Return values
-
MAILBOX_SUCCESS | Operation succeeded. |
Other | return code Operation failed with an error code. |
int32_t tfm_mailbox_hal_notify_peer |
( |
void |
| ) |
|
Notify NSPE that a PSA client call return result is replied. Implemented by platform specific inter-processor communication driver.
- Return values
-
MAILBOX_SUCCESS | The notification is successfully sent out. |
Other | return code Operation failed with an error code. |
int32_t tfm_mailbox_handle_msg |
( |
void |
| ) |
|
Handle mailbox message(s) from NSPE.
- Return values
-
MAILBOX_SUCCESS | Successfully get PSA client call return result. |
Other | return code Operation failed with an error code. |
Definition at line 183 of file tfm_spe_mailbox.c.
int32_t tfm_mailbox_init |
( |
void |
| ) |
|
SPE mailbox initialization.
- Return values
-
MAILBOX_SUCCESS | Operation succeeded. |
Other | return code Operation failed with an error code. |
Definition at line 376 of file tfm_spe_mailbox.c.
Return PSA client call return result to NSPE.
- Parameters
-
[in] | handle | The handle to the mailbox message |
[in] | reply | PSA client call return result to be written to NSPE. |
- Return values
-
MAILBOX_SUCCESS | Operation succeeded. |
Other | return code Operation failed with an error code. |
Definition at line 294 of file tfm_spe_mailbox.c.