AM64x MCU+ SDK  08.03.00
MmuP_armv8.h File Reference

Go to the source code of this file.

Data Structures

struct  MmuP_MapAttrs
 Attribute's to apply for a MMU region. More...
 
struct  MmuP_Config
 MMU config structure, this used by SysConfig and not to be used by end-users directly. More...
 
struct  MmuP_RegionConfig
 Region config structure, this used by SysConfig and not to be used by end-users directly. More...
 

Enumerations

enum  MmuP_AccessPerm { MMUP_ACCESS_PERM_PRIV_RW_USER_NONE = 0x0, MMUP_ACCESS_PERM_PRIV_RW_USER_RW = 0x1, MMUP_ACCESS_PERM_PRIV_RO_USER_NONE = 0x2, MMUP_ACCESS_PERM_PRIV_RO_USER_RO = 0x3 }
 Enum's to represent different types of access permissions that are possible for a given MMU region. More...
 
enum  MmuP_Shareable { MMUP_SHARABLE_NONE = 0x0, MMUP_SHARABLE_OUTER = 0x2, MMUP_SHARABLE_INNER = 0x3 }
 Enum's to represent MMU region sharable status. More...
 
enum  MmuP_AttrIndx {
  MMUP_ATTRINDX_MAIR0 = 0, MMUP_ATTRINDX_MAIR1, MMUP_ATTRINDX_MAIR2, MMUP_ATTRINDX_MAIR3,
  MMUP_ATTRINDX_MAIR4, MMUP_ATTRINDX_MAIR5, MMUP_ATTRINDX_MAIR6, MMUP_ATTRINDX_MAIR7
}
 Enum's to represent MMU attribute index. More...
 

Functions

void MmuP_MapAttrs_init (MmuP_MapAttrs *attrs)
 Set default values to MmuP_MapAttrs. More...
 
void MmuP_enable ()
 Enable MMU sub-system. More...
 
void MmuP_disable (void)
 Disable MMU sub-system. More...
 
uint32_t MmuP_isEnabled ()
 Check if MMU sub-system is enabled. More...
 
int32_t MmuP_map (uintptr_t vaddr, uintptr_t paddr, uint32_t size, MmuP_MapAttrs *mapAttrs)
 Setup a region in the MMU. More...
 
void MmuP_init ()
 Initialize MMU sub-system, called by SysConfig, not to be called by end users. More...