Home
last modified time | relevance | path

Searched refs:ptshift (Results 1 – 2 of 2) sorted by relevance

/openbmc/qemu/target/riscv/
H A Dmonitor.c90 int ptshift; in walk_pte() local
98 ptshift = level * ptidxbits; in walk_pte()
99 pgsize = 1UL << (PGSHIFT + ptshift); in walk_pte()
H A Dcpu_helper.c1007 int ptshift = (levels - 1) * ptidxbits; in get_physical_address() local
1015 for (i = 0; i < levels; i++, ptshift -= ptidxbits) { in get_physical_address()
1018 idx = (addr >> (PGSHIFT + ptshift)) & in get_physical_address()
1021 idx = (addr >> (PGSHIFT + ptshift)) & in get_physical_address()
1104 if (ppn & ((1ULL << ptshift) - 1)) { in get_physical_address()
1272 (vpn & (((target_ulong)1 << ptshift) - 1)) in get_physical_address()