|
AM62Ax MCU+ SDK
10.01.00
|
|
Go to the documentation of this file.
56 typedef enum MmuP_AccessPerm_ {
66 typedef enum MmuP_Shareable_ {
75 typedef enum MmuP_AttrIndx_ {
92 typedef struct MmuP_MapAttrs_ {
104 typedef struct MmuP_Config_ {
112 typedef struct MmuP_RegionConfig_ {
@ MMUP_ACCESS_PERM_PRIV_RO_USER_NONE
Definition: MmuP_armv8.h:59
MmuP_AccessPerm accessPerm
Definition: MmuP_armv8.h:93
@ MMUP_ATTRINDX_MAIR0
Definition: MmuP_armv8.h:76
uint16_t size
Definition: tisci_boardcfg.h:1
MmuP_AccessPerm
Enum's to represent different types of access permissions that are possible for a given MMU region.
Definition: MmuP_armv8.h:56
uint32_t size
Definition: MmuP_armv8.h:115
@ MMUP_ATTRINDX_MAIR3
Definition: MmuP_armv8.h:79
uint8_t userExecute
Definition: MmuP_armv8.h:95
Attribute's to apply for a MMU region.
Definition: MmuP_armv8.h:92
void MmuP_enable()
Enable MMU sub-system.
@ MMUP_ATTRINDX_MAIR7
Definition: MmuP_armv8.h:83
@ MMUP_ACCESS_PERM_PRIV_RW_USER_NONE
Definition: MmuP_armv8.h:57
MmuP_MapAttrs attr
Definition: MmuP_armv8.h:116
MmuP_AttrIndx attrIndx
Definition: MmuP_armv8.h:97
void MmuP_disable(void)
Disable MMU sub-system.
uint64_t vaddr
Definition: MmuP_armv8.h:113
void MmuP_MapAttrs_init(MmuP_MapAttrs *attrs)
Set default values to MmuP_MapAttrs.
uint8_t enableMmu
Definition: MmuP_armv8.h:106
@ MMUP_ATTRINDX_MAIR2
Definition: MmuP_armv8.h:78
MmuP_Shareable shareable
Definition: MmuP_armv8.h:96
MMU config structure, this used by SysConfig and not to be used by end-users directly.
Definition: MmuP_armv8.h:104
@ MMUP_SHARABLE_OUTER
Definition: MmuP_armv8.h:68
MmuP_Shareable
Enum's to represent MMU region sharable status.
Definition: MmuP_armv8.h:66
uint8_t global
Definition: MmuP_armv8.h:98
uint64_t paddr
Definition: MmuP_armv8.h:114
@ MMUP_SHARABLE_NONE
Definition: MmuP_armv8.h:67
@ MMUP_ATTRINDX_MAIR5
Definition: MmuP_armv8.h:81
@ MMUP_ACCESS_PERM_PRIV_RW_USER_RW
Definition: MmuP_armv8.h:58
uint32_t MmuP_isEnabled()
Check if MMU sub-system is enabled.
uint8_t privExecute
Definition: MmuP_armv8.h:94
@ MMUP_ATTRINDX_MAIR1
Definition: MmuP_armv8.h:77
@ MMUP_ATTRINDX_MAIR4
Definition: MmuP_armv8.h:80
Region config structure, this used by SysConfig and not to be used by end-users directly.
Definition: MmuP_armv8.h:112
@ MMUP_ACCESS_PERM_PRIV_RO_USER_RO
Definition: MmuP_armv8.h:60
void MmuP_init()
Initialize MMU sub-system, called by SysConfig, not to be called by end users.
int32_t MmuP_map(uintptr_t vaddr, uintptr_t paddr, uint32_t size, MmuP_MapAttrs *mapAttrs)
Setup a region in the MMU.
@ MMUP_SHARABLE_INNER
Definition: MmuP_armv8.h:69
@ MMUP_ATTRINDX_MAIR6
Definition: MmuP_armv8.h:82
uint32_t numRegions
Definition: MmuP_armv8.h:105
MmuP_AttrIndx
Enum's to represent MMU attribute index.
Definition: MmuP_armv8.h:75