riscv: mm: Prepare pt_ops helper functions for sv57

This patch prepare some pt_ops helper functions which will be used in
creating sv57 mappings during boot time.

Signed-off-by: Qinglin Pan <panqinglin2020@iscas.ac.cn>
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
This commit is contained in:
Qinglin Pan 2022-01-27 10:48:42 +08:00 • committed by Palmer Dabbelt
commit 677b9eb881
No known key found for this signature in database
GPG key ID: 2E1319F35FBB1889
3 changed files with 119 additions and 15 deletions