This file contains functions for memory mapping None of the described functions will check the input parameters so the behavior of the APIs in illegal parameters case is dependent on the operating system behavior. More...
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
This file contains functions for memory mapping None of the described functions will check the input parameters so the behavior of the APIs in illegal parameters case is dependent on the operating system behavior.
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] physicalAddress Start physical address of the I/O range to be mapped. [in] mapSize Number of bytes that were mapped. [out] ppVirtBuffAddr Pointer 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] pVirtBuffAddr Pointer to the base virtual address to which the physical pages were mapped. [in] mapSize Number of bytes that were mapped.