os/kernelhwsrv/kernel/eka/include/e32cia.h
changeset 0 bde4ae8d615e
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/os/kernelhwsrv/kernel/eka/include/e32cia.h	Fri Jun 15 03:10:57 2012 +0200
     1.3 @@ -0,0 +1,638 @@
     1.4 +// Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
     1.5 +// All rights reserved.
     1.6 +// This component and the accompanying materials are made available
     1.7 +// under the terms of the License "Eclipse Public License v1.0"
     1.8 +// which accompanies this distribution, and is available
     1.9 +// at the URL "http://www.eclipse.org/legal/epl-v10.html".
    1.10 +//
    1.11 +// Initial Contributors:
    1.12 +// Nokia Corporation - initial contribution.
    1.13 +//
    1.14 +// Contributors:
    1.15 +//
    1.16 +// Description:
    1.17 +// e32\include\e32cia.h
    1.18 +// 
    1.19 +// WARNING: This file contains some APIs which are internal and are subject
    1.20 +//          to change without notice. Such APIs should therefore not be used
    1.21 +//          outside the Kernel and Hardware Services package.
    1.22 +//
    1.23 +
    1.24 +/**
    1.25 + @file
    1.26 + @internalTechnology
    1.27 +*/
    1.28 +
    1.29 +#ifndef __E32CIA_H__
    1.30 +#define __E32CIA_H__
    1.31 +
    1.32 +// CIA symbols for USER side code
    1.33 +// CIA symbol macros for Gcc98r2
    1.34 +#if defined(__GCC32__)
    1.35 +#define CSM_ZN4Exec12PopTrapFrameEv " PopTrapFrame__4Exec"
    1.36 +#define CSM_ZN4User7ReAllocEPvii " ReAlloc__4UserPvii"
    1.37 +#define CSM_Z30PanicCObjectConIndexOutOfRangev " PanicCObjectConIndexOutOfRange__Fv"
    1.38 +#define CSM_ZN4User15HandleExceptionEPv " HandleException__4UserPv"
    1.39 +#define CSM_ZN4User12AfterHighResE27TTimeIntervalMicroSeconds32 " AfterHighRes__4UserG27TTimeIntervalMicroSeconds32"
    1.40 +#define CSM_ZN4Exec13ServerReceiveEiR14TRequestStatusPv " ServerReceive__4ExeciR14TRequestStatusPv"
    1.41 +#define CSM_ZN5TTrap6UnTrapEv " UnTrap__5TTrap"
    1.42 +#define CSM_Z15PanicStrayEventv " PanicStrayEvent__Fv"
    1.43 +#define CSM_ZN8CServer210BadMessageERK9RMessage2 " BadMessage__8CServer2RC9RMessage2"
    1.44 +#define CSM_ZN10RSemaphore4WaitEv " Wait__10RSemaphore"
    1.45 +#define CSM_Z34PanicCObjectConFindIndexOutOfRangev " PanicCObjectConFindIndexOutOfRange__Fv"
    1.46 +#define CSM_ZN7TRegion5ClearEv " Clear__7TRegion"
    1.47 +#define CSM_ZN4User5AllocEi " Alloc__4Useri"
    1.48 +#define CSM_ZN4User5LeaveEi " Leave__4Useri"
    1.49 +#define CSM_ZN4Exec13PushTrapFrameEP5TTrap " PushTrapFrame__4ExecP5TTrap"
    1.50 +#define CSM_ZN8CServer213PolicyActionLERK9RMessage2RKNS_14TPolicyElementE " PolicyActionL__8CServer2RC9RMessage2RCQ28CServer214TPolicyElement"
    1.51 +#define CSM_Z16AllocAnotherRectP7TRegion " AllocAnotherRect__FP7TRegion"
    1.52 +#define CSM_ZN7TRegion7AddRectERK5TRect " AddRect__7TRegionRC5TRect"
    1.53 +#define CSM_Z28PanicCObjectConFindBadHandlev " PanicCObjectConFindBadHandle__Fv"
    1.54 +#define CSM_ZN10RSemaphore6SignalEv " Signal__10RSemaphore"
    1.55 +#define CSM_ZN8CServer212NotConnectedERK9RMessage2 " NotConnected__8CServer2RC9RMessage2"
    1.56 +#define CSM_ZN7TRegion11SetListSizeEi " SetListSize__7TRegioni"
    1.57 +#define CSM_ZN4User9InvariantEv " Invariant__4User"
    1.58 +#define CSM_ZN8CServer210DisconnectERK9RMessage2 " Disconnect__8CServer2RC9RMessage2"
    1.59 +#define CSM_Z16PanicNoTrapFramev " PanicNoTrapFrame__Fv"
    1.60 +#define CSM_ZN7TRegion10ForceErrorEv " ForceError__7TRegion"
    1.61 +#define CSM_ZN5TTrap4TrapERi " Trap__5TTrapRi"
    1.62 +#define CSM_Z29PanicCObjectIxIndexOutOfRangev " PanicCObjectIxIndexOutOfRange__Fv"
    1.63 +#define CSM_Z30PanicOverUnderflowDividebyZeroi " PanicOverUnderflowDividebyZero__Fi"
    1.64 +#define CSM_ZN8CServer27ConnectERK9RMessage2 " Connect__8CServer2RC9RMessage2"
    1.65 +#define CSM_ZN8CCleanup5CheckEPv " Check__8CCleanupPv"
    1.66 +#define CSM_ZN2PP20InitSuperPageFromRom " InitSuperPageFromRom__2PPUlUl"
    1.67 +#elif defined(__ARMCC__)
    1.68 +// CIA symbol macros for RVCT
    1.69 +#define CSM_ZN4Exec12PopTrapFrameEv " __cpp(Exec::PopTrapFrame)"
    1.70 +#define CSM_ZN4User7ReAllocEPvii " __cpp(User::ReAlloc)"
    1.71 +#define CSM_Z30PanicCObjectConIndexOutOfRangev " __cpp(PanicCObjectConIndexOutOfRange)"
    1.72 +#define CSM_ZN4User15HandleExceptionEPv " __cpp(User::HandleException)"
    1.73 +#define CSM_ZN4User12AfterHighResE27TTimeIntervalMicroSeconds32 " __cpp(User::AfterHighRes)"
    1.74 +#define CSM_ZN4Exec13ServerReceiveEiR14TRequestStatusPv " __cpp(Exec::ServerReceive)"
    1.75 +#define CSM_ZN5TTrap6UnTrapEv " __cpp(TTrap::UnTrap)"
    1.76 +#define CSM_Z15PanicStrayEventv " __cpp(PanicStrayEvent)"
    1.77 +#define CSM_ZN8CServer210BadMessageERK9RMessage2 " __cpp(CServer2::BadMessage)"
    1.78 +#define CSM_ZN10RSemaphore4WaitEv " __cpp(static_cast<void (RSemaphore::*) ()>(&RSemaphore::Wait))"
    1.79 +#define CSM_Z34PanicCObjectConFindIndexOutOfRangev " __cpp(PanicCObjectConFindIndexOutOfRange)"
    1.80 +#define CSM_ZN7TRegion5ClearEv " __cpp(TRegion::Clear)"
    1.81 +#define CSM_ZN4User5AllocEi " __cpp(User::Alloc)"
    1.82 +#define CSM_ZN4User5LeaveEi " __cpp(User::Leave)"
    1.83 +#define CSM_ZN4Exec13PushTrapFrameEP5TTrap " __cpp(Exec::PushTrapFrame)"
    1.84 +#define CSM_ZN8CServer213PolicyActionLERK9RMessage2RKNS_14TPolicyElementE " __cpp(CServer2::PolicyActionL)"
    1.85 +#define CSM_Z16AllocAnotherRectP7TRegion " __cpp(AllocAnotherRect)"
    1.86 +#define CSM_ZN7TRegion7AddRectERK5TRect " __cpp(TRegion::AddRect)"
    1.87 +#define CSM_Z28PanicCObjectConFindBadHandlev " __cpp(PanicCObjectConFindBadHandle)"
    1.88 +#define CSM_ZN10RSemaphore6SignalEv " __cpp(static_cast<void (RSemaphore::*) ()>(&RSemaphore::Signal))"
    1.89 +#define CSM_ZN8CServer212NotConnectedERK9RMessage2 " __cpp(CServer2::NotConnected)"
    1.90 +#define CSM_ZN7TRegion11SetListSizeEi " __cpp(TRegion::SetListSize)"
    1.91 +#define CSM_ZN4User9InvariantEv " __cpp(User::Invariant)"
    1.92 +#define CSM_ZN8CServer210DisconnectERK9RMessage2 " __cpp(CServer2::Disconnect)"
    1.93 +#define CSM_Z16PanicNoTrapFramev " __cpp(PanicNoTrapFrame)"
    1.94 +#define CSM_ZN7TRegion10ForceErrorEv " __cpp(TRegion::ForceError)"
    1.95 +#define CSM_ZN5TTrap4TrapERi " __cpp(TTrap::Trap)"
    1.96 +#define CSM_Z29PanicCObjectIxIndexOutOfRangev " __cpp(PanicCObjectIxIndexOutOfRange)"
    1.97 +#define CSM_Z30PanicOverUnderflowDividebyZeroi " __cpp(PanicOverUnderflowDividebyZero)"
    1.98 +#define CSM_ZN8CServer27ConnectERK9RMessage2 " __cpp(CServer2::Connect)"
    1.99 +#define CSM_ZN8CCleanup5CheckEPv " __cpp(&CCleanup::Check)"
   1.100 +#else
   1.101 +// CIA symbol macros for EABI assemblers
   1.102 +#define CSM_ZN4Exec12PopTrapFrameEv " _ZN4Exec12PopTrapFrameEv"
   1.103 +#define CSM_ZN4User7ReAllocEPvii " _ZN4User7ReAllocEPvii"
   1.104 +#define CSM_Z30PanicCObjectConIndexOutOfRangev " _Z30PanicCObjectConIndexOutOfRangev"
   1.105 +#define CSM_ZN4User15HandleExceptionEPv " _ZN4User15HandleExceptionEPv"
   1.106 +#define CSM_ZN4User12AfterHighResE27TTimeIntervalMicroSeconds32 " _ZN4User12AfterHighResE27TTimeIntervalMicroSeconds32"
   1.107 +#define CSM_ZN4Exec13ServerReceiveEiR14TRequestStatusPv " _ZN4Exec13ServerReceiveEiR14TRequestStatusPv"
   1.108 +#define CSM_ZN5TTrap6UnTrapEv " _ZN5TTrap6UnTrapEv"
   1.109 +#define CSM_Z15PanicStrayEventv " _Z15PanicStrayEventv"
   1.110 +#define CSM_ZN8CServer210BadMessageERK9RMessage2 " _ZN8CServer210BadMessageERK9RMessage2"
   1.111 +#define CSM_ZN10RSemaphore4WaitEv " _ZN10RSemaphore4WaitEv"
   1.112 +#define CSM_Z34PanicCObjectConFindIndexOutOfRangev " _Z34PanicCObjectConFindIndexOutOfRangev"
   1.113 +#define CSM_ZN7TRegion5ClearEv " _ZN7TRegion5ClearEv"
   1.114 +#define CSM_ZN4User5AllocEi " _ZN4User5AllocEi"
   1.115 +#define CSM_ZN4User5LeaveEi " _ZN4User5LeaveEi"
   1.116 +#define CSM_ZN4Exec13PushTrapFrameEP5TTrap " _ZN4Exec13PushTrapFrameEP5TTrap"
   1.117 +#define CSM_ZN8CServer213PolicyActionLERK9RMessage2RKNS_14TPolicyElementE " _ZN8CServer213PolicyActionLERK9RMessage2RKNS_14TPolicyElementE"
   1.118 +#define CSM_Z16AllocAnotherRectP7TRegion " _Z16AllocAnotherRectP7TRegion"
   1.119 +#define CSM_ZN7TRegion7AddRectERK5TRect " _ZN7TRegion7AddRectERK5TRect"
   1.120 +#define CSM_Z28PanicCObjectConFindBadHandlev " _Z28PanicCObjectConFindBadHandlev"
   1.121 +#define CSM_ZN10RSemaphore6SignalEv " _ZN10RSemaphore6SignalEv"
   1.122 +#define CSM_ZN8CServer212NotConnectedERK9RMessage2 " _ZN8CServer212NotConnectedERK9RMessage2"
   1.123 +#define CSM_ZN7TRegion11SetListSizeEi " _ZN7TRegion11SetListSizeEi"
   1.124 +#define CSM_ZN4User9InvariantEv " _ZN4User9InvariantEv"
   1.125 +#define CSM_ZN8CServer210DisconnectERK9RMessage2 " _ZN8CServer210DisconnectERK9RMessage2"
   1.126 +#define CSM_Z16PanicNoTrapFramev " _Z16PanicNoTrapFramev"
   1.127 +#define CSM_ZN7TRegion10ForceErrorEv " _ZN7TRegion10ForceErrorEv"
   1.128 +#define CSM_ZN5TTrap4TrapERi " _ZN5TTrap4TrapERi"
   1.129 +#define CSM_Z29PanicCObjectIxIndexOutOfRangev " _Z29PanicCObjectIxIndexOutOfRangev"
   1.130 +#define CSM_Z30PanicOverUnderflowDividebyZeroi " _Z30PanicOverUnderflowDividebyZeroi"
   1.131 +#define CSM_ZN8CServer27ConnectERK9RMessage2 " _ZN8CServer27ConnectERK9RMessage2"
   1.132 +#define CSM_ZN8CCleanup5CheckEPv " _ZN8CCleanup5CheckEPv"
   1.133 +#endif
   1.134 +
   1.135 +// CIA symbols for KERNEL side code
   1.136 +// CIA symbol macros for Gcc98r2
   1.137 +#if defined(__GCC32__)
   1.138 +#define CSM_ZN1K8MsgInfoE " _1K.MsgInfo"
   1.139 +#define CSM_ZN14NFastSemaphore6SignalEv " Signal__14NFastSemaphore"
   1.140 +#define CSM_ZN4Kern4ExitEi " Exit__4Kerni"
   1.141 +#define CSM_ZN5NKern4ExitEv " Exit__5NKern"
   1.142 +#define CSM_ZN11NThreadBase12DoCsFunctionEv " DoCsFunction__11NThreadBase"
   1.143 +#define CSM_Z24KUDesInfoPanicBadDesTypev " KUDesInfoPanicBadDesType__Fv"
   1.144 +#define CSM_Z29KUDesSetLengthPanicBadDesTypev " KUDesSetLengthPanicBadDesType__Fv"
   1.145 +#define CSM_ZN1K27LockedPlatformSecurityPanicEv " LockedPlatformSecurityPanic__1K"
   1.146 +#define CSM_ZN4Kern8SafeReadEPKvPvi " SafeRead__4KernPCvPvi"
   1.147 +#define CSM_ZN5NKern4LockEv " Lock__5NKern"
   1.148 +#define CSM_ZN5NKern15PreemptionPointEv " PreemptionPoint__5NKern"
   1.149 +#define CSM_ZN5Cache16AtomicSyncMemoryEv " AtomicSyncMemory__5Cache"
   1.150 +#define CSM_ZN11NThreadBase4ExitEv " Exit__11NThreadBase"
   1.151 +#define CSM_ZN5NKern19ThreadRequestSignalEP7NThreadP10NFastMutex " ThreadRequestSignal__5NKernP7NThreadP10NFastMutex"
   1.152 +#define CSM_ZN5NKern6UnlockEv " Unlock__5NKern"
   1.153 +#define CSM_Z21PanicSyncMsgSentTwicev " PanicSyncMsgSentTwice__Fv"
   1.154 +#define CSM_ZN8DSession12AllocAndSendEiPKiP14TRequestStatus " AllocAndSend__8DSessioniPCiP14TRequestStatus"
   1.155 +#define CSM_Z20FastMutexSignalErrorv " FastMutexSignalError__Fv"
   1.156 +#define CSM_Z27KUDesSetLengthPanicOverflowv " KUDesSetLengthPanicOverflow__Fv"
   1.157 +#define CSM_ZN5NKern11FlashSystemEv " FlashSystem__5NKern"
   1.158 +#define CSM_ZN16CacheMaintenance15OnProcessSwitchEv " OnProcessSwitch__16CacheMaintenance"
   1.159 +#define CSM_ZN1K18PanicCurrentThreadEi " PanicCurrentThread__1Ki"
   1.160 +#define CSM_ZN13DSessionShare17CloseOnCompletionEv " CloseOnCompletion__13DSessionShare"
   1.161 +#define CSM_ZN10NFastMutex6SignalEv " Signal__10NFastMutex"
   1.162 +#define CSM_ZN10NFastMutex4WaitEv " Wait__10NFastMutex"
   1.163 +#define CSM_Z9TBmaFaulti " TBmaFault__Fi"
   1.164 +#define CSM_ZN4Kern6PrintfEPKcz " Printf__4KernPCce"
   1.165 +#define CSM_ZN5TDes89SetLengthEi " SetLength__5TDes8i"
   1.166 +#define CSM_Z20FastMutexNestAttemptv " FastMutexNestAttempt__Fv"
   1.167 +#define CSM_ZN8DSession14SendOnNewShareEP9RMessageKi " SendOnNewShare__8DSessionP9RMessageKi"
   1.168 +#define CSM_ZN1K20TheFileServerProcessE " _1K.TheFileServerProcess"
   1.169 +#define CSM_ZN5NKern12UnlockSystemEv " UnlockSystem__5NKern"
   1.170 +#define CSM_ZN2PP17MonitorEntryPointE " _2PP.MonitorEntryPoint"
   1.171 +#define CSM_ZN4Kern9SafeWriteEPvPKvi " SafeWrite__4KernPvPCvi"
   1.172 +#define CSM_Z25CompleteDisconnectMessageR9RMessageK " CompleteDisconnectMessage__FR9RMessageK"
   1.173 +#define CSM_ZN1K5FaultENS_6TFaultE " Fault__1KQ21K6TFault"
   1.174 +#define CSM_ZN4TDfc3AddEv " Add__4TDfc"
   1.175 +#define CSM_ZN4TDfc6RawAddEv " RawAdd__4TDfc"
   1.176 +#define CSM_ZN10TScheduler7YieldToEP11NThreadBase " YieldTo__10TSchedulerP11NThreadBase"
   1.177 +#define CSM_Z14CheckLockStatev " CheckLockState__Fv"
   1.178 +#define CSM_Z18InvalidExecHandlerv " InvalidExecHandler__Fv"
   1.179 +#define CSM_Z15InvalidFastExecv " InvalidFastExec__Fv"
   1.180 +#define CSM_ZN2PP11NanoWaitCalE " _2PP.NanoWaitCal"
   1.181 +#define CSM_Z22PanicMesAlreadyPendingv " PanicMesAlreadyPending__Fv"
   1.182 +#define CSM_ZN10TScheduler10RescheduleEv " Reschedule__10TScheduler"
   1.183 +#define CSM_ZN10TScheduler9QueueDfcsEv " QueueDfcs__10TScheduler"
   1.184 +#define CSM_ZN13TSubScheduler9QueueDfcsEv " QueueDfcs__13TSubScheduler"
   1.185 +#define	CSM_ZN13TSubScheduler16SelectNextThreadEv " SelectNextThread__13TSubScheduler"
   1.186 +#define CSM_ZN5NKern20DisableAllInterruptsEv " DisableAllInterrupts__5NKern"
   1.187 +#define CSM_ZN5NKern10LockSystemEv " LockSystem__5NKern"
   1.188 +#define CSM_ZN7Monitor4InitEPvi " Init__7MonitorPvi"
   1.189 +#define CSM_ZN7Monitor5LeaveEi " Leave__7Monitori"
   1.190 +#define CSM_Z10KernelMainv " KernelMain__Fv"
   1.191 +#define CSM_ZN4Kern9SuperPageEv " SuperPage__4Kern"
   1.192 +#define CSM_ZN8DSession19CloseFromDisconnectEv " CloseFromDisconnect__8DSession"
   1.193 +#define	CSM_ZN5NKern13ThreadEnterCSEv " ThreadEnterCS__5NKern"
   1.194 +#define	CSM_ZN5NKern13ThreadLeaveCSEv " ThreadLeaveCS__5NKern"
   1.195 +#define	CSM_ZN5NKern14_ThreadEnterCSEv " _ThreadEnterCS__5NKern"
   1.196 +#define	CSM_ZN5NKern14_ThreadLeaveCSEv " _ThreadLeaveCS__5NKern"
   1.197 +#define	CSM_ZN7DObject10AsyncCloseEv " AsyncClose__7DObject"
   1.198 +#define CSM_ZN3EMI16CallStartHandlerEP7DThread " CallStartHandler__3EMIP7DThread"
   1.199 +#define CSM_ZN2KL5PanicENS_13TKernLibPanicE " Panic__2KLQ22KL13TKernLibPanic"
   1.200 +#define CSM_ZN5NKern11FastCounterEv " FastCounter__5NKern"
   1.201 +#define CSM_ZN4TDfc7DoEnqueEv " DoEnque__4TDfc"
   1.202 +#define CSM_ZN6BTrace8DoOutBigEmmPKvimm "DoOutBig__6BTraceUlUlPCviUlUl"
   1.203 +#define CSM_ZN6BTrace4OutXEmmmm "OutX__6BTraceUlUlUlUl"
   1.204 +#define CSM_ZN6BTrace3OutEmmmm "Out__6BTraceUlUlUlUl"
   1.205 +#define CSM_ZN5NKern9TickCountEv " TickCount__5NKern"
   1.206 +#define CSM_ZN3Mmu14MoveKernelPageEP6DChunkmmRmji "MoveKernelPage__3MmuP6DChunkUlUlRUlUii"
   1.207 +#define CSM_ZN12TPriListBase15HighestPriorityEv "HighestPriority__12TPriListBase"
   1.208 +#define CSM_ZN12TPriListBase5FirstEv "First__12TPriListBase"
   1.209 +#define CSM_ZN12TPriListBase3AddEP12TPriListLink "Add__12TPriListBaseP12TPriListLink"
   1.210 +#define	CSM_ZN12TPriListBase6RemoveEP12TPriListLink "Remove__12TPriListBaseP12TPriListLink"
   1.211 +#define	CSM_ZN12TPriListBase14ChangePriorityEP12TPriListLinki "ChangePriority__12TPriListBaseP12TPriListLinki"
   1.212 +#define CSM_ZN4Kern9AsyncFreeEPv "AsyncFree__4KernPv"
   1.213 +#define CSM_ZN9RMessageK4FreeEv "Free__9RMessageK"
   1.214 +#define CSM_ZN1K9ObjDeleteEP7DObject "ObjDelete__1KP7DObject"
   1.215 +#define CSM_ZN5NKern19ThreadRequestSignalEP7NThread "ThreadRequestSignal__5NKernP7NThread"
   1.216 +#define CSM_ZN1K16ObjectFromHandleEii "ObjectFromHandle__1Kii"
   1.217 +#define CSM_ZN5NKern6FMWaitEP10NFastMutex "FMWait__5NKernP10NFastMutex"
   1.218 +#define CSM_ZN5NKern8FMSignalEP10NFastMutex "FMSignal__5NKernP10NFastMutex"
   1.219 +#define CSM_ZN14TClientRequest9SetStatusEP14TRequestStatus "SetStatus__14TClientRequestP14TRequestStatus"
   1.220 +#define	CSM_ZN9TSpinLock7LockIrqEv "LockIrq__9TSpinLock"
   1.221 +#define	CSM_ZN9TSpinLock9UnlockIrqEv "UnlockIrq__9TSpinLock"
   1.222 +#define	CSM_ZN9TSpinLock8LockOnlyEv "LockOnly__9TSpinLock"
   1.223 +#define	CSM_ZN9TSpinLock10UnlockOnlyEv "UnlockOnly__9TSpinLock"
   1.224 +#define	CSM_ZN9TSpinLock11LockIrqSaveEv "LockIrqSave__9TSpinLock"
   1.225 +#define	CSM_ZN9TSpinLock16UnlockIrqRestoreEi "UnlockIrqRestore__9TSpinLocki"
   1.226 +#define	CSM_ZN11TRWSpinLock8LockIrqREv "LockIrqR__11TRWSpinLock"
   1.227 +#define	CSM_ZN11TRWSpinLock10UnlockIrqREv "UnlockIrqR__11TRWSpinLock"
   1.228 +#define	CSM_ZN11TRWSpinLock9LockOnlyREv "LockOnlyR__11TRWSpinLock"
   1.229 +#define	CSM_ZN11TRWSpinLock11UnlockOnlyREv "UnlockOnlyR__11TRWSpinLock"
   1.230 +#define	CSM_ZN11TRWSpinLock17UnlockIrqRestoreREi "UnlockIrqRestoreR__11TRWSpinLocki"
   1.231 +#define	CSM_ZN11TRWSpinLock8LockIrqWEv "LockIrqW__11TRWSpinLock"
   1.232 +#define	CSM_ZN11TRWSpinLock10UnlockIrqWEv "UnlockIrqW__11TRWSpinLock"
   1.233 +#define	CSM_ZN11TRWSpinLock9LockOnlyWEv "LockOnlyW__11TRWSpinLock"
   1.234 +#define	CSM_ZN11TRWSpinLock11UnlockOnlyWEv "UnlockOnlyW__11TRWSpinLock"
   1.235 +#define	CSM_ZN11TRWSpinLock17UnlockIrqRestoreWEi "UnlockIrqRestoreW__11TRWSpinLocki"
   1.236 +#define	CSM_ZN3Arm9SaveStateER14SFullArmRegSet "SaveState__3ArmR14SFullArmRegSet"
   1.237 +#define	CSM_ZN3Arm3RegER14SFullArmRegSetim "Reg__3ArmR14SFullArmRegSetiUl"
   1.238 +#define	CSM_Z9KDebugNumi " KDebugNum__Fi"
   1.239 +#define CSM_ZN5NKern9TimestampEv " Timestamp__5NKern"
   1.240 +#define	CSM_ZN5NKern18TimestampFrequencyEv " TimestampFrequency__5NKern"
   1.241 +#define CSM_ZN6NTimer7OneShotEii " OneShot__6NTimerii"
   1.242 +#define CSM_ZN4Kern20QueueRequestCompleteEP7DThreadP14TClientRequesti "QueueRequestComplete__4KernP7DThreadP14TClientRequesti"
   1.243 +#define CSM_ZN1M18IsDataPagedAddressEPKvRi "IsDataPagedAddress__1MPCvRi"
   1.244 +#define CSM_ZN8DSession14PinDescriptorsEPiPA3_mPP17TVirtualPinObject "PinDescriptors__8DSessionPiPA2_UlPP17TVirtualPinObject"
   1.245 +#define CSM_ZN14TClientRequest5ResetEv "Reset__14TClientRequest"
   1.246 +#define CSM_ZN9RMessageK8CloseRefEv "CloseRef__9RMessageK"
   1.247 +#elif defined(__ARMCC__)
   1.248 +// CIA symbol macros for RVCT
   1.249 +#define CSM_ZN1K8MsgInfoE " __cpp(&K::MsgInfo)"
   1.250 +#define CSM_ZN14NFastSemaphore6SignalEv " __cpp(NFastSemaphore::Signal)"
   1.251 +#define CSM_ZN4Kern4ExitEi " __cpp(Kern::Exit)"
   1.252 +#define CSM_ZN5NKern4ExitEv " __cpp(NKern::Exit)"
   1.253 +#define CSM_ZN11NThreadBase12DoCsFunctionEv " __cpp(NThreadBase::DoCsFunction)"
   1.254 +#define CSM_Z24KUDesInfoPanicBadDesTypev " __cpp(KUDesInfoPanicBadDesType)"
   1.255 +#define CSM_Z29KUDesSetLengthPanicBadDesTypev " __cpp(KUDesSetLengthPanicBadDesType)"
   1.256 +#define CSM_ZN1K27LockedPlatformSecurityPanicEv " __cpp(K::LockedPlatformSecurityPanic)"
   1.257 +#define CSM_ZN4Kern8SafeReadEPKvPvi " __cpp(Kern::SafeRead)"
   1.258 +#define CSM_ZN5NKern4LockEv " __cpp(NKern::Lock)"
   1.259 +#define CSM_ZN5NKern15PreemptionPointEv " __cpp(NKern::PreemptionPoint)"
   1.260 +#define CSM_ZN5Cache16AtomicSyncMemoryEv " __cpp(static_cast<void (*) ()>(&Cache::AtomicSyncMemory))"
   1.261 +#define CSM_ZN11NThreadBase4ExitEv " __cpp(NThreadBase::Exit)"
   1.262 +#define CSM_ZN5NKern19ThreadRequestSignalEP7NThreadP10NFastMutex " __cpp(static_cast<void (*) (NThread *, NFastMutex *)>(&NKern::ThreadRequestSignal))"
   1.263 +#define CSM_ZN5NKern6UnlockEv " __cpp(NKern::Unlock)"
   1.264 +#define CSM_Z21PanicSyncMsgSentTwicev " __cpp(PanicSyncMsgSentTwice)"
   1.265 +#define CSM_ZN8DSession12AllocAndSendEiPKiP14TRequestStatus " __cpp(DSession::AllocAndSend)"
   1.266 +#define CSM_Z20FastMutexSignalErrorv " __cpp(FastMutexSignalError)"
   1.267 +#define CSM_Z27KUDesSetLengthPanicOverflowv " __cpp(KUDesSetLengthPanicOverflow)"
   1.268 +#define CSM_ZN5NKern11FlashSystemEv " __cpp(NKern::FlashSystem)"
   1.269 +#define CSM_ZN16CacheMaintenance15OnProcessSwitchEv " __cpp(CacheMaintenance::OnProcessSwitch)"
   1.270 +#define CSM_ZN1K18PanicCurrentThreadEi " __cpp(K::PanicCurrentThread)"
   1.271 +#define CSM_ZN13DSessionShare17CloseOnCompletionEv " __cpp(DSessionShare::CloseOnCompletion)"
   1.272 +#define CSM_ZN10NFastMutex6SignalEv " __cpp(NFastMutex::Signal)"
   1.273 +#define CSM_ZN10NFastMutex4WaitEv " __cpp(NFastMutex::Wait)"
   1.274 +#define CSM_Z9TBmaFaulti " __cpp(TBmaFault)"
   1.275 +#define CSM_ZN4Kern6PrintfEPKcz " __cpp(Kern::Printf)"
   1.276 +#define CSM_ZN5TDes89SetLengthEi " __cpp(TDes8::SetLength)"
   1.277 +#define CSM_Z20FastMutexNestAttemptv " __cpp(FastMutexNestAttempt)"
   1.278 +#define CSM_ZN8DSession14SendOnNewShareEP9RMessageKi " __cpp(DSession::SendOnNewShare)"
   1.279 +#define CSM_ZN1K20TheFileServerProcessE " __cpp(&K::TheFileServerProcess)"
   1.280 +#define CSM_ZN5NKern12UnlockSystemEv " __cpp(NKern::UnlockSystem)"
   1.281 +#define CSM_ZN2PP17MonitorEntryPointE " __cpp(&PP::MonitorEntryPoint)"
   1.282 +#define CSM_ZN4Kern9SafeWriteEPvPKvi " __cpp(Kern::SafeWrite)"
   1.283 +#define CSM_Z25CompleteDisconnectMessageR9RMessageK " __cpp(CompleteDisconnectMessage)"
   1.284 +#define CSM_ZN1K5FaultENS_6TFaultE " __cpp(K::Fault)"
   1.285 +#define CSM_ZN4TDfc3AddEv " __cpp(TDfc::Add)"
   1.286 +#define CSM_ZN4TDfc6RawAddEv " __cpp(TDfc::RawAdd)"
   1.287 +#define CSM_ZN10TScheduler7YieldToEP11NThreadBase " __cpp(TScheduler::YieldTo)"
   1.288 +#define CSM_Z14CheckLockStatev " __cpp(CheckLockState)"
   1.289 +#define CSM_Z18InvalidExecHandlerv " __cpp(InvalidExecHandler)"
   1.290 +#define CSM_Z15InvalidFastExecv " __cpp(InvalidFastExec)"
   1.291 +#define CSM_ZN2PP11NanoWaitCalE " __cpp(&PP::NanoWaitCal)"
   1.292 +#define CSM_Z22PanicMesAlreadyPendingv " __cpp(PanicMesAlreadyPending)"
   1.293 +#define CSM_ZN10TScheduler10RescheduleEv " __cpp(TScheduler::Reschedule)"
   1.294 +#define CSM_ZN10TScheduler9QueueDfcsEv " __cpp(TScheduler::QueueDfcs)"
   1.295 +#define CSM_ZN13TSubScheduler9QueueDfcsEv " __cpp(TSubScheduler::QueueDfcs)"
   1.296 +#define	CSM_ZN13TSubScheduler16SelectNextThreadEv " __cpp(TSubScheduler::SelectNextThread)"
   1.297 +#define CSM_ZN5NKern20DisableAllInterruptsEv " __cpp(NKern::DisableAllInterrupts)"
   1.298 +#define CSM_ZN5NKern10LockSystemEv " __cpp(NKern::LockSystem)"
   1.299 +#define CSM_ZN7Monitor4InitEPvi " __cpp(Monitor::Init)"
   1.300 +#define CSM_ZN7Monitor5LeaveEi " __cpp(Monitor::Leave)"
   1.301 +#define CSM_Z10KernelMainv " __cpp(KernelMain)"
   1.302 +#define CSM_ZN4Kern9SuperPageEv " __cpp(Kern::SuperPage)"
   1.303 +#define CSM_ZN8DSession19CloseFromDisconnectEv " __cpp(DSession::CloseFromDisconnect)"
   1.304 +#define	CSM_ZN5NKern13ThreadEnterCSEv " __cpp(NKern::ThreadEnterCS)"
   1.305 +#define	CSM_ZN5NKern13ThreadLeaveCSEv " __cpp(NKern::ThreadLeaveCS)"
   1.306 +#define	CSM_ZN5NKern14_ThreadEnterCSEv " __cpp(NKern::_ThreadEnterCS)"
   1.307 +#define	CSM_ZN5NKern14_ThreadLeaveCSEv " __cpp(NKern::_ThreadLeaveCS)"
   1.308 +#define	CSM_ZN7DObject10AsyncCloseEv " __cpp(DObject::AsyncClose)"
   1.309 +#define CSM_ZN3EMI16CallStartHandlerEP7DThread " __cpp(EMI::CallStartHandler)"
   1.310 +#define CSM_ZN2KL5PanicENS_13TKernLibPanicE " __cpp(KL::Panic)"
   1.311 +#define CSM_ZN5NKern11FastCounterEv " __cpp(NKern::FastCounter)"
   1.312 +#define CSM_ZN4TDfc7DoEnqueEv " __cpp(TDfc::DoEnque)"
   1.313 +#define CSM_ZN6BTrace8DoOutBigEmmPKvimm " __cpp(BTrace::DoOutBig)"
   1.314 +#define CSM_ZN6BTrace4OutXEmmmm " __cpp(BTrace::OutX)"
   1.315 +#define CSM_ZN6BTrace3OutEmmmm " __cpp(BTrace::Out)"
   1.316 +#define CSM_ZN5NKern9TickCountEv " __cpp(NKern::TickCount)"
   1.317 +#define CSM_ZN3Mmu14MoveKernelPageEP6DChunkmmRmji " __cpp(Mmu::MoveKernelPage)"
   1.318 +#define CSM_ZN12TPriListBase15HighestPriorityEv "__cpp(TPriListBase::HighestPriority)"
   1.319 +#define CSM_ZN12TPriListBase5FirstEv "__cpp(TPriListBase::First)"
   1.320 +#define CSM_ZN12TPriListBase3AddEP12TPriListLink "__cpp(TPriListBase::Add)"
   1.321 +#define	CSM_ZN12TPriListBase6RemoveEP12TPriListLink "__cpp(TPriListBase::Remove)"
   1.322 +#define	CSM_ZN12TPriListBase14ChangePriorityEP12TPriListLinki "__cpp(TPriListBase::ChangePriority)"
   1.323 +#define CSM_ZN4Kern9AsyncFreeEPv " __cpp(Kern::AsyncFree)"
   1.324 +#define CSM_ZN9RMessageK4FreeEv " __cpp(RMessageK::Free)"
   1.325 +#define CSM_ZN1K9ObjDeleteEP7DObject " __cpp(K::ObjDelete)"
   1.326 +#define CSM_ZN5NKern19ThreadRequestSignalEP7NThread " __cpp(static_cast<void (*) (NThread *)>(&NKern::ThreadRequestSignal))"
   1.327 +#define CSM_ZN1K16ObjectFromHandleEii " __cpp(static_cast<DObject* (*) (TInt, TInt)>(&K::ObjectFromHandle))"
   1.328 +#define CSM_ZN5NKern6FMWaitEP10NFastMutex " __cpp(NKern::FMWait)"
   1.329 +#define CSM_ZN5NKern8FMSignalEP10NFastMutex " __cpp(NKern::FMSignal)"
   1.330 +#define CSM_ZN14TClientRequest9SetStatusEP14TRequestStatus " __cpp(TClientRequest::SetStatus)"
   1.331 +#define	CSM_ZN9TSpinLock7LockIrqEv "__cpp(TSpinLock::LockIrq)"
   1.332 +#define	CSM_ZN9TSpinLock9UnlockIrqEv "__cpp(TSpinLock::UnlockIrq)"
   1.333 +#define	CSM_ZN9TSpinLock8LockOnlyEv "__cpp(TSpinLock::LockOnly)"
   1.334 +#define	CSM_ZN9TSpinLock10UnlockOnlyEv "__cpp(TSpinLock::UnlockOnly)"
   1.335 +#define	CSM_ZN9TSpinLock11LockIrqSaveEv "__cpp(TSpinLock::LockIrqSave)"
   1.336 +#define	CSM_ZN9TSpinLock16UnlockIrqRestoreEi "__cpp(TSpinLock::UnlockIrqRestore)"
   1.337 +#define	CSM_ZN11TRWSpinLock8LockIrqREv "__cpp(TRWSpinLock::LockIrqR)"
   1.338 +#define	CSM_ZN11TRWSpinLock10UnlockIrqREv "__cpp(TRWSpinLock::UnlockIrqR)"
   1.339 +#define	CSM_ZN11TRWSpinLock9LockOnlyREv "__cpp(TRWSpinLock::LockOnlyR)"
   1.340 +#define	CSM_ZN11TRWSpinLock11UnlockOnlyREv "__cpp(TRWSpinLock::UnlockOnlyR)"
   1.341 +#define	CSM_ZN11TRWSpinLock17UnlockIrqRestoreREi "__cpp(TRWSpinLock::UnlockIrqRestoreR)"
   1.342 +#define	CSM_ZN11TRWSpinLock8LockIrqWEv "__cpp(TRWSpinLock::LockIrqW)"
   1.343 +#define	CSM_ZN11TRWSpinLock10UnlockIrqWEv "__cpp(TRWSpinLock::UnlockIrqW)"
   1.344 +#define	CSM_ZN11TRWSpinLock9LockOnlyWEv "__cpp(TRWSpinLock::LockOnlyW)"
   1.345 +#define	CSM_ZN11TRWSpinLock11UnlockOnlyWEv "__cpp(TRWSpinLock::UnlockOnlyW)"
   1.346 +#define	CSM_ZN11TRWSpinLock17UnlockIrqRestoreWEi "__cpp(TRWSpinLock::UnlockIrqRestoreW)"
   1.347 +#define	CSM_ZN3Arm9SaveStateER14SFullArmRegSet "__cpp(Arm::SaveState)"
   1.348 +#define	CSM_ZN3Arm3RegER14SFullArmRegSetim "__cpp(Arm::Reg)"
   1.349 +#define	CSM_Z9KDebugNumi "__cpp(KDebugNum)"
   1.350 +#define CSM_ZN5NKern9TimestampEv " __cpp(NKern::Timestamp)"
   1.351 +#define	CSM_ZN5NKern18TimestampFrequencyEv " __cpp(NKern::TimestampFrequency)"
   1.352 +#define CSM_ZN6NTimer7OneShotEii " __cpp(static_cast<int (NTimer::*)(int, int)>(&NTimer::OneShot))"
   1.353 +#define CSM_ZN4Kern20QueueRequestCompleteEP7DThreadP14TClientRequesti " __cpp(Kern::QueueRequestComplete)"
   1.354 +#define CSM_ZN1M18IsDataPagedAddressEPKvRi " __cpp(M::IsDataPagedAddress)"
   1.355 +#define CSM_ZN8DSession14PinDescriptorsEPiPA3_mPP17TVirtualPinObject " __cpp(DSession::PinDescriptors)"
   1.356 +#define CSM_ZN14TClientRequest5ResetEv "__cpp(TClientRequest::Reset)"
   1.357 +#define CSM_ZN9RMessageK8CloseRefEv "__cpp(RMessageK::CloseRef)"
   1.358 +#else
   1.359 +// CIA symbol macros for EABI assemblers
   1.360 +#define CSM_ZN1K8MsgInfoE " _ZN1K9MsgInfoE"
   1.361 +#define CSM_ZN14NFastSemaphore6SignalEv " _ZN14NFastSemaphore6SignalEv"
   1.362 +#define CSM_ZN4Kern4ExitEi " _ZN4Kern4ExitEi"
   1.363 +#define CSM_ZN5NKern4ExitEv " _ZN5NKern4ExitEv"
   1.364 +#define CSM_ZN11NThreadBase12DoCsFunctionEv " _ZN11NThreadBase12DoCsFunctionEv"
   1.365 +#define CSM_Z24KUDesInfoPanicBadDesTypev " _Z24KUDesInfoPanicBadDesTypev"
   1.366 +#define CSM_Z29KUDesSetLengthPanicBadDesTypev " _Z29KUDesSetLengthPanicBadDesTypev"
   1.367 +#define CSM_ZN1K27LockedPlatformSecurityPanicEv " _ZN1K27LockedPlatformSecurityPanicEv"
   1.368 +#define CSM_ZN4Kern8SafeReadEPKvPvi " _ZN4Kern8SafeReadEPKvPvi"
   1.369 +#define CSM_ZN5NKern4LockEv " _ZN5NKern4LockEv"
   1.370 +#define CSM_ZN5NKern15PreemptionPointEv " _ZN5NKern15PreemptionPointEv"
   1.371 +#define CSM_ZN5Cache16AtomicSyncMemoryEv " _ZN5Cache16AtomicSyncMemoryEv"
   1.372 +#define CSM_ZN11NThreadBase4ExitEv " _ZN11NThreadBase4ExitEv"
   1.373 +#define CSM_ZN5NKern19ThreadRequestSignalEP7NThreadP10NFastMutex " _ZN5NKern19ThreadRequestSignalEP7NThreadP10NFastMutex"
   1.374 +#define CSM_ZN5NKern6UnlockEv " _ZN5NKern6UnlockEv"
   1.375 +#define CSM_Z21PanicSyncMsgSentTwicev " _Z21PanicSyncMsgSentTwicev"
   1.376 +#define CSM_ZN8DSession12AllocAndSendEiPKiP14TRequestStatus " _ZN8DSession12AllocAndSendEiPKiP14TRequestStatus"
   1.377 +#define CSM_Z20FastMutexSignalErrorv " _Z20FastMutexSignalErrorv"
   1.378 +#define CSM_Z27KUDesSetLengthPanicOverflowv " _Z27KUDesSetLengthPanicOverflowv"
   1.379 +#define CSM_ZN5NKern11FlashSystemEv " _ZN5NKern11FlashSystemEv"
   1.380 +#define CSM_ZN16CacheMaintenance15OnProcessSwitchEv " _ZN16CacheMaintenance15OnProcessSwitchEv"
   1.381 +#define CSM_ZN1K18PanicCurrentThreadEi " _ZN1K18PanicCurrentThreadEi"
   1.382 +#define CSM_ZN13DSessionShare17CloseOnCompletionEv " _ZN13DSessionShare17CloseOnCompletionEv"
   1.383 +#define CSM_ZN10NFastMutex6SignalEv " _ZN10NFastMutex6SignalEv"
   1.384 +#define CSM_ZN10NFastMutex4WaitEv " _ZN10NFastMutex4WaitEv"
   1.385 +#define CSM_Z9TBmaFaulti " _Z9TBmaFaulti"
   1.386 +#define CSM_ZN4Kern6PrintfEPKcz " _ZN4Kern6PrintfEPKcz"
   1.387 +#define CSM_ZN5TDes89SetLengthEi " _ZN5TDes89SetLengthEi"
   1.388 +#define CSM_Z20FastMutexNestAttemptv " _Z20FastMutexNestAttemptv"
   1.389 +#define CSM_ZN8DSession14SendOnNewShareEP9RMessageKi " _ZN8DSession14SendOnNewShareEP9RMessageKi"
   1.390 +#define CSM_ZN1K20TheFileServerProcessE " _ZN1K20TheFileServerProcessE"
   1.391 +#define CSM_ZN5NKern12UnlockSystemEv " _ZN5NKern12UnlockSystemEv"
   1.392 +#define CSM_ZN2PP17MonitorEntryPointE " _ZN2PP17MonitorEntryPointE"
   1.393 +#define CSM_ZN4Kern9SafeWriteEPvPKvi " _ZN4Kern9SafeWriteEPvPKvi"
   1.394 +#define CSM_Z25CompleteDisconnectMessageR9RMessageK " _Z25CompleteDisconnectMessageR9RMessageK"
   1.395 +#define CSM_ZN1K5FaultENS_6TFaultE " _ZN1K5FaultENS_6TFaultE"
   1.396 +#define CSM_ZN4TDfc3AddEv " _ZN4TDfc3AddEv"
   1.397 +#define CSM_ZN4TDfc6RawAddEv " _ZN4TDfc6RawAddEv"
   1.398 +#define CSM_ZN10TScheduler7YieldToEP11NThreadBase " _ZN10TScheduler7YieldToEP11NThreadBase"
   1.399 +#define CSM_Z14CheckLockStatev " _Z14CheckLockStatev"
   1.400 +#define CSM_Z18InvalidExecHandlerv " _Z18InvalidExecHandlerv"
   1.401 +#define CSM_Z15InvalidFastExecv " _Z15InvalidFastExecv"
   1.402 +#define CSM_ZN2PP11NanoWaitCalE " _ZN2PP11NanoWaitCalE"
   1.403 +#define CSM_Z22PanicMesAlreadyPendingv " _Z22PanicMesAlreadyPendingv"
   1.404 +#define CSM_ZN10TScheduler10RescheduleEv " _ZN10TScheduler10RescheduleEv"
   1.405 +#define CSM_ZN10TScheduler9QueueDfcsEv " _ZN10TScheduler9QueueDfcsEv"
   1.406 +#define CSM_ZN13TSubScheduler9QueueDfcsEv " _ZN13TSubScheduler9QueueDfcsEv"
   1.407 +#define	CSM_ZN13TSubScheduler16SelectNextThreadEv "_ZN13TSubScheduler16SelectNextThreadEv"
   1.408 +#define CSM_ZN5NKern20DisableAllInterruptsEv " _ZN5NKern20DisableAllInterruptsEv"
   1.409 +#define CSM_ZN5NKern10LockSystemEv " _ZN5NKern10LockSystemEv"
   1.410 +#define CSM_ZN7Monitor4InitEPvi " _ZN7Monitor4InitEPvi"
   1.411 +#define CSM_ZN7Monitor5LeaveEi " _ZN7Monitor5LeaveEi"
   1.412 +#define CSM_Z10KernelMainv " _Z10KernelMainv"
   1.413 +#define CSM_ZN4Kern9SuperPageEv " _ZN4Kern9SuperPageEv"
   1.414 +#define CSM_ZN8DSession19CloseFromDisconnectEv " _ZN8DSession19CloseFromDisconnectEv"
   1.415 +#define	CSM_ZN5NKern13ThreadEnterCSEv " _ZN5NKern13ThreadEnterCSEv"
   1.416 +#define	CSM_ZN5NKern13ThreadLeaveCSEv " _ZN5NKern13ThreadLeaveCSEv"
   1.417 +#define	CSM_ZN5NKern14_ThreadEnterCSEv " _ZN5NKern14_ThreadEnterCSEv"
   1.418 +#define	CSM_ZN5NKern14_ThreadLeaveCSEv " _ZN5NKern14_ThreadLeaveCSEv"
   1.419 +#define	CSM_ZN7DObject10AsyncCloseEv " _ZN7DObject10AsyncCloseEv"
   1.420 +#define CSM_ZN3EMI16CallStartHandlerEP7DThread " _ZN3EMI16CallStartHandlerEP7DThread"
   1.421 +#define CSM_ZN2KL5PanicENS_13TKernLibPanicE " _ZN2KL5PanicENS_13TKernLibPanicE"
   1.422 +#define CSM_ZN5NKern11FastCounterEv " _ZN5NKern11FastCounterEv"
   1.423 +#define CSM_ZN4TDfc7DoEnqueEv " _ZN4TDfc7DoEnqueEv"
   1.424 +#define CSM_ZN6BTrace8DoOutBigEmmPKvimm "_ZN6BTrace8DoOutBigEmmPKvimm"
   1.425 +#define CSM_ZN6BTrace4OutXEmmmm "_ZN6BTrace4OutXEmmmm"
   1.426 +#define CSM_ZN6BTrace3OutEmmmm "_ZN6BTrace3OutEmmmm"
   1.427 +#define CSM_ZN5NKern9TickCountEv "_ZN5NKern9TickCountEv"
   1.428 +#define CSM_ZN3Mmu14MoveKernelPageEP6DChunkmmRmji "_ZN3Mmu14MoveKernelPageEP6DChunkmmRmji"
   1.429 +#define CSM_ZN12TPriListBase15HighestPriorityEv "_ZN12TPriListBase15HighestPriorityEv"
   1.430 +#define CSM_ZN12TPriListBase5FirstEv "_ZN12TPriListBase5FirstEv"
   1.431 +#define CSM_ZN12TPriListBase3AddEP12TPriListLink "_ZN12TPriListBase3AddEP12TPriListLink"
   1.432 +#define	CSM_ZN12TPriListBase6RemoveEP12TPriListLink "_ZN12TPriListBase6RemoveEP12TPriListLink"
   1.433 +#define	CSM_ZN12TPriListBase14ChangePriorityEP12TPriListLinki "_ZN12TPriListBase14ChangePriorityEP12TPriListLinki"
   1.434 +#define CSM_ZN4Kern9AsyncFreeEPv "_ZN4Kern9AsyncFreeEPv"
   1.435 +#define CSM_ZN9RMessageK4FreeEv "_ZN9RMessageK4FreeEv"
   1.436 +#define CSM_ZN1K9ObjDeleteEP7DObject "_ZN1K9ObjDeleteEP7DObject"
   1.437 +#define CSM_ZN5NKern19ThreadRequestSignalEP7NThread "_ZN5NKern19ThreadRequestSignalEP7NThread"
   1.438 +#define CSM_ZN1K16ObjectFromHandleEii "_ZN1K16ObjectFromHandleEii"
   1.439 +#define CSM_ZN5NKern6FMWaitEP10NFastMutex "_ZN5NKern6FMWaitEP10NFastMutex"
   1.440 +#define CSM_ZN5NKern8FMSignalEP10NFastMutex "_ZN5NKern8FMSignalEP10NFastMutex"
   1.441 +#define CSM_ZN14TClientRequest9SetStatusEP14TRequestStatus "_ZN14TClientRequest9SetStatusEP14TRequestStatus"
   1.442 +#define	CSM_ZN9TSpinLock7LockIrqEv "_ZN9TSpinLock7LockIrqEv"
   1.443 +#define	CSM_ZN9TSpinLock9UnlockIrqEv "_ZN9TSpinLock9UnlockIrqEv"
   1.444 +#define	CSM_ZN9TSpinLock8LockOnlyEv "_ZN9TSpinLock8LockOnlyEv"
   1.445 +#define	CSM_ZN9TSpinLock10UnlockOnlyEv "_ZN9TSpinLock10UnlockOnlyEv"
   1.446 +#define	CSM_ZN9TSpinLock11LockIrqSaveEv "_ZN9TSpinLock11LockIrqSaveEv"
   1.447 +#define	CSM_ZN9TSpinLock16UnlockIrqRestoreEi "_ZN9TSpinLock16UnlockIrqRestoreEi"
   1.448 +#define	CSM_ZN11TRWSpinLock8LockIrqREv "_ZN11TRWSpinLock8LockIrqREv"
   1.449 +#define	CSM_ZN11TRWSpinLock10UnlockIrqREv "_ZN11TRWSpinLock10UnlockIrqREv"
   1.450 +#define	CSM_ZN11TRWSpinLock9LockOnlyREv "_ZN11TRWSpinLock9LockOnlyREv"
   1.451 +#define	CSM_ZN11TRWSpinLock11UnlockOnlyREv "_ZN11TRWSpinLock11UnlockOnlyREv"
   1.452 +#define	CSM_ZN11TRWSpinLock17UnlockIrqRestoreREi "_ZN11TRWSpinLock17UnlockIrqRestoreREi"
   1.453 +#define	CSM_ZN11TRWSpinLock8LockIrqWEv "_ZN11TRWSpinLock8LockIrqWEv"
   1.454 +#define	CSM_ZN11TRWSpinLock10UnlockIrqWEv "_ZN11TRWSpinLock10UnlockIrqWEv"
   1.455 +#define	CSM_ZN11TRWSpinLock9LockOnlyWEv "_ZN11TRWSpinLock9LockOnlyWEv"
   1.456 +#define	CSM_ZN11TRWSpinLock11UnlockOnlyWEv "_ZN11TRWSpinLock11UnlockOnlyWEv"
   1.457 +#define	CSM_ZN11TRWSpinLock17UnlockIrqRestoreWEi "_ZN11TRWSpinLock17UnlockIrqRestoreWEi"
   1.458 +#define	CSM_ZN3Arm9SaveStateER14SFullArmRegSet "_ZN3Arm9SaveStateER14SFullArmRegSet"
   1.459 +#define	CSM_ZN3Arm3RegER14SFullArmRegSetim "_ZN3Arm3RegER14SFullArmRegSetim"
   1.460 +#define	CSM_Z9KDebugNumi " _Z9KDebugNumi"
   1.461 +#define CSM_ZN5NKern9TimestampEv " _ZN5NKern9TimestampEv"
   1.462 +#define	CSM_ZN5NKern18TimestampFrequencyEv " _ZN5NKern18TimestampFrequencyEv"
   1.463 +#define CSM_ZN6NTimer7OneShotEii " _ZN6NTimer7OneShotEii"
   1.464 +#define CSM_ZN4Kern20QueueRequestCompleteEP7DThreadP14TClientRequesti "_ZN4Kern20QueueRequestCompleteEP7DThreadP14TClientRequesti"
   1.465 +#define CSM_ZN1M18IsDataPagedAddressEPKvRi "_ZN1M18IsDataPagedAddressEPKvRi"
   1.466 +#define CSM_ZN8DSession14PinDescriptorsEPiPA3_mPP17TVirtualPinObject "_ZN8DSession14PinDescriptorsEPiPA3_mPP17TVirtualPinObject"
   1.467 +#define CSM_ZN14TClientRequest5ResetEv "_ZN14TClientRequest5ResetEv"
   1.468 +#define CSM_ZN9RMessageK8CloseRefEv "_ZN9RMessageK8CloseRefEv"
   1.469 +#endif
   1.470 +
   1.471 +// CIA symbols for COMMON code (used both USER and KERNEL side)
   1.472 +// CIA symbol macros for Gcc98r2
   1.473 +#if defined(__GCC32__)
   1.474 +#define CSM_CFUNC(f)	#f
   1.475 +#define CSM_Z26Des16PanicLengthOutOfRangev " Des16PanicLengthOutOfRange__Fv"
   1.476 +#define CSM_Z20Des8PanicDesOverflowv " Des8PanicDesOverflow__Fv"
   1.477 +#define CSM_ZN10RArrayBase4GrowEv " Grow__10RArrayBase"
   1.478 +#define CSM_ZN3Mem8CompareCEPKtiS0_i " CompareC__3MemPCUsiT1i"
   1.479 +#define CSM_Z20Des16PanicBadDesTypev " Des16PanicBadDesType__Fv"
   1.480 +#define CSM_Z24Des16PanicLengthNegativev " Des16PanicLengthNegative__Fv"
   1.481 +#define CSM_Z19Des8PanicBadDesTypev " Des8PanicBadDesType__Fv"
   1.482 +#define CSM_ZN3Mem7CompareEPKtiS0_i " Compare__3MemPCUsiT1i"
   1.483 +#define CSM_Z23Des8PanicLengthNegativev " Des8PanicLengthNegative__Fv"
   1.484 +#define CSM_ZN17RPointerArrayBase4GrowEv " Grow__17RPointerArrayBase"
   1.485 +#define CSM_Z28Des16PanicDesIndexOutOfRangev " Des16PanicDesIndexOutOfRange__Fv"
   1.486 +#define CSM_ZN3Mem8CompareFEPKhiS0_i " CompareF__3MemPCUciT1i"
   1.487 +#define CSM_Z5Panic9TCdtPanic " Panic__F9TCdtPanic"
   1.488 +#define CSM_Z27Des8PanicDesIndexOutOfRangev " Des8PanicDesIndexOutOfRange__Fv"
   1.489 +#define CSM_ZN3Mem8CompareFEPKtiS0_i " CompareF__3MemPCUsiT1i"
   1.490 +#define CSM_Z26Des8PanicMaxLengthNegativev " Des8PanicMaxLengthNegative__Fv"
   1.491 +#define CSM_Z25Des8PanicLengthOutOfRangev " Des8PanicLengthOutOfRange__Fv"
   1.492 +#define CSM_Z21Des16PanicDesOverflowv " Des16PanicDesOverflow__Fv"
   1.493 +#define CSM_Z27Des16PanicMaxLengthNegativev " Des16PanicMaxLengthNegative__Fv"
   1.494 +#define CSM_Z18PanicBadArrayIndexv " PanicBadArrayIndex__Fv"
   1.495 +#define CSM_Z22Des8PanicPosOutOfRangev " Des8PanicPosOutOfRange__Fv"
   1.496 +#define CSM_Z23Des16PanicPosOutOfRangev " Des16PanicPosOutOfRange__Fv"
   1.497 +#define CSM_ZN3Mem8CompareCEPKhiS0_i " CompareC__3MemPCUciT1i"
   1.498 +#define CSM_Z22RHeap_PanicBadNextCellv " RHeap_PanicBadNextCell__Fv"
   1.499 +#define CSM_Z30PanicEWordMoveSourceNotAlignedv " PanicEWordMoveSourceNotAligned__Fv"
   1.500 +#define CSM_Z30PanicEWordMoveTargetNotAlignedv " PanicEWordMoveTargetNotAligned__Fv"
   1.501 +#define CSM_Z34PanicEWordMoveLengthNotMultipleOf4v " PanicEWordMoveLengthNotMultipleOf4__Fv"
   1.502 +#define CSM_ZN16DMemModelProcess13TryOpenOsAsidEv "TryOpenOsAsid__16DMemModelProcess"
   1.503 +#define CSM_ZN16DMemModelProcess11CloseOsAsidEv " CloseOsAsid__16DMemModelProcess"
   1.504 +
   1.505 +#elif defined(__ARMCC__)
   1.506 +// CIA symbol macros for RVCT
   1.507 +#define	CSM_CFUNC(f)	"__cpp(" #f ")"
   1.508 +#define CSM_Z26Des16PanicLengthOutOfRangev " __cpp(Des16PanicLengthOutOfRange)"
   1.509 +#define CSM_Z20Des8PanicDesOverflowv " __cpp(Des8PanicDesOverflow)"
   1.510 +#define CSM_ZN10RArrayBase4GrowEv " __cpp(RArrayBase::Grow)"
   1.511 +#define CSM_ZN3Mem8CompareCEPKtiS0_i " __cpp(static_cast<int (*) (const unsigned short*, int, const unsigned short*, int)>(&Mem::CompareC))"
   1.512 +#define CSM_Z20Des16PanicBadDesTypev " __cpp(Des16PanicBadDesType)"
   1.513 +#define CSM_Z24Des16PanicLengthNegativev " __cpp(Des16PanicLengthNegative)"
   1.514 +#define CSM_Z19Des8PanicBadDesTypev " __cpp(Des8PanicBadDesType)"
   1.515 +#define CSM_ZN3Mem7CompareEPKtiS0_i " __cpp(static_cast<int (*) (const unsigned short*, int, const unsigned short*, int)>(&Mem::Compare))"
   1.516 +#define CSM_Z23Des8PanicLengthNegativev " __cpp(Des8PanicLengthNegative)"
   1.517 +#define CSM_ZN17RPointerArrayBase4GrowEv " __cpp(RPointerArrayBase::Grow)"
   1.518 +#define CSM_Z28Des16PanicDesIndexOutOfRangev " __cpp(Des16PanicDesIndexOutOfRange)"
   1.519 +#define CSM_ZN3Mem8CompareFEPKhiS0_i " __cpp(static_cast<int (*) (const unsigned char*, int, const unsigned char*, int)>(&Mem::CompareF))"
   1.520 +#define CSM_Z5Panic9TCdtPanic " __cpp(Panic)"
   1.521 +#define CSM_Z27Des8PanicDesIndexOutOfRangev " __cpp(Des8PanicDesIndexOutOfRange)"
   1.522 +#define CSM_ZN3Mem8CompareFEPKtiS0_i " __cpp(static_cast<int (*) (const unsigned short*, int, const unsigned short*, int)>(&Mem::CompareF))"
   1.523 +#define CSM_Z26Des8PanicMaxLengthNegativev " __cpp(Des8PanicMaxLengthNegative)"
   1.524 +#define CSM_Z25Des8PanicLengthOutOfRangev " __cpp(Des8PanicLengthOutOfRange)"
   1.525 +#define CSM_Z21Des16PanicDesOverflowv " __cpp(Des16PanicDesOverflow)"
   1.526 +#define CSM_Z27Des16PanicMaxLengthNegativev " __cpp(Des16PanicMaxLengthNegative)"
   1.527 +#define CSM_Z18PanicBadArrayIndexv " __cpp(PanicBadArrayIndex)"
   1.528 +#define CSM_Z22Des8PanicPosOutOfRangev " __cpp(Des8PanicPosOutOfRange)"
   1.529 +#define CSM_Z23Des16PanicPosOutOfRangev " __cpp(Des16PanicPosOutOfRange)"
   1.530 +#define CSM_ZN3Mem8CompareCEPKhiS0_i " __cpp(static_cast<int (*) (const unsigned char*, int, const unsigned char*, int)>(&Mem::CompareC))"
   1.531 +#define CSM_Z22RHeap_PanicBadNextCellv " __cpp(RHeap_PanicBadNextCell)"
   1.532 +#define CSM_Z30PanicEWordMoveSourceNotAlignedv " __cpp(PanicEWordMoveSourceNotAligned)"
   1.533 +#define CSM_Z30PanicEWordMoveTargetNotAlignedv " __cpp(PanicEWordMoveTargetNotAligned)"
   1.534 +#define CSM_Z34PanicEWordMoveLengthNotMultipleOf4v " __cpp(PanicEWordMoveLengthNotMultipleOf4)"
   1.535 +#define CSM_ZN16DMemModelProcess13TryOpenOsAsidEv " __cpp(DMemModelProcess::TryOpenOsAsid)"
   1.536 +#define CSM_ZN16DMemModelProcess11CloseOsAsidEv " __cpp(DMemModelProcess::CloseOsAsid)"
   1.537 +#else
   1.538 +// CIA symbol macros for EABI assemblers
   1.539 +#define CSM_CFUNC(f)	#f
   1.540 +#define CSM_Z26Des16PanicLengthOutOfRangev " _Z26Des16PanicLengthOutOfRangev"
   1.541 +#define CSM_Z20Des8PanicDesOverflowv " _Z20Des8PanicDesOverflowv"
   1.542 +#define CSM_ZN10RArrayBase4GrowEv " _ZN10RArrayBase4GrowEv"
   1.543 +#define CSM_ZN3Mem8CompareCEPKtiS0_i " _ZN3Mem8CompareCEPKtiS0_i"
   1.544 +#define CSM_Z20Des16PanicBadDesTypev " _Z20Des16PanicBadDesTypev"
   1.545 +#define CSM_Z24Des16PanicLengthNegativev " _Z24Des16PanicLengthNegativev"
   1.546 +#define CSM_Z19Des8PanicBadDesTypev " _Z19Des8PanicBadDesTypev"
   1.547 +#define CSM_ZN3Mem7CompareEPKtiS0_i " _ZN3Mem7CompareEPKtiS0_i"
   1.548 +#define CSM_Z23Des8PanicLengthNegativev " _Z23Des8PanicLengthNegativev"
   1.549 +#define CSM_ZN17RPointerArrayBase4GrowEv " _ZN17RPointerArrayBase4GrowEv"
   1.550 +#define CSM_Z28Des16PanicDesIndexOutOfRangev " _Z28Des16PanicDesIndexOutOfRangev"
   1.551 +#define CSM_ZN3Mem8CompareFEPKhiS0_i " _ZN3Mem8CompareFEPKhiS0_i"
   1.552 +#define CSM_Z5Panic9TCdtPanic " _Z5Panic9TCdtPanic"
   1.553 +#define CSM_Z27Des8PanicDesIndexOutOfRangev " _Z27Des8PanicDesIndexOutOfRangev"
   1.554 +#define CSM_ZN3Mem8CompareFEPKtiS0_i " _ZN3Mem8CompareFEPKtiS0_i"
   1.555 +#define CSM_Z26Des8PanicMaxLengthNegativev " _Z26Des8PanicMaxLengthNegativev"
   1.556 +#define CSM_Z25Des8PanicLengthOutOfRangev " _Z25Des8PanicLengthOutOfRangev"
   1.557 +#define CSM_Z21Des16PanicDesOverflowv " _Z21Des16PanicDesOverflowv"
   1.558 +#define CSM_Z27Des16PanicMaxLengthNegativev " _Z27Des16PanicMaxLengthNegativev"
   1.559 +#define CSM_Z18PanicBadArrayIndexv " _Z18PanicBadArrayIndexv"
   1.560 +#define CSM_Z22Des8PanicPosOutOfRangev " _Z22Des8PanicPosOutOfRangev"
   1.561 +#define CSM_Z23Des16PanicPosOutOfRangev " _Z23Des16PanicPosOutOfRangev"
   1.562 +#define CSM_ZN3Mem8CompareCEPKhiS0_i " _ZN3Mem8CompareCEPKhiS0_i"
   1.563 +#define CSM_Z22RHeap_PanicBadNextCellv " _Z22RHeap_PanicBadNextCellv"
   1.564 +#define CSM_Z30PanicEWordMoveSourceNotAlignedv " _Z30PanicEWordMoveSourceNotAlignedv"
   1.565 +#define CSM_Z30PanicEWordMoveTargetNotAlignedv " _Z30PanicEWordMoveTargetNotAlignedv"
   1.566 +#define CSM_Z34PanicEWordMoveLengthNotMultipleOf4v " _Z34PanicEWordMoveLengthNotMultipleOf4v"
   1.567 +#define CSM_ZN16DMemModelProcess13TryOpenOsAsidEv " _ZN16DMemModelProcess13TryOpenOsAsidEv"
   1.568 +#define CSM_ZN16DMemModelProcess11CloseOsAsidEv " _ZN16DMemModelProcess11CloseOsAsidEv"
   1.569 +#endif
   1.570 +
   1.571 +// These macros define 'hooks' that maybe useful to tie various functions in the kernel
   1.572 +// to compiler helper functions. Typically they just allow for the avoidance of a jump.
   1.573 +#ifndef KMEMSETHOOK
   1.574 +#if defined(__ARMCC__)
   1.575 +#if (__ARMCC_VERSION > 210000)
   1.576 +#define KMEMSETHOOK     asm(".global __rt_memset ");  asm("__rt_memset: ");\
   1.577 +                        asm(".global _memset ");  asm("_memset: ");\
   1.578 +                        asm(".global _memset_w ");  asm("_memset_w: "); 
   1.579 +
   1.580 +#else
   1.581 +#define KMEMSETHOOK     asm(".global __rt_memset ");  asm("__rt_memset: ");\
   1.582 +                        asm(".global _memset_w ");  asm("_memset_w: "); 
   1.583 +#endif
   1.584 +#else
   1.585 +#define KMEMSETHOOK
   1.586 +#endif
   1.587 +#endif
   1.588 +
   1.589 +#ifndef KMEMMOVEHOOK
   1.590 +#if defined(__ARMCC__)
   1.591 +#if (__ARMCC_VERSION > 210000)
   1.592 +#define KMEMMOVEHOOK         asm(".global __aeabi_memmove8 ");  asm("__aeabi_memmove8: ");\
   1.593 +                             asm(".global __aeabi_memmove4 ");  asm("__aeabi_memmove4: "); \
   1.594 +                             asm(".global __aeabi_memmove ");  asm("__aeabi_memmove: "); \
   1.595 +                             asm(".global __rt_memmove "); asm("__rt_memmove: ");\
   1.596 +                             asm(".global __rt_memmove_w "); asm("__rt_memmove_w: ");
   1.597 +#else
   1.598 +#define KMEMMOVEHOOK         asm(".global __rt_memmove "); asm("__rt_memmove: ");\
   1.599 +                             asm(".global __rt_memmove_w "); asm("__rt_memmove_w: ");
   1.600 +#endif
   1.601 +#else
   1.602 +#define KMEMMOVEHOOK
   1.603 +#endif
   1.604 +#endif
   1.605 +
   1.606 +#ifndef KMEMCPYHOOK
   1.607 +#if defined(__ARMCC__)
   1.608 +#if (__ARMCC_VERSION > 210000)
   1.609 +#define KMEMCPYHOOK             asm(".global __aeabi_memcpy8 ");  asm("__aeabi_memcpy8: ");\
   1.610 +                                asm(".global __aeabi_memcpy4 ");  asm("__aeabi_memcpy4: "); \
   1.611 +                                asm(".global __aeabi_memcpy ");  asm("__aeabi_memcpy: "); \
   1.612 +                                asm(".global _memcpy ");asm("_memcpy: ");\
   1.613 +                                asm(".global __rt_memcpy ");asm("__rt_memcpy: ");\
   1.614 +                                asm(".global __rt_memcpy_w ");asm("__rt_memcpy_w: ");
   1.615 +#else
   1.616 +#define KMEMCPYHOOK             asm(".global __rt_memcpy ");asm("__rt_memcpy: ");\
   1.617 +                                asm(".global __rt_memcpy_w ");asm("__rt_memcpy_w: ");
   1.618 +#endif
   1.619 +#else
   1.620 +#define KMEMCPYHOOK
   1.621 +#endif
   1.622 +#endif
   1.623 +
   1.624 +#ifndef KMEMCLRHOOK
   1.625 +#if defined(__ARMCC__)
   1.626 +#if (__ARMCC_VERSION > 210000)
   1.627 +#define KMEMCLRHOOK             asm(".global __aeabi_memclr8 ");  asm("__aeabi_memclr8: ");\
   1.628 +                                asm(".global __aeabi_memclr4 ");  asm("__aeabi_memclr4: "); \
   1.629 +                                asm(".global __aeabi_memclr ");  asm("__aeabi_memclr: "); \
   1.630 +                                asm(".global __rt_memclr ");asm("__rt_memclr: ");\
   1.631 +                                asm(".global __rt_memclr_w ");asm("__rt_memclr_w: ");
   1.632 +#else
   1.633 +#define KMEMCLRHOOK             asm(".global __rt_memclr ");asm("__rt_memclr: ");\
   1.634 +                                asm(".global __rt_memclr_w ");asm("__rt_memclr_w: ");
   1.635 +#endif
   1.636 +#else
   1.637 +#define KMEMCLRHOOK
   1.638 +#endif
   1.639 +#endif
   1.640 +
   1.641 +#endif