Home
last modified time | relevance | path

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

/openbmc/qemu/target/riscv/
H A Dmonitor.c81 int level, int ptidxbits, int ptesize, int va_bits, in walk_pte() argument
98 ptshift = level * ptidxbits; in walk_pte()
101 for (idx = 0; idx < (1UL << ptidxbits); idx++) { in walk_pte()
135 walk_pte(mon, paddr, start, level - 1, ptidxbits, ptesize, in walk_pte()
148 int levels, ptidxbits, ptesize, vm, va_bits; in mem_info_svxx() local
167 ptidxbits = 10; in mem_info_svxx()
172 ptidxbits = 9; in mem_info_svxx()
177 ptidxbits = 9; in mem_info_svxx()
182 ptidxbits = 9; in mem_info_svxx()
191 va_bits = PGSHIFT + levels * ptidxbits; in mem_info_svxx()
[all …]
H A Dcpu_helper.c842 int levels, ptidxbits, ptesize, vm, widened; in get_physical_address() local
876 levels = 2; ptidxbits = 10; ptesize = 4; break; in get_physical_address()
878 levels = 3; ptidxbits = 9; ptesize = 8; break; in get_physical_address()
880 levels = 4; ptidxbits = 9; ptesize = 8; break; in get_physical_address()
882 levels = 5; ptidxbits = 9; ptesize = 8; break; in get_physical_address()
892 int va_bits = PGSHIFT + levels * ptidxbits + widened; in get_physical_address()
923 int ptshift = (levels - 1) * ptidxbits; in get_physical_address()
931 for (i = 0; i < levels; i++, ptshift -= ptidxbits) { in get_physical_address()
935 ((1 << (ptidxbits + widened)) - 1); in get_physical_address()
938 ((1 << ptidxbits) - 1); in get_physical_address()