mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-22 01:08:56 +00:00
Kernel: Add mechanism to identity map the lowest 2MB
This commit is contained in:
parent
19190267a6
commit
841364b609
Notes:
sideshowbarker
2024-07-19 05:50:08 +09:00
Author: https://github.com/tomuta
Commit: 841364b609
Pull-request: https://github.com/SerenityOS/serenity/pull/2475
Reviewed-by: https://github.com/awesomekling
Reviewed-by: https://github.com/bugaevc
7 changed files with 40 additions and 12 deletions
|
@ -90,6 +90,11 @@ public:
|
|||
|
||||
void dump() const;
|
||||
|
||||
bool contains(const Range& range) const
|
||||
{
|
||||
return m_total_range.contains(range);
|
||||
}
|
||||
|
||||
private:
|
||||
void carve_at_index(int, const Range&);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue