52 #ifndef LIBCPU_POWERPC_MPC55XX_REGS_MMU_H 53 #define LIBCPU_POWERPC_MPC55XX_REGS_MMU_H 129 uint32_t TLBSELD : 2;
131 uint32_t TIDSELD : 2;
153 #define MPC55XX_MMU_TAG_TRANSLATE_INITIALIZER(idx, addreff, addrreal, size, x, w, r, io) \ 155 .MAS0 = { .B = { .TLBSEL = 1, .ESEL = (idx) } }, \ 157 .VALID = 1, .IPROT = 1, .TID = 0, .TS = 0, .TSIZE = (size) } \ 160 .EPN = (addreff) >> 10, .VLE = 0, \ 161 .W = (io) == 2, .I = (io) == 1, .M = 0, .G = (io) == 1, .E = 0 } \ 164 .RPN = (addrreal) >> 10, .U0 = 0, .U1 = 0, .U2 = 0, .U3 = 0, .UX = 0, \ 165 .SX = (x), .UW = 0, .SW = (w), .UR = 0, .SR = (r) } \ 169 #define MPC55XX_MMU_TAG_INITIALIZER(idx, addr, size, x, w, r, io) \ 170 MPC55XX_MMU_TAG_TRANSLATE_INITIALIZER(idx, addr, addr, size, x, w, r, io) 172 #define MPC55XX_MMU_1K 0 173 #define MPC55XX_MMU_2K 1 174 #define MPC55XX_MMU_4K 2 175 #define MPC55XX_MMU_8K 3 176 #define MPC55XX_MMU_16K 4 177 #define MPC55XX_MMU_32K 5 178 #define MPC55XX_MMU_64K 6 179 #define MPC55XX_MMU_128K 7 180 #define MPC55XX_MMU_256K 8 181 #define MPC55XX_MMU_512K 9 182 #define MPC55XX_MMU_1M 10 183 #define MPC55XX_MMU_2M 11 184 #define MPC55XX_MMU_4M 12 185 #define MPC55XX_MMU_8M 13 186 #define MPC55XX_MMU_16M 14 187 #define MPC55XX_MMU_32M 15 188 #define MPC55XX_MMU_64M 16 189 #define MPC55XX_MMU_128M 17 190 #define MPC55XX_MMU_256M 18 191 #define MPC55XX_MMU_512M 19 192 #define MPC55XX_MMU_1G 20 193 #define MPC55XX_MMU_2G 21 194 #define MPC55XX_MMU_4G 22 Definition: regs-mmu.h:66
Definition: regs-mmu.h:143
Definition: regs-mmu.h:125