Added DebugGet() method for use in the kernel debugger.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36227 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold 2010-04-13 17:16:42 +00:00
parent 780d7cab55
commit 09418c869b
2 changed files with 8 additions and 0 deletions

View File

@ -115,6 +115,7 @@ public:
static VMAddressSpace* DebugFirst();
static VMAddressSpace* DebugNext(VMAddressSpace* addressSpace);
static VMAddressSpace* DebugGet(team_id teamID);
protected:
static void _DeleteIfUnreferenced(team_id id);

View File

@ -297,6 +297,13 @@ VMAddressSpace::DebugNext(VMAddressSpace* addressSpace)
}
/*static*/ VMAddressSpace*
VMAddressSpace::DebugGet(team_id teamID)
{
return sAddressSpaceTable.Lookup(teamID);
}
/*static*/ void
VMAddressSpace::_DeleteIfUnreferenced(team_id id)
{