1#ifndef RTEMS_E500_MMU_DRIVER_H
2#define RTEMS_E500_MMU_DRIVER_H
67typedef int rtems_e500_tlb_idx;
68#define E500_SELTLB_0 0x0000
69#define E500_SELTLB_1 0x1000
98rtems_e500_dmptlbc(FILE *f);
121rtems_e500_prtlb(rtems_e500_tlb_idx key,
int quiet, FILE *f);
131rtems_e500_initlb(
void);
168#define E500_TLB_ATTR_WIMGE(x) ((x)&0x7f)
169#define E500_TLB_ATTR_WIMGE_GET(x) ((x)&0x7f)
170#define E500_TLB_ATTR_TS (1<<7)
171#define E500_TLB_ATTR_PERM(x) (((x)&0x3ff)<<8)
172#define E500_TLB_ATTR_PERM_GET(x) (((x)>>8)&0x3ff)
173#define E500_TLB_ATTR_TID(x) (((x)&0xfff)<<20)
174#define E500_TLB_ATTR_TID_GET(x) (((x)>>20)&0xfff)
177rtems_e500_wrtlb(
int idx, uint32_t ea, uint32_t pa,
int sz, uint32_t attr);
195rtems_e500_matchtlb(uint32_t ea, uint32_t tid,
int ts,
int sz);
207rtems_e500_ftlb(uint32_t ea,
int as);
224rtems_e500_clrtlb(rtems_e500_tlb_idx key);
Provide printf() PRIxxx Constante Beyond Standards.
This header file defines the RTEMS Classic API.
Definition: e500_mmu.h:76