nRF5 SDK v17.1.0
Functions
CryptoCell PAL memory mapping APIs

Functions

uint32_t SaSi_PalMemMap (uint32_t physicalAddress, uint32_t mapSize, uint32_t **ppVirtBuffAddr)
 This function purpose is to return the base virtual address that maps the base physical address. More...
 
uint32_t SaSi_PalMemUnMap (uint32_t *pVirtBuffAddr, uint32_t mapSize)
 This function purpose is to Unmap a specified address range previously mapped by SaSi_PalMemMap. More...
 

Detailed Description

Function Documentation

uint32_t SaSi_PalMemMap ( uint32_t  physicalAddress,
uint32_t  mapSize,
uint32_t **  ppVirtBuffAddr 
)

This function purpose is to return the base virtual address that maps the base physical address.

Returns
Zero on success.
A non-zero value in case of failure.
Parameters
[in]physicalAddressStart physical address of the I/O range to be mapped.
[in]mapSizeNumber of bytes that were mapped.
[out]ppVirtBuffAddrPointer to the base virtual address to which the physical pages were mapped.
uint32_t SaSi_PalMemUnMap ( uint32_t *  pVirtBuffAddr,
uint32_t  mapSize 
)

This function purpose is to Unmap a specified address range previously mapped by SaSi_PalMemMap.

Returns
Zero on success.
A non-zero value in case of failure.
Parameters
[in]pVirtBuffAddrPointer to the base virtual address to which the physical pages were mapped.
[in]mapSizeNumber of bytes that were mapped.

Documentation feedback | Developer Zone | Subscribe | Updated