Added warning to vm_map_physical_memory_vecs().

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35508 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold 2010-02-17 15:58:12 +00:00
parent 8941a2ba08
commit 176f7588eb

View File

@ -1354,6 +1354,11 @@ vm_map_physical_memory(team_id team, const char* name, void** _address,
}
/*! Don't use!
TODO: This function was introduced to map physical page vecs to
contiguous virtual memory in IOBuffer::GetNextVirtualVec(). It does
use a device cache and does not track vm_page::wired_count!
*/
area_id
vm_map_physical_memory_vecs(team_id team, const char* name, void** _address,
uint32 addressSpec, addr_t* _size, uint32 protection, struct iovec* vecs,