The ulimate goal is to eliminate redundant functions for the realm s2 table management which are scattered across the board in rtt.rs, stage2_translation.rs, stage2_tte.rs, page.rs and lib/vmsa.
Prior to that, this PR does followings.
Create a page table with an allocator that the function caller provides.
The ulimate goal is to eliminate redundant functions for the realm s2 table management which are scattered across the board in rtt.rs, stage2_translation.rs, stage2_tte.rs, page.rs and lib/vmsa. Prior to that, this PR does followings.