Home
last modified time | relevance | path

Searched refs:CSR_TLBIDX (Results 1 – 5 of 5) sorted by relevance

/openbmc/qemu/target/loongarch/tcg/
H A Dtlb_helper.c180 csr_ps = FIELD_EX64(env->CSR_TLBIDX, CSR_TLBIDX, PS); in fill_tlb_entry()
228 env->CSR_TLBIDX = FIELD_DP64(env->CSR_TLBIDX, CSR_TLBIDX, INDEX, index); in helper_tlbsrch()
229 env->CSR_TLBIDX = FIELD_DP64(env->CSR_TLBIDX, CSR_TLBIDX, NE, 0); in helper_tlbsrch()
233 env->CSR_TLBIDX = FIELD_DP64(env->CSR_TLBIDX, CSR_TLBIDX, NE, 1); in helper_tlbsrch()
242 index = FIELD_EX64(env->CSR_TLBIDX, CSR_TLBIDX, INDEX); in helper_tlbrd()
254 env->CSR_TLBIDX = FIELD_DP64(env->CSR_TLBIDX, CSR_TLBIDX, NE, 1); in helper_tlbrd()
259 env->CSR_TLBIDX = FIELD_DP64(env->CSR_TLBIDX, CSR_TLBIDX, PS, 0); in helper_tlbrd()
262 env->CSR_TLBIDX = FIELD_DP64(env->CSR_TLBIDX, CSR_TLBIDX, NE, 0); in helper_tlbrd()
263 env->CSR_TLBIDX = FIELD_DP64(env->CSR_TLBIDX, CSR_TLBIDX, in helper_tlbrd()
278 if (FIELD_EX64(env->CSR_TLBIDX, CSR_TLBIDX, NE)) { in helper_tlbwr()
[all …]
/openbmc/qemu/target/loongarch/
H A Dcpu-csr.h55 FIELD(CSR_TLBIDX, INDEX, 0, 12)
56 FIELD(CSR_TLBIDX, PS, 24, 6)
57 FIELD(CSR_TLBIDX, NE, 31, 1)
H A Dmachine.c165 VMSTATE_UINT64(env.CSR_TLBIDX, LoongArchCPU),
H A Dcpu.h305 uint64_t CSR_TLBIDX; member
/openbmc/qemu/target/loongarch/kvm/
H A Dkvm.c116 &env->CSR_TLBIDX); in kvm_loongarch_get_csr()
286 &env->CSR_TLBIDX); in kvm_loongarch_put_csr()