Searched refs:protection_codes (Results 1 – 5 of 5) sorted by relevance
398 uint32_t protection_codes[8]; /* maps MI prot to i386 prot code */ variable958 protection_codes[PROT_NONE] = 0; /* --- */ in pmap_bootstrap()959 protection_codes[PROT_EXEC] = PG_X; /* --x */ in pmap_bootstrap()960 protection_codes[PROT_READ] = PG_RO; /* -r- */ in pmap_bootstrap()961 protection_codes[PROT_READ | PROT_EXEC] = PG_X; /* -rx */ in pmap_bootstrap()962 protection_codes[PROT_WRITE] = PG_RW; /* w-- */ in pmap_bootstrap()963 protection_codes[PROT_WRITE | PROT_EXEC] = PG_RW|PG_X; /* w-x */ in pmap_bootstrap()964 protection_codes[PROT_READ | PROT_WRITE] = PG_RW; /* wr- */ in pmap_bootstrap()965 protection_codes[PROT_READ | PROT_WRITE | PROT_EXEC] = PG_RW|PG_X; /* wrx */ in pmap_bootstrap()2152 md_prot = protection_codes[prot]; in pmap_write_protect_86()[all …]
434 extern u_int32_t protection_codes[]; /* maps MI prot to i386 prot code */1582 md_prot = protection_codes[prot]; in pmap_write_protect_pae()1827 npte = pa | protection_codes[prot] | PG_V; in pmap_enter_pae()1957 ptp[l1idx] = (pa | protection_codes[prot] | PG_V | PG_M | PG_U | flags); in pmap_enter_special_pae()
168 pt_entry_t protection_codes[8]; variable423 protection_codes[i] |= pg_ri; in pmap_bootstrap()425 protection_codes[i] |= PG_RO; in pmap_bootstrap()427 protection_codes[i] |= pg_xi; in pmap_bootstrap()802 p = protection_codes[prot]; in pmap_page_wrprotect()951 p = protection_codes[prot]; in pmap_protect()1128 npte = protection_codes[prot] | PG_V; in pmap_enter()1275 npte = vad_to_pfn(pa) | protection_codes[prot] | in pmap_kenter_pa()
272 pt_entry_t protection_codes[8]; /* maps MI prot to i386 prot code */ variable700 protection_codes[PROT_NONE] = pg_nx; /* --- */ in pmap_bootstrap()701 protection_codes[PROT_EXEC] = pg_xo; /* --x */ in pmap_bootstrap()702 protection_codes[PROT_READ] = PG_RO | pg_nx; /* -r- */ in pmap_bootstrap()703 protection_codes[PROT_READ | PROT_EXEC] = PG_RO; /* -rx */ in pmap_bootstrap()704 protection_codes[PROT_WRITE] = PG_RW | pg_nx; /* w-- */ in pmap_bootstrap()705 protection_codes[PROT_WRITE | PROT_EXEC] = PG_RW; /* w-x */ in pmap_bootstrap()706 protection_codes[PROT_WRITE | PROT_READ] = PG_RW | pg_nx; /* wr- */ in pmap_bootstrap()707 protection_codes[PROT_READ | PROT_WRITE | PROT_EXEC] = PG_RW; /* wrx */ in pmap_bootstrap()2384 pd[l1idx] = pa | protection_codes[prot] | PG_V | PG_W | pg_crypt; in pmap_enter_special()[all …]
180 #define pte_prot(m, p) (protection_codes[m == pmap_kernel() ? 0 : 1][p])181 int protection_codes[2][8]; variable2304 kp = protection_codes[0]; in alpha_protection_init()2305 up = protection_codes[1]; in alpha_protection_init()