-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Kernel/Memory: Make has_been_{r,w,x} flags clearly being set
Before of this change, actually setting the m_access to contain the HasBeen{Readeable,Writable,Executable} bits was done by the method of Region set_access_bit which added ORing with (access << 4) when enabling a certain access bit to achieve this. Now this is changed and when calling set_{readeable,writable,executable} methods, they will set an appropriate SetOnce flag that could be checked later.
- Loading branch information
1 parent
6b0193a
commit 96a2f9c
Showing
1 changed file
with
25 additions
and
10 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