-
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,entry,usermode: fix user pagetable mappings alignment
The exception handlers as well as interrupt handlers need to be properly mapped into user pagetables. Add global symbols to find their addresses and align the beginning on a page boundary. Similar entry_usermode() and syscall_handler_entry() need to be aligned and ideally share the same page. The syscall_exit() and similar routines do not need user pagetable mappings. Add also an explicit mapping for user_cr3 variable. Signed-off-by: Pawel Wieczorkiewicz <[email protected]>
- Loading branch information
Showing
2 changed files
with
11 additions
and
1 deletion.
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