mbed library sources. Supersedes mbed-src.

Dependents:   Nucleo_Hello_Encoder BLE_iBeaconScan AM1805_DEMO DISCO-F429ZI_ExportTemplate1 ... more

Embed: (wiki syntax)

« Back to documentation index

SPM HAL API

SPM HAL API
[Hal]

The HAL functions for PSA SPM. More...

Functions

void spm_hal_start_nspe (void)
 Start running the NSPE.
void spm_hal_memory_protection_init (void)
 Configure memory protection mechanism.
void spm_mailbox_irq_callback (void)
 Wakeup mailbox dispatcher thread.
void spm_hal_mailbox_notify (void)
 Notify the peer processor about a general event occurrence.

Detailed Description

The HAL functions for PSA SPM.


Function Documentation

void spm_hal_mailbox_notify ( void   )

Notify the peer processor about a general event occurrence.

Wake up the peer processor waiting on the mailbox driver event.

Note:
Implement the functions below with target-specific code.
void spm_hal_memory_protection_init ( void   )

Configure memory protection mechanism.

Apply memory protection schemes to ensure secure memory can only be accessed from secure-state.

Note:
The function must be implemented by target specific code.
void spm_hal_start_nspe ( void   )

Start running the NSPE.

Secure Processing Environment (SPE) expected to boot first. Once all the initializations are done, Nonsecure Processing Environment (NSPE) should be booted.

Note:
The function must be implemented by target specific code.
void spm_mailbox_irq_callback ( void   )

Wakeup mailbox dispatcher thread.

Arm implements this function, which is expected to be called by target- specific Inter-Processor-Communication logic on mailbox interrupt handler.