Home
last modified time | relevance | path

Searched refs:ptel (Results 1 – 4 of 4) sorted by relevance

/qemu/target/sh4/
H A Dcpu.h180 uint32_t ptel; /* page table entry low register */ member
319 #define cpu_ptel_v(ptel) (((ptel) & PTEL_V) >> 8) argument
321 #define cpu_ptel_c(ptel) (((ptel) & PTEL_C) >> 3) argument
323 #define cpu_ptel_d(ptel) (((ptel) & PTEL_D) >> 2) argument
325 #define cpu_ptel_sh(ptel)(((ptel) & PTEL_SH) >> 1) argument
327 #define cpu_ptel_wt(ptel) ((ptel) & PTEL_WT) argument
333 static inline int cpu_ptel_sz (uint32_t ptel) in cpu_ptel_sz() argument
336 sz = (ptel & PTEL_SZ_HIGH) >> PTEL_SZ_HIGH_OFFSET; in cpu_ptel_sz()
338 sz |= (ptel & PTEL_SZ_LOW) >> PTEL_SZ_LOW_OFFSET; in cpu_ptel_sz()
346 static inline int cpu_ptel_ppn (uint32_t ptel) in cpu_ptel_ppn() argument
[all …]
H A Dhelper.c462 entry->v = (uint8_t)cpu_ptel_v(env->ptel); in cpu_load_tlb()
463 entry->ppn = cpu_ptel_ppn(env->ptel); in cpu_load_tlb()
464 entry->sz = (uint8_t)cpu_ptel_sz(env->ptel); in cpu_load_tlb()
482 entry->sh = (uint8_t)cpu_ptel_sh(env->ptel); in cpu_load_tlb()
483 entry->c = (uint8_t)cpu_ptel_c(env->ptel); in cpu_load_tlb()
484 entry->pr = (uint8_t)cpu_ptel_pr(env->ptel); in cpu_load_tlb()
485 entry->d = (uint8_t)cpu_ptel_d(env->ptel); in cpu_load_tlb()
486 entry->wt = (uint8_t)cpu_ptel_wt(env->ptel); in cpu_load_tlb()
/qemu/hw/ppc/
H A Dspapr_vhyp_mmu.c25 target_ulong ptel = args[3]; in h_enter() local
31 apshift = ppc_hash64_hpte_page_shift_noslb(cpu, pteh, ptel); in h_enter()
37 raddr = (ptel & HPTE64_R_RPN) & ~((1ULL << apshift) - 1); in h_enter()
41 if ((ptel & HPTE64_R_WIMG) != HPTE64_R_M) { in h_enter()
50 wimg_flags = (ptel & (HPTE64_R_W | HPTE64_R_I | HPTE64_R_M)); in h_enter()
87 spapr_store_hpte(cpu, ptex + slot, pteh | HPTE64_V_HPTE_DIRTY, ptel); in h_enter()
/qemu/hw/sh4/
H A Dsh7750.c236 return s->cpu->env.ptel; in sh7750_mem_readl()
384 s->cpu->env.ptel = mem_value; in sh7750_mem_writel()