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 220 #define pte_prot(m, p) (protection_codes[p])
221 static u_int protection_codes[8]; variable
386 protection_codes[VM_PROT_NONE|VM_PROT_NONE|VM_PROT_NONE] = 0;
387 protection_codes[VM_PROT_READ|VM_PROT_NONE|VM_PROT_NONE] = PG_RO;
388 protection_codes[VM_PROT_READ|VM_PROT_NONE|VM_PROT_EXECUTE] = PG_RO;
389 protection_codes[VM_PROT_NONE|VM_PROT_NONE|VM_PROT_EXECUTE] = PG_RO;
390 protection_codes[VM_PROT_NONE|VM_PROT_WRITE|VM_PROT_NONE] = PG_RW;
391 protection_codes[VM_PROT_NONE|VM_PROT_WRITE|VM_PROT_EXECUTE] = PG_RW;
392 protection_codes[VM_PROT_READ|VM_PROT_WRITE|VM_PROT_NONE] = PG_RW;
393 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 26 milliseconds