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:
parent
780d7cab55
commit
09418c869b
@ -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);
|
||||
|
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user