mirror of
https://github.com/RGBCube/serenity
synced 2025-06-01 10:08:10 +00:00
UserspaceEmulator: Enable splitting regions at arbitrary points
This is not yet useful in and of itself, but enables the feature in the next commit.
This commit is contained in:
parent
7cc8f20a30
commit
45443f24ec
7 changed files with 66 additions and 2 deletions
|
@ -29,7 +29,7 @@
|
|||
|
||||
namespace UserspaceEmulator {
|
||||
|
||||
Vector<Range, 2> Range::carve(const Range& taken)
|
||||
Vector<Range, 2> Range::carve(const Range& taken) const
|
||||
{
|
||||
VERIFY((taken.size() % PAGE_SIZE) == 0);
|
||||
Vector<Range, 2> parts;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue