Skip to content
Snippets Groups Projects
Commit 8722d1a0 authored by whh8b's avatar whh8b
Browse files

Add GetLargeRange() function.

parent 48b433eb
No related branches found
No related tags found
No related merge requests found
......@@ -51,6 +51,7 @@ class MemorySpace_t : public std::map<RangeAddress_t,char>
GetNearbyFreeRanges(const RangeAddress_t hint, size_t count = 0) = 0;
virtual void AddFreeRange(Range_t newRange)=0;
virtual void RemoveFreeRange(Range_t newRange)=0;
virtual Range_t GetLargeRange(void)=0;
// queries about free areas.
virtual bool AreBytesFree(RangeAddress_t addr, int num_bytes)=0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment