* Renamed cache_type_to_string() to vm_cache_type_to_string() and made in

kernel private.
* Moved dumping code from dump_cache() to new VMCache::Dump().
* Override VMCache::Dump() in VMVnodeCache to also print the vnode.
* Removed no longer needed VMCache::GetLock().


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37138 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold
2010-06-14 23:57:00 +00:00
parent 0f48aa877a
commit 377ecfe797
5 changed files with 71 additions and 50 deletions
+2
View File
@@ -85,6 +85,8 @@ area_id create_area_etc(team_id team, const char *name, uint32 size,
area_id transfer_area(area_id id, void** _address, uint32 addressSpec,
team_id target, bool kernel);
const char* vm_cache_type_to_string(int32 type);
status_t vm_block_address_range(const char* name, void* address, addr_t size);
status_t vm_unreserve_address_range(team_id team, void *address, addr_t size);
status_t vm_reserve_address_range(team_id team, void **_address,