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

  /src/sys/arch/riscv/riscv/
riscv_tlb.c 55 tlb_set_asid(tlb_asid_t asid, struct pmap *pm)
57 csr_asid_write(asid);
78 tlb_asid_t asid; local in function:tlb_invalidate_asids
79 for (asid = lo; asid <= hi; asid++) {
80 asm volatile("sfence.vma zero, %[asid]"
82 : [asid] "r" (asid)
100 for (asid = lo; asid <= hi; asid++)
    [all...]
trap.c 443 tlb_asid_t asid = tlb_get_asid(); local in function:trap_pagefault
450 asid, ptep, ptep ? pte_value(*ptep) : 0);
  /src/sys/arch/arm/arm32/
arm32_tlb.c 53 tlb_set_asid(tlb_asid_t asid, pmap_t pm)
56 if (asid == KERNEL_PID) {
60 armreg_contextidr_write(asid);
125 tlb_invalidate_addr(vaddr_t va, tlb_asid_t asid)
128 va = trunc_page(va) | asid;
140 tlb_update_addr(vaddr_t va, tlb_asid_t asid, pt_entry_t pte, bool insert_p)
142 tlb_invalidate_addr(va, asid);
163 const tlb_asid_t asid = __SHIFTOUT(d, local in function:tlb_cortex_a5_record_asids
165 const u_long mask = 1L << (asid & 31);
166 const size_t idx = asid >> 5
196 const tlb_asid_t asid = __SHIFTOUT(d01, local in function:tlb_cortex_a7_record_asids
    [all...]
fault.c 477 tlb_asid_t asid = tlb_get_asid(); local in function:data_abort_handler
486 asid, ptep, ptep ? *ptep : 0);
db_machdep.c 244 tlb_print_asid(bool ng_p, tlb_asid_t asid)
247 db_printf(" %3d", asid);
298 const tlb_asid_t asid = __SHIFTOUT(d, ARM_A5_TLBDATA_ASID); local in function:tlb_print_cortex_a5_entry
300 tlb_print_asid(ng_p, asid);
361 const tlb_asid_t asid = __SHIFTOUT(d01, ARM_A7_TLBDATA01_ASID); local in function:tlb_print_cortex_a7_entry
363 tlb_print_asid(ng_p, asid);
  /src/sys/arch/hpc/stand/hpcboot/sh3/
sh_mmu.cpp 46 uint32_t vpn, idx, s, dum, aae, dae, entry_idx, asid; local in function:MemoryManager_SHMMU::searchPage
55 // Get current ASID
56 asid = _reg_read_4(SH3_PTEH) & SH3_PTEH_ASID_MASK;
72 ((aae & SH3_MMUAA_D_ASID_MASK) != asid) ||
168 ? TEXT("ASID + VPN") : TEXT("VPN only"),
173 DPRINTF((TEXT(" VPN ASID PFN VDCG PR SZ\n")));
  /src/sys/arch/mips/mips/
trap.c 336 // We got a TLB MOD exception so we must have a valid ASID
421 tlb_asid_t asid = tlb_get_asid(); local in function:trap
430 asid, ptep, ptep ? pte_value(*ptep) : 0);
db_interface.c 640 uint32_t asid; local in function:db_watch_cmd
647 "#", "MODE", "ADDR", "MASK", "ASID");
717 * if asid mode is requested, get the asid;
718 * otherwise use global mode (and set asid=0)
722 db_printf("asid missing\n");
726 asid = (uint32_t)(value & __BITS(7,0));
728 asid = 0;
742 cwp->cw_asid = asid;
919 "address <mask> <asid> </rwxma>", NULL) }
    [all...]
pmap_machdep.c 854 pmap_md_tlb_check_entry(void *ctx, vaddr_t va, tlb_asid_t asid, pt_entry_t pte)
860 if (asid != pai->pai_asid)
870 KASSERTMSG(ptep != NULL, "va %#"PRIxVADDR" asid %u pte %#"PRIxPTE,
871 va, asid, pte_value(pte));
893 "pmap=%p va=%#"PRIxVADDR" asid=%u: TLB pte (%#"PRIxPTE
895 pm, va, asid, pte_value(pte), pte_value(xpte), pte_value(opte),
907 tlb_asid_t asid; local in function:tlb_walk
911 asid = __SHIFTOUT(tlbmask.tlb_hi, MIPS3_PG_ASID);
914 asid = __SHIFTOUT(tlbmask.tlb_hi, MIPS1_TLB_PID);
919 tlb_asid_t asid0 = (pte_global_p(pte) ? KERNEL_PID : asid);
    [all...]
  /src/sys/uvm/pmap/
pmap_tlb.c 46 * that have a valid ASID.
49 * then reinitialize the ASID space, and start allocating again at 1. When
50 * allocating from the ASID bitmap, we skip any ASID who has a corresponding
51 * bit set in the ASID bitmap. Eventually this causes the ASID bitmap to fill
52 * and, when completely filled, a reinitialization of the ASID space.
54 * To reinitialize the ASID space, the ASID bitmap is reset and then the ASIDs
55 * of non-kernel TLB entries get recorded in the ASID bitmap. If the entrie
425 for (tlb_asid_t asid = 1; asid <= ti->ti_asid_max; asid++) { local in function:pmap_tlb_asid_count
    [all...]
pmap.c 382 tlb_asid_t asid = tlb_get_asid(); local in function:pmap_asid_check
383 if (asid != pai->pai_asid)
385 func, asid, pai->pai_asid);
1087 * our ASID. Now we have to reactivate ourselves.
  /src/sys/arch/sh3/sh3/
db_interface.c 274 " VPN ASID PFN AREA VDCGWtPR SZ";
285 ? "ASID + VPN" : "VPN only",
288 db_printf("ASID=%d (%s)", i, __db_procname_by_asid(i));
305 int asid; local in function:db_tlbdump_cmd
306 asid = r & SH3_MMUAA_D_ASID_MASK;
310 (int)va < 0 ? 'K' : 'U', asid);
346 db_printf("ASID=%d (%s)", i, __db_procname_by_asid(i));
436 __db_procname_by_asid(int asid)
442 if (p->p_vmspace->vm_map.pmap->pm_asid == asid)
pmap.c 89 /* ASID ops. */
286 /* Free ASID */
536 * When pmap->pm_asid == -1 (invalid ASID), old entry attribute
1056 /* When pmap has valid ASID, register to TLB */
1065 * Allocate new ASID. if all ASID is used, steal from other process.
1071 int i, j, k, n, map, asid; local in function:__pmap_asid_alloc
1073 /* Search free ASID */
1088 /* Steal ASID */
1090 if ((asid = p->p_vmspace->vm_map.pmap->pm_asid) > 0)
    [all...]
  /src/sys/arch/mips/rmi/
rmixl_firmware.h 140 int asid; member in struct:lib_cpu_tlb_mapping
  /src/sys/arch/powerpc/booke/
e500_tlb.c 241 * A non-zero ASID means this is a user page so mark it as
353 e500_tlb_set_asid(tlb_asid_t asid)
355 mtspr(SPR_PID0, asid);
450 * its asid matches the constraints of the caller,
488 * its asid matches the constraints of the caller,
492 const uint32_t asid = MASX_TID_GET(mas1); local in function:e500_tlb_record_asids
493 const u_int i = asid / nbits;
494 const u_long mask = 1UL << (asid & (nbits - 1));
508 e500_tlb_invalidate_addr(vaddr_t va, tlb_asid_t asid)
514 if (asid == KERNEL_PID)
    [all...]
  /src/sys/arch/aarch64/aarch64/
pmap.c 164 * invalidate TLB entry for ASID and VA.
166 #define AARCH64_TLBI_BY_ASID_VA(asid, va) \
168 if ((asid) == 0) \
171 aarch64_tlbi_by_asid_va((asid), (va)); \
179 #define PTE_ICACHE_SYNC_PAGE(pte, ptep, asid, va) \
182 AARCH64_TLBI_BY_ASID_VA((asid), (va)); \
1140 pr(" pv[%d].pv_pmap = %p (asid=%d)\n", i, pm, pai->pai_asid);
1404 UVMHIST_LOG(pmaphist, "setting asid to %#jx", pai->pai_asid,
1441 UVMHIST_LOG(pmaphist, "lwp=%p, asid=%d", l,
1470 UVMHIST_LOG(pmaphist, "setting asid to %#jx", KERNEL_PID
2030 const tlb_asid_t asid = pai->pai_asid; local in function:_pmap_enter
    [all...]
  /src/sys/dev/usb/
uaudio.c 2084 const union usb_audio_streaming_interface_descriptor *asid; local in function:uaudio_process_as
2098 asid = NULL;
2113 if (asid != NULL)
2115 asid = (const union usb_audio_streaming_interface_descriptor *) desc;
2116 DPRINTF("asid: bTerminalLink=%d wFormatTag=%d bmFormats=0x%x bLength=%d\n",
2117 asid->v1.bTerminalLink, UGETW(asid->v1.wFormatTag),
2118 UGETDW(asid->v2.bmFormats), asid->v1.bLength);
2221 if (asid == NULL)
    [all...]
  /src/sys/dev/nvmm/x86/
nvmm_x86_vmx.c 783 uint64_t asid; member in struct:vmx_cpudata
2268 vpid_desc.vpid = cpudata->asid;
2869 cpudata->asid = i;
2886 uint64_t asid; local in function:vmx_asid_free
2888 asid = vmx_vmread(VMCS_VPID);
2890 oct = asid / 8;
2891 bit = asid % 8;
2984 /* Generate ASID. */
3472 /* ASID 0 is reserved for the host. */
3579 /* Init the ASID bitmap (VPID). *
    [all...]

Completed in 55 milliseconds