pte_prot
#define pte_prot(m, p) (protection_codes[m == pmap_kernel() ? 0 : 1][p])
#define pte_prot(m, p) (protection_codes[p])