This repository has been archived by the owner on Sep 1, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Page-Tables (PT) are used as an array for pre-allocated buffers.
- This will allow us to `split_2mb_to_4kb` using pre-allocated buffers. We can use an index other than 0 and under 64 (subject to change depending on the demand for hooks) to specific where to store the split 4KB pages or PT - We make sure to check pt_table_index is not 0 or greater than self.pt.len() - remap_gpa_to_hpa and modify_page_permissions also takes an index.
- Loading branch information
Showing
2 changed files
with
57 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters