debugsrv/runmodedebug/rmdriver/inc/debug_utils.h
branchRCL_3
changeset 20 ca8a1b6995f6
equal deleted inserted replaced
19:07b41fa8d1dd 20:ca8a1b6995f6
       
     1 // Copyright (c) 2004-2010 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of the License "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 // Purpose: Static functions for use by debug driver classes
       
    15 //
       
    16 
       
    17 /**
       
    18  * @file
       
    19  * @internalComponent
       
    20  * @released
       
    21  */
       
    22 
       
    23 #ifndef DEBUG_UTILS_H
       
    24 #define DEBUG_UTILS_H
       
    25 
       
    26 #include <kernel/kern_priv.h>
       
    27 #include <rm_debug_api.h>
       
    28 
       
    29 class DebugUtils
       
    30 	{
       
    31 public:
       
    32 	static DThread* OpenThreadHandle(TUint64 aThreadId);
       
    33 	static DProcess* OpenProcessHandle(TUint64 aProcessId);
       
    34 	static DThread* OpenFirstThreadForProcess(DProcess* aProcess);
       
    35 	};
       
    36 
       
    37 #endif //DEBUG_UTILS_H
       
    38