-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
arch,pt: add page tables map/unmap functions
The map_pagetables() function maps all page tables specified in its second parameter into the address space specified by its first parameter. If second parameter is NULL, the current address space page tables are mapped. Only page table frames are being mapped. After mapping a helper function family: get_pte(), get_pde(), ... can be used without causing exceptions. The unmap_pagetables() function unmaps all page tables specified in its second parameter from address space indicated by its first parameter. If second parameter is NULL, the current address space page tables are being unmapped. Signed-off-by: Pawel Wieczorkiewicz <[email protected]>
- Loading branch information
Showing
3 changed files
with
110 additions
and
0 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
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