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

  /src/sys/arch/amd64/stand/prekern/
mm.c 46 static const pt_entry_t protection_codes[3] = { variable
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/m68k/m68k/
pmap_motorola.c 223 #define pte_prot(m, p) (protection_codes[p])
224 static u_int protection_codes[8]; variable
405 protection_codes[VM_PROT_NONE|VM_PROT_NONE|VM_PROT_NONE] = 0;
406 protection_codes[VM_PROT_READ|VM_PROT_NONE|VM_PROT_NONE] = PG_RO;
407 protection_codes[VM_PROT_READ|VM_PROT_NONE|VM_PROT_EXECUTE] = PG_RO;
408 protection_codes[VM_PROT_NONE|VM_PROT_NONE|VM_PROT_EXECUTE] = PG_RO;
409 protection_codes[VM_PROT_NONE|VM_PROT_WRITE|VM_PROT_NONE] = PG_RW;
410 protection_codes[VM_PROT_NONE|VM_PROT_WRITE|VM_PROT_EXECUTE] = PG_RW;
411 protection_codes[VM_PROT_READ|VM_PROT_WRITE|VM_PROT_NONE] = PG_RW;
412 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
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)])

Completed in 24 milliseconds