rivosinc / salus

Risc-V hypervisor for TEE development
96 stars 25 forks source link

riscv-page-tables: Update GuestStagePageTable to support all page sizes #286

Closed sboeuf closed 1 year ago

sboeuf commented 1 year ago

All the functions updating the page table entries must be able to deal with pages of different sizes across an entire range of memory. That's why the loops and iterators previously used had to be updated to support incrementing each iteration with a dynamic page size.