HomeSort by: relevance | last modified time | path
    Searched defs:protection_codes (Results 1 - 5 of 5) sorted by relevancy

  /src/sys/arch/amd64/stand/prekern/
mm.c 46 static const pt_entry_t protection_codes[3] = { variable in typeref:typename:const pt_entry_t[3]
73 PTE_BASE[pl1_i(va)] = pa | PTE_P | protection_codes[prot];
79 PTE_BASE[pl1_i(va)] = pa | PTE_P | protection_codes[prot];
  /src/sys/arch/alpha/alpha/
pmap.c 186 #define pte_prot(m, p) (protection_codes[m == pmap_kernel() ? 0 : 1][p])
187 static int protection_codes[2][8] __read_mostly; variable in typeref:typename:int[2][8]__read_mostly
2932 kp = protection_codes[0];
2933 up = protection_codes[1];
  /src/sys/arch/m68k/m68k/
pmap_motorola.c 219 #define pte_prot(m, p) (protection_codes[p])
220 u_int protection_codes[8]; variable in typeref:typename:u_int[8]
377 protection_codes[VM_PROT_NONE|VM_PROT_NONE|VM_PROT_NONE] = 0;
378 protection_codes[VM_PROT_READ|VM_PROT_NONE|VM_PROT_NONE] = PG_RO;
379 protection_codes[VM_PROT_READ|VM_PROT_NONE|VM_PROT_EXECUTE] = PG_RO;
380 protection_codes[VM_PROT_NONE|VM_PROT_NONE|VM_PROT_EXECUTE] = PG_RO;
381 protection_codes[VM_PROT_NONE|VM_PROT_WRITE|VM_PROT_NONE] = PG_RW;
382 protection_codes[VM_PROT_NONE|VM_PROT_WRITE|VM_PROT_EXECUTE] = PG_RW;
383 protection_codes[VM_PROT_READ|VM_PROT_WRITE|VM_PROT_NONE] = PG_RW;
384 protection_codes[VM_PROT_READ|VM_PROT_WRITE|VM_PROT_EXECUTE] = PG_RW
    [all...]
  /src/sys/arch/sparc/sparc/
pmap.c 503 const u_int protection_codes[2][8] = { variable in typeref:typename:const u_int[2][8]
528 #define pte_kprot4m(prot) (protection_codes[0][(prot)])
529 #define pte_uprot4m(prot) (protection_codes[1][(prot)])
531 (protection_codes[(pm) == pmap_kernel() ? 0 : 1][(prot)])
  /src/sys/arch/x86/x86/
pmap.c 374 static pt_entry_t protection_codes[8] __read_mostly; variable in typeref:typename:pt_entry_t[8]__read_mostly
1041 npte |= protection_codes[prot] | PTE_P | pmap_pg_g;
1216 * Set up protection_codes: we need to be able to convert from a MI
1220 protection_codes[VM_PROT_NONE] = pmap_pg_nx;
1221 protection_codes[VM_PROT_EXECUTE] = PTE_X;
1222 protection_codes[VM_PROT_READ] = pmap_pg_nx;
1223 protection_codes[VM_PROT_READ|VM_PROT_EXECUTE] = PTE_X;
1224 protection_codes[VM_PROT_WRITE] = PTE_W | pmap_pg_nx;
1225 protection_codes[VM_PROT_WRITE|VM_PROT_EXECUTE] = PTE_W | PTE_X;
1226 protection_codes[VM_PROT_WRITE|VM_PROT_READ] = PTE_W | pmap_pg_nx
    [all...]

Completed in 21 milliseconds