RTEMS: bsps/powerpc/mpc55xxevb/include/mpc55xx/regs-mmu.h File Reference

| RTEMS 5.4-rc2

Loading...
Searching...
No Matches
Data Structures | Macros
regs-mmu.h File Reference
Board Support Packages » PowerPC » NXP MPC55XX and MPC56XX
`#include <stdint.h>`
`#include <bspopts.h>`

Go to the source code of this file.

## Data Structures
struct | MMU_tag
union | MMU_MAS4_tag
union | MMU_MAS6_tag

## Macros
#define | MPC55XX_MMU_TAG_TRANSLATE_INITIALIZER(idx, addreff, addrreal, size, x, w, r, io)
#define | MPC55XX_MMU_TAG_INITIALIZER(idx, addr, size, x, w, r, io) MPC55XX_MMU_TAG_TRANSLATE_INITIALIZER(idx, addr, addr, size, x, w, r, io)
#define | MPC55XX_MMU_1K 0
#define | MPC55XX_MMU_2K 1
#define | MPC55XX_MMU_4K 2
#define | MPC55XX_MMU_8K 3
#define | MPC55XX_MMU_16K 4
#define | MPC55XX_MMU_32K 5
#define | MPC55XX_MMU_64K 6
#define | MPC55XX_MMU_128K 7
#define | MPC55XX_MMU_256K 8
#define | MPC55XX_MMU_512K 9
#define | MPC55XX_MMU_1M 10
#define | MPC55XX_MMU_2M 11
#define | MPC55XX_MMU_4M 12
#define | MPC55XX_MMU_8M 13
#define | MPC55XX_MMU_16M 14
#define | MPC55XX_MMU_32M 15
#define | MPC55XX_MMU_64M 16
#define | MPC55XX_MMU_128M 17
#define | MPC55XX_MMU_256M 18
#define | MPC55XX_MMU_512M 19
#define | MPC55XX_MMU_1G 20
#define | MPC55XX_MMU_2G 21
#define | MPC55XX_MMU_4G 22

## Macro Definition Documentation

## ◆ MPC55XX_MMU_TAG_TRANSLATE_INITIALIZER

#define MPC55XX_MMU_TAG_TRANSLATE_INITIALIZER | ( |  | idx,
|  |  | addreff,
|  |  | addrreal,
|  |  | size,
|  |  | x,
|  |  | w,
|  |  | r,
|  |  | io
| ) |  |

Value:
{ \
.MAS0 = { .B = { .TLBSEL = 1, .ESEL = (idx) } }, \
.MAS1 = { .B = { \
.VALID = 1, .IPROT = 1, .TID = 0, .TS = 0, .TSIZE = (size) } \
}, \
.MAS2 = { .B = { \
.EPN = (addreff) >> 10, .VLE = 0, \
.W = (io) == 2, .I = (io) == 1, .M = 0, .G = (io) == 1, .E = 0 } \
}, \
.MAS3 = { .B = { \
.RPN = (addrreal) >> 10, .U0 = 0, .U1 = 0, .U2 = 0, .U3 = 0, .UX = 0, \
.SX = (x), .UW = 0, .SW = (w), .UR = 0, .SR = (r) } \
} \
}
w
unsigned w
Definition: tlb.h:16