mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 14:37:46 +00:00
Kernel: Regions should be mapped into a PageDirectory, not a Process
This patch changes the parameter to Region::map() to be a PageDirectory since that matches how we think about the memory model: Regions are views onto VMObjects, and are mapped into PageDirectories. Each Process has a PageDirectory. The kernel also has a PageDirectory.
This commit is contained in:
parent
2cfc43c982
commit
3dce0f23f4
4 changed files with 9 additions and 9 deletions
|
@ -114,7 +114,7 @@ public:
|
|||
m_access &= ~Access::Write;
|
||||
}
|
||||
|
||||
void map(Process&);
|
||||
void map(PageDirectory&);
|
||||
enum class ShouldDeallocateVirtualMemoryRange {
|
||||
No,
|
||||
Yes,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue