1 #ifndef RTEMS_VIRTEX4_MMU_H 2 #define RTEMS_VIRTEX4_MMU_H 78 typedef int bsp_tlb_idx_t;
111 #define MMU_M_SIZE_1K (0x00000000U) 112 #define MMU_M_SIZE_4K (0x08000000U) 113 #define MMU_M_SIZE_16K (0x10000000U) 114 #define MMU_M_SIZE_64K (0x18000000U) 115 #define MMU_M_SIZE_256K (0x20000000U) 116 #define MMU_M_SIZE_1M (0x28000000U) 117 #define MMU_M_SIZE_4M (0x30000000U) 118 #define MMU_M_SIZE_16M (0x38000000U) 119 #define MMU_M_SIZE_MIN (MMU_M_SIZE_1K) 120 #define MMU_M_SIZE_MAX (MMU_M_SIZE_16M) 121 #define MMU_M_SIZE (0x38000000U) 122 #define MMU_V_SIZE (27) 124 #define MMU_M_ATTR_LITTLE_ENDIAN (0x02000000U) 125 #define MMU_M_ATTR_USER0 (0x01000000U) 126 #define MMU_M_ATTR (0x03000000U) 127 #define MMU_V_ATTR (24) 132 #define MMU_M_PERM_EXEC (0x00000200U) 133 #define MMU_M_PERM_DATA_WRITE (0x00000100U) 134 #define MMU_M_PERM_ZONE_SELECT (0x000000f0U) 135 #define MMU_M_PERM (0x000003f0U) 136 #define MMU_V_PERM (4) 138 #define MMU_M_PROP_WRITE_THROUGH (0x00000008U) 139 #define MMU_M_PROP_UNCACHED (0x00000004U) 140 #define MMU_M_PROP_MEM_COHERENT (0x00000002U) 141 #define MMU_M_PROP_GUARDED (0x00000001U) 142 #define MMU_M_PROP (0x0000000fU) 143 #define MMU_V_PROP (0) 151 bsp_mmu_dump_cache(FILE *f);
171 bsp_mmu_update(bsp_tlb_idx_t key,
bool quiet, FILE *f);
179 bsp_mmu_initialize(
void);
187 bsp_mmu_find_first_free(
void);
220 bsp_mmu_write(bsp_tlb_idx_t idx, uint32_t ea, uint32_t pa, uint sz,
221 uint32_t flgs, uint32_t tid);
237 bsp_mmu_match(uint32_t ea,
int sz, uint32_t tid);
249 bsp_mmu_find(uint32_t ea, uint32_t tid);
261 bsp_mmu_invalidate(bsp_tlb_idx_t key);
uint32_t perm
Definition: mmu.h:98
uint32_t att
Definition: mmu.h:93
Provide printf() PRIxxx Constante Beyond Standards.
uint32_t v
Definition: mmu.h:92
uint32_t wimg
Definition: mmu.h:99
uint32_t pad
Definition: mmu.h:86
uint32_t size
Definition: mmu.h:91