os/kernelhwsrv/kernel/eka/memmodel/epoc/multiple/arm/xsched.cpp
author sl
Tue, 10 Jun 2014 14:32:02 +0200
changeset 1 260cb5ec6c19
permissions -rw-r--r--
Update contrib.
     1 // Copyright (c) 1997-2009 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 // e32\memmodel\epoc\multiple\arm\xsched.cpp
    15 // 
    16 //
    17 
    18 #include "arm_mem.h"
    19 
    20 #define iMState		iWaitLink.iSpare1
    21 
    22 #ifdef __REQUEST_COMPLETE_MACHINE_CODED__
    23 #if defined(_DEBUG)
    24 extern "C" void __DebugMsgDThreadRequestComplete(TInt a0, TInt a1)
    25 	{
    26 	DThread* pT=(DThread*)a0;
    27 	__KTRACE_OPT(KDATAPAGEWARN,Kern::Printf("Data paging: Use of deprecated DThread::RequestComplete API by %O at %08x", pT, a1));
    28 	}
    29 
    30 extern "C" void __DebugMsgRequestComplete(TInt a0, TInt a1, TInt a2)
    31 	{
    32 	DThread* pT=(DThread*)a0;
    33 	__KTRACE_OPT(KTHREAD,Kern::Printf("Thread %O RequestComplete %08x %d",pT,a1,a2));
    34 	}
    35 
    36 extern "C" void __DebugMsgReqCompleteWrite(TInt a0, TInt a1, TInt a2)
    37 	{
    38 	__KTRACE_OPT(KTHREAD,Kern::Printf("Writing %d to %08x",a2,a0+a1));
    39 	}
    40 #endif
    41 #endif
    42