mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 16:57:35 +00:00
UserspaceEmulator: Add some helpers to tidy up TrackedChunkedBlock
This commit is contained in:
parent
2fceffff6f
commit
d88b36448b
2 changed files with 18 additions and 9 deletions
|
@ -69,6 +69,9 @@ private:
|
|||
FlatPtr address { 0 };
|
||||
size_t chunk_size { 0 };
|
||||
|
||||
size_t chunk_index_for_address(FlatPtr) const;
|
||||
Mallocation& mallocation_for_address(FlatPtr) const;
|
||||
|
||||
Vector<Mallocation> mallocations;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue