kernel/vm: Minor API changes for consistency in VMCache.
* Insert/Remove can't fail, so drop status_t return values. * "TransferAreas" is really "TakeAreasFrom", so rename it. This avoids confusion with the "transfer_area" API call, which moves an area to another address space (keeping the same cache.)
This commit is contained in:
@@ -124,9 +124,9 @@ public:
|
||||
|
||||
void AddConsumer(VMCache* consumer);
|
||||
|
||||
status_t InsertAreaLocked(VMArea* area);
|
||||
status_t RemoveArea(VMArea* area);
|
||||
void TransferAreas(VMCache* fromCache);
|
||||
void InsertAreaLocked(VMArea* area);
|
||||
void RemoveArea(VMArea* area);
|
||||
void TakeAreasFrom(VMCache* fromCache);
|
||||
uint32 CountWritableAreas(VMArea* ignoreArea) const;
|
||||
|
||||
status_t WriteModified();
|
||||
|
||||
Reference in New Issue
Block a user