Go to the documentation of this file. 1 #ifndef _ASM_POWERPC_MMU_40X_H_
2 #define _ASM_POWERPC_MMU_40X_H_
8 #define PPC40X_TLB_SIZE 64
22 #define TLB_DATA TLB_LO
23 #define TLB_TAG TLB_HI
27 #define TLB_EPN_MASK 0xFFFFFC00
28 #define TLB_PAGESZ_MASK 0x00000380
29 #define TLB_PAGESZ(x) (((x) & 0x7) << 7)
38 #define TLB_VALID 0x00000040
42 #define TLB_RPN_MASK 0xFFFFFC00
43 #define TLB_PERM_MASK 0x00000300
44 #define TLB_EX 0x00000200
45 #define TLB_WR 0x00000100
46 #define TLB_ZSEL_MASK 0x000000F0
47 #define TLB_ZSEL(x) (((x) & 0xF) << 4)
48 #define TLB_ATTR_MASK 0x0000000F
49 #define TLB_W 0x00000008
50 #define TLB_I 0x00000004
51 #define TLB_M 0x00000002
52 #define TLB_G 0x00000001
64 #define mmu_virtual_psize MMU_PAGE_4K
65 #define mmu_linear_psize MMU_PAGE_256M