1
Fork 0
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:
Andreas Kling 2020-11-14 18:36:17 +01:00
parent 2fceffff6f
commit d88b36448b
2 changed files with 18 additions and 9 deletions

View file

@ -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;
};