Searched refs:hgatp (Results 1 – 4 of 4) sorted by relevance
/qemu/target/riscv/ |
H A D | cpu_helper.c | 862 base = (hwaddr)get_field(env->hgatp, SATP32_PPN) << PGSHIFT; in get_physical_address() 863 vm = get_field(env->hgatp, SATP32_MODE); in get_physical_address() 865 base = (hwaddr)get_field(env->hgatp, SATP64_PPN) << PGSHIFT; in get_physical_address() 866 vm = get_field(env->hgatp, SATP64_MODE); in get_physical_address()
|
H A D | machine.c | 92 VMSTATE_UINTTL(env.hgatp, RISCVCPU),
|
H A D | cpu.h | 275 target_ulong hgatp; member
|
H A D | csr.c | 479 static RISCVException hgatp(CPURISCVState *env, int csrno) in hgatp() function 3534 *val = env->hgatp; in read_hgatp() 3541 env->hgatp = legalize_xatp(env, env->hgatp, val); in write_hgatp() 4784 [CSR_HGATP] = { "hgatp", hgatp, read_hgatp, write_hgatp,
|