kernel/eka/drivers/debug/common/d_debug_functionality.cpp
changeset 259 57b9594f5772
parent 0 a41df078684a
child 257 3e88ff8f41d5
equal deleted inserted replaced
247:d8d70de2bd36 259:57b9594f5772
     1 // Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
     1 // Copyright (c) 2006-2010 Nokia Corporation and/or its subsidiary(-ies).
     2 // All rights reserved.
     2 // All rights reserved.
     3 // This component and the accompanying materials are made available
     3 // This component and the accompanying materials are made available
     4 // under the terms of the License "Eclipse Public License v1.0"
     4 // under the terms of the License "Eclipse Public License v1.0"
     5 // which accompanies this distribution, and is available
     5 // which accompanies this distribution, and is available
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
    20 #include <e32def_private.h>
    20 #include <e32def_private.h>
    21 #include <e32cmn.h>
    21 #include <e32cmn.h>
    22 #include <e32cmn_private.h>
    22 #include <e32cmn_private.h>
    23 #include <u32std.h>
    23 #include <u32std.h>
    24 #include <kernel/kernel.h>
    24 #include <kernel/kernel.h>
    25 #include <rm_debug_api.h>
       
    26 #include <sm_debug_api.h>
    25 #include <sm_debug_api.h>
    27 #include "d_rmd_breakpoints.h"
    26 
    28 #include "rm_debug_kerneldriver.h"
       
    29 #include "d_debug_functionality.h"
    27 #include "d_debug_functionality.h"
    30 #include "d_buffer_manager.h"
    28 #include "d_buffer_manager.h"
    31 
    29 
    32 using namespace Debug;
    30 using namespace Debug;
    33 
    31 
    87 	(TTag*)NULL
    85 	(TTag*)NULL
    88 	};
    86 	};
    89 
    87 
    90 const TTag StopModeFunctionalityFunctionsInfo[] =
    88 const TTag StopModeFunctionalityFunctionsInfo[] =
    91 	{
    89 	{
    92 #ifdef __LAUNCH_AS_EXTENSION__
       
    93 	{EStopModeFunctionsExitPoint,ETagTypePointer,0,(TUint32)&StopModeDebug::ExitPoint}, 
    90 	{EStopModeFunctionsExitPoint,ETagTypePointer,0,(TUint32)&StopModeDebug::ExitPoint}, 
    94 	{EStopModeFunctionsGetList,ETagTypePointer,0,(TUint32)&StopModeDebug::GetList},
    91 	{EStopModeFunctionsGetList,ETagTypePointer,0,(TUint32)&StopModeDebug::GetList},
    95 	{EStopModeFunctionsTestAPI,ETagTypePointer,0,(TUint32)&StopModeDebug::TestAPI} 
    92 	{EStopModeFunctionsTestAPI,ETagTypePointer,0,(TUint32)&StopModeDebug::TestAPI} 
    96 #else
       
    97 	{EStopModeFunctionsExitPoint,ETagTypePointer,0,NULL}, 
       
    98 	{EStopModeFunctionsGetList,ETagTypePointer,0,NULL},
       
    99 	{EStopModeFunctionsTestAPI,ETagTypePointer,0,NULL} 
       
   100 #endif
       
   101 	};
    93 	};
   102 
    94 
   103 const TSubBlock StopModeFunctionalityFunctions[]=
    95 const TSubBlock StopModeFunctionalityFunctions[]=
   104 	{
    96 	{
   105 	ETagHeaderIdStopModeFunctions,EStopModeFunctionsLast,
    97 	ETagHeaderIdStopModeFunctions,EStopModeFunctionsLast,