kernel/eka/include/e32cia.h
changeset 0 a41df078684a
child 172 8f7f130ac31a
child 177 a232af6b0b1f
equal deleted inserted replaced
-1:000000000000 0:a41df078684a
       
     1 // Copyright (c) 2002-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\include\e32cia.h
       
    15 // 
       
    16 // WARNING: This file contains some APIs which are internal and are subject
       
    17 //          to change without notice. Such APIs should therefore not be used
       
    18 //          outside the Kernel and Hardware Services package.
       
    19 //
       
    20 
       
    21 /**
       
    22  @file
       
    23  @internalTechnology
       
    24 */
       
    25 
       
    26 #ifndef __E32CIA_H__
       
    27 #define __E32CIA_H__
       
    28 
       
    29 // CIA symbols for USER side code
       
    30 // CIA symbol macros for Gcc98r2
       
    31 #if defined(__GCC32__)
       
    32 #define CSM_ZN4Exec12PopTrapFrameEv " PopTrapFrame__4Exec"
       
    33 #define CSM_ZN4User7ReAllocEPvii " ReAlloc__4UserPvii"
       
    34 #define CSM_Z30PanicCObjectConIndexOutOfRangev " PanicCObjectConIndexOutOfRange__Fv"
       
    35 #define CSM_ZN4User15HandleExceptionEPv " HandleException__4UserPv"
       
    36 #define CSM_ZN4User12AfterHighResE27TTimeIntervalMicroSeconds32 " AfterHighRes__4UserG27TTimeIntervalMicroSeconds32"
       
    37 #define CSM_ZN4Exec13ServerReceiveEiR14TRequestStatusPv " ServerReceive__4ExeciR14TRequestStatusPv"
       
    38 #define CSM_ZN5TTrap6UnTrapEv " UnTrap__5TTrap"
       
    39 #define CSM_Z15PanicStrayEventv " PanicStrayEvent__Fv"
       
    40 #define CSM_ZN8CServer210BadMessageERK9RMessage2 " BadMessage__8CServer2RC9RMessage2"
       
    41 #define CSM_ZN10RSemaphore4WaitEv " Wait__10RSemaphore"
       
    42 #define CSM_Z34PanicCObjectConFindIndexOutOfRangev " PanicCObjectConFindIndexOutOfRange__Fv"
       
    43 #define CSM_ZN7TRegion5ClearEv " Clear__7TRegion"
       
    44 #define CSM_ZN4User5AllocEi " Alloc__4Useri"
       
    45 #define CSM_ZN4User5LeaveEi " Leave__4Useri"
       
    46 #define CSM_ZN4Exec13PushTrapFrameEP5TTrap " PushTrapFrame__4ExecP5TTrap"
       
    47 #define CSM_ZN8CServer213PolicyActionLERK9RMessage2RKNS_14TPolicyElementE " PolicyActionL__8CServer2RC9RMessage2RCQ28CServer214TPolicyElement"
       
    48 #define CSM_Z16AllocAnotherRectP7TRegion " AllocAnotherRect__FP7TRegion"
       
    49 #define CSM_ZN7TRegion7AddRectERK5TRect " AddRect__7TRegionRC5TRect"
       
    50 #define CSM_Z28PanicCObjectConFindBadHandlev " PanicCObjectConFindBadHandle__Fv"
       
    51 #define CSM_ZN10RSemaphore6SignalEv " Signal__10RSemaphore"
       
    52 #define CSM_ZN8CServer212NotConnectedERK9RMessage2 " NotConnected__8CServer2RC9RMessage2"
       
    53 #define CSM_ZN7TRegion11SetListSizeEi " SetListSize__7TRegioni"
       
    54 #define CSM_ZN4User9InvariantEv " Invariant__4User"
       
    55 #define CSM_ZN8CServer210DisconnectERK9RMessage2 " Disconnect__8CServer2RC9RMessage2"
       
    56 #define CSM_Z16PanicNoTrapFramev " PanicNoTrapFrame__Fv"
       
    57 #define CSM_ZN7TRegion10ForceErrorEv " ForceError__7TRegion"
       
    58 #define CSM_ZN5TTrap4TrapERi " Trap__5TTrapRi"
       
    59 #define CSM_Z29PanicCObjectIxIndexOutOfRangev " PanicCObjectIxIndexOutOfRange__Fv"
       
    60 #define CSM_Z30PanicOverUnderflowDividebyZeroi " PanicOverUnderflowDividebyZero__Fi"
       
    61 #define CSM_ZN8CServer27ConnectERK9RMessage2 " Connect__8CServer2RC9RMessage2"
       
    62 #define CSM_ZN8CCleanup5CheckEPv " Check__8CCleanupPv"
       
    63 #define CSM_ZN2PP20InitSuperPageFromRom " InitSuperPageFromRom__2PPUlUl"
       
    64 #elif defined(__ARMCC__)
       
    65 // CIA symbol macros for RVCT
       
    66 #define CSM_ZN4Exec12PopTrapFrameEv " __cpp(Exec::PopTrapFrame)"
       
    67 #define CSM_ZN4User7ReAllocEPvii " __cpp(User::ReAlloc)"
       
    68 #define CSM_Z30PanicCObjectConIndexOutOfRangev " __cpp(PanicCObjectConIndexOutOfRange)"
       
    69 #define CSM_ZN4User15HandleExceptionEPv " __cpp(User::HandleException)"
       
    70 #define CSM_ZN4User12AfterHighResE27TTimeIntervalMicroSeconds32 " __cpp(User::AfterHighRes)"
       
    71 #define CSM_ZN4Exec13ServerReceiveEiR14TRequestStatusPv " __cpp(Exec::ServerReceive)"
       
    72 #define CSM_ZN5TTrap6UnTrapEv " __cpp(TTrap::UnTrap)"
       
    73 #define CSM_Z15PanicStrayEventv " __cpp(PanicStrayEvent)"
       
    74 #define CSM_ZN8CServer210BadMessageERK9RMessage2 " __cpp(CServer2::BadMessage)"
       
    75 #define CSM_ZN10RSemaphore4WaitEv " __cpp(static_cast<void (RSemaphore::*) ()>(&RSemaphore::Wait))"
       
    76 #define CSM_Z34PanicCObjectConFindIndexOutOfRangev " __cpp(PanicCObjectConFindIndexOutOfRange)"
       
    77 #define CSM_ZN7TRegion5ClearEv " __cpp(TRegion::Clear)"
       
    78 #define CSM_ZN4User5AllocEi " __cpp(User::Alloc)"
       
    79 #define CSM_ZN4User5LeaveEi " __cpp(User::Leave)"
       
    80 #define CSM_ZN4Exec13PushTrapFrameEP5TTrap " __cpp(Exec::PushTrapFrame)"
       
    81 #define CSM_ZN8CServer213PolicyActionLERK9RMessage2RKNS_14TPolicyElementE " __cpp(CServer2::PolicyActionL)"
       
    82 #define CSM_Z16AllocAnotherRectP7TRegion " __cpp(AllocAnotherRect)"
       
    83 #define CSM_ZN7TRegion7AddRectERK5TRect " __cpp(TRegion::AddRect)"
       
    84 #define CSM_Z28PanicCObjectConFindBadHandlev " __cpp(PanicCObjectConFindBadHandle)"
       
    85 #define CSM_ZN10RSemaphore6SignalEv " __cpp(static_cast<void (RSemaphore::*) ()>(&RSemaphore::Signal))"
       
    86 #define CSM_ZN8CServer212NotConnectedERK9RMessage2 " __cpp(CServer2::NotConnected)"
       
    87 #define CSM_ZN7TRegion11SetListSizeEi " __cpp(TRegion::SetListSize)"
       
    88 #define CSM_ZN4User9InvariantEv " __cpp(User::Invariant)"
       
    89 #define CSM_ZN8CServer210DisconnectERK9RMessage2 " __cpp(CServer2::Disconnect)"
       
    90 #define CSM_Z16PanicNoTrapFramev " __cpp(PanicNoTrapFrame)"
       
    91 #define CSM_ZN7TRegion10ForceErrorEv " __cpp(TRegion::ForceError)"
       
    92 #define CSM_ZN5TTrap4TrapERi " __cpp(TTrap::Trap)"
       
    93 #define CSM_Z29PanicCObjectIxIndexOutOfRangev " __cpp(PanicCObjectIxIndexOutOfRange)"
       
    94 #define CSM_Z30PanicOverUnderflowDividebyZeroi " __cpp(PanicOverUnderflowDividebyZero)"
       
    95 #define CSM_ZN8CServer27ConnectERK9RMessage2 " __cpp(CServer2::Connect)"
       
    96 #define CSM_ZN8CCleanup5CheckEPv " __cpp(&CCleanup::Check)"
       
    97 #else
       
    98 // CIA symbol macros for EABI assemblers
       
    99 #define CSM_ZN4Exec12PopTrapFrameEv " _ZN4Exec12PopTrapFrameEv"
       
   100 #define CSM_ZN4User7ReAllocEPvii " _ZN4User7ReAllocEPvii"
       
   101 #define CSM_Z30PanicCObjectConIndexOutOfRangev " _Z30PanicCObjectConIndexOutOfRangev"
       
   102 #define CSM_ZN4User15HandleExceptionEPv " _ZN4User15HandleExceptionEPv"
       
   103 #define CSM_ZN4User12AfterHighResE27TTimeIntervalMicroSeconds32 " _ZN4User12AfterHighResE27TTimeIntervalMicroSeconds32"
       
   104 #define CSM_ZN4Exec13ServerReceiveEiR14TRequestStatusPv " _ZN4Exec13ServerReceiveEiR14TRequestStatusPv"
       
   105 #define CSM_ZN5TTrap6UnTrapEv " _ZN5TTrap6UnTrapEv"
       
   106 #define CSM_Z15PanicStrayEventv " _Z15PanicStrayEventv"
       
   107 #define CSM_ZN8CServer210BadMessageERK9RMessage2 " _ZN8CServer210BadMessageERK9RMessage2"
       
   108 #define CSM_ZN10RSemaphore4WaitEv " _ZN10RSemaphore4WaitEv"
       
   109 #define CSM_Z34PanicCObjectConFindIndexOutOfRangev " _Z34PanicCObjectConFindIndexOutOfRangev"
       
   110 #define CSM_ZN7TRegion5ClearEv " _ZN7TRegion5ClearEv"
       
   111 #define CSM_ZN4User5AllocEi " _ZN4User5AllocEi"
       
   112 #define CSM_ZN4User5LeaveEi " _ZN4User5LeaveEi"
       
   113 #define CSM_ZN4Exec13PushTrapFrameEP5TTrap " _ZN4Exec13PushTrapFrameEP5TTrap"
       
   114 #define CSM_ZN8CServer213PolicyActionLERK9RMessage2RKNS_14TPolicyElementE " _ZN8CServer213PolicyActionLERK9RMessage2RKNS_14TPolicyElementE"
       
   115 #define CSM_Z16AllocAnotherRectP7TRegion " _Z16AllocAnotherRectP7TRegion"
       
   116 #define CSM_ZN7TRegion7AddRectERK5TRect " _ZN7TRegion7AddRectERK5TRect"
       
   117 #define CSM_Z28PanicCObjectConFindBadHandlev " _Z28PanicCObjectConFindBadHandlev"
       
   118 #define CSM_ZN10RSemaphore6SignalEv " _ZN10RSemaphore6SignalEv"
       
   119 #define CSM_ZN8CServer212NotConnectedERK9RMessage2 " _ZN8CServer212NotConnectedERK9RMessage2"
       
   120 #define CSM_ZN7TRegion11SetListSizeEi " _ZN7TRegion11SetListSizeEi"
       
   121 #define CSM_ZN4User9InvariantEv " _ZN4User9InvariantEv"
       
   122 #define CSM_ZN8CServer210DisconnectERK9RMessage2 " _ZN8CServer210DisconnectERK9RMessage2"
       
   123 #define CSM_Z16PanicNoTrapFramev " _Z16PanicNoTrapFramev"
       
   124 #define CSM_ZN7TRegion10ForceErrorEv " _ZN7TRegion10ForceErrorEv"
       
   125 #define CSM_ZN5TTrap4TrapERi " _ZN5TTrap4TrapERi"
       
   126 #define CSM_Z29PanicCObjectIxIndexOutOfRangev " _Z29PanicCObjectIxIndexOutOfRangev"
       
   127 #define CSM_Z30PanicOverUnderflowDividebyZeroi " _Z30PanicOverUnderflowDividebyZeroi"
       
   128 #define CSM_ZN8CServer27ConnectERK9RMessage2 " _ZN8CServer27ConnectERK9RMessage2"
       
   129 #define CSM_ZN8CCleanup5CheckEPv " _ZN8CCleanup5CheckEPv"
       
   130 #endif
       
   131 
       
   132 // CIA symbols for KERNEL side code
       
   133 // CIA symbol macros for Gcc98r2
       
   134 #if defined(__GCC32__)
       
   135 #define CSM_ZN1K8MsgInfoE " _1K.MsgInfo"
       
   136 #define CSM_ZN14NFastSemaphore6SignalEv " Signal__14NFastSemaphore"
       
   137 #define CSM_ZN4Kern4ExitEi " Exit__4Kerni"
       
   138 #define CSM_ZN5NKern4ExitEv " Exit__5NKern"
       
   139 #define CSM_ZN11NThreadBase12DoCsFunctionEv " DoCsFunction__11NThreadBase"
       
   140 #define CSM_Z24KUDesInfoPanicBadDesTypev " KUDesInfoPanicBadDesType__Fv"
       
   141 #define CSM_Z29KUDesSetLengthPanicBadDesTypev " KUDesSetLengthPanicBadDesType__Fv"
       
   142 #define CSM_ZN1K27LockedPlatformSecurityPanicEv " LockedPlatformSecurityPanic__1K"
       
   143 #define CSM_ZN4Kern8SafeReadEPKvPvi " SafeRead__4KernPCvPvi"
       
   144 #define CSM_ZN5NKern4LockEv " Lock__5NKern"
       
   145 #define CSM_ZN5NKern15PreemptionPointEv " PreemptionPoint__5NKern"
       
   146 #define CSM_ZN5Cache16AtomicSyncMemoryEv " AtomicSyncMemory__5Cache"
       
   147 #define CSM_ZN11NThreadBase4ExitEv " Exit__11NThreadBase"
       
   148 #define CSM_ZN5NKern19ThreadRequestSignalEP7NThreadP10NFastMutex " ThreadRequestSignal__5NKernP7NThreadP10NFastMutex"
       
   149 #define CSM_ZN5NKern6UnlockEv " Unlock__5NKern"
       
   150 #define CSM_Z21PanicSyncMsgSentTwicev " PanicSyncMsgSentTwice__Fv"
       
   151 #define CSM_ZN8DSession12AllocAndSendEiPKiP14TRequestStatus " AllocAndSend__8DSessioniPCiP14TRequestStatus"
       
   152 #define CSM_Z20FastMutexSignalErrorv " FastMutexSignalError__Fv"
       
   153 #define CSM_Z27KUDesSetLengthPanicOverflowv " KUDesSetLengthPanicOverflow__Fv"
       
   154 #define CSM_ZN5NKern11FlashSystemEv " FlashSystem__5NKern"
       
   155 #define CSM_ZN16CacheMaintenance15OnProcessSwitchEv " OnProcessSwitch__16CacheMaintenance"
       
   156 #define CSM_ZN1K18PanicCurrentThreadEi " PanicCurrentThread__1Ki"
       
   157 #define CSM_ZN13DSessionShare17CloseOnCompletionEv " CloseOnCompletion__13DSessionShare"
       
   158 #define CSM_ZN10NFastMutex6SignalEv " Signal__10NFastMutex"
       
   159 #define CSM_ZN10NFastMutex4WaitEv " Wait__10NFastMutex"
       
   160 #define CSM_Z9TBmaFaulti " TBmaFault__Fi"
       
   161 #define CSM_ZN4Kern6PrintfEPKcz " Printf__4KernPCce"
       
   162 #define CSM_ZN5TDes89SetLengthEi " SetLength__5TDes8i"
       
   163 #define CSM_Z20FastMutexNestAttemptv " FastMutexNestAttempt__Fv"
       
   164 #define CSM_ZN8DSession14SendOnNewShareEP9RMessageKi " SendOnNewShare__8DSessionP9RMessageKi"
       
   165 #define CSM_ZN1K20TheFileServerProcessE " _1K.TheFileServerProcess"
       
   166 #define CSM_ZN5NKern12UnlockSystemEv " UnlockSystem__5NKern"
       
   167 #define CSM_ZN2PP17MonitorEntryPointE " _2PP.MonitorEntryPoint"
       
   168 #define CSM_ZN4Kern9SafeWriteEPvPKvi " SafeWrite__4KernPvPCvi"
       
   169 #define CSM_Z25CompleteDisconnectMessageR9RMessageK " CompleteDisconnectMessage__FR9RMessageK"
       
   170 #define CSM_ZN1K5FaultENS_6TFaultE " Fault__1KQ21K6TFault"
       
   171 #define CSM_ZN4TDfc3AddEv " Add__4TDfc"
       
   172 #define CSM_ZN4TDfc6RawAddEv " RawAdd__4TDfc"
       
   173 #define CSM_ZN10TScheduler7YieldToEP11NThreadBase " YieldTo__10TSchedulerP11NThreadBase"
       
   174 #define CSM_Z14CheckLockStatev " CheckLockState__Fv"
       
   175 #define CSM_Z18InvalidExecHandlerv " InvalidExecHandler__Fv"
       
   176 #define CSM_Z15InvalidFastExecv " InvalidFastExec__Fv"
       
   177 #define CSM_ZN2PP11NanoWaitCalE " _2PP.NanoWaitCal"
       
   178 #define CSM_Z22PanicMesAlreadyPendingv " PanicMesAlreadyPending__Fv"
       
   179 #define CSM_ZN10TScheduler10RescheduleEv " Reschedule__10TScheduler"
       
   180 #define CSM_ZN10TScheduler9QueueDfcsEv " QueueDfcs__10TScheduler"
       
   181 #define CSM_ZN13TSubScheduler9QueueDfcsEv " QueueDfcs__13TSubScheduler"
       
   182 #define	CSM_ZN13TSubScheduler16SelectNextThreadEv " SelectNextThread__13TSubScheduler"
       
   183 #define CSM_ZN5NKern20DisableAllInterruptsEv " DisableAllInterrupts__5NKern"
       
   184 #define CSM_ZN5NKern10LockSystemEv " LockSystem__5NKern"
       
   185 #define CSM_ZN7Monitor4InitEPvi " Init__7MonitorPvi"
       
   186 #define CSM_ZN7Monitor5LeaveEi " Leave__7Monitori"
       
   187 #define CSM_Z10KernelMainv " KernelMain__Fv"
       
   188 #define CSM_ZN4Kern9SuperPageEv " SuperPage__4Kern"
       
   189 #define CSM_ZN8DSession19CloseFromDisconnectEv " CloseFromDisconnect__8DSession"
       
   190 #define	CSM_ZN5NKern13ThreadEnterCSEv " ThreadEnterCS__5NKern"
       
   191 #define	CSM_ZN5NKern13ThreadLeaveCSEv " ThreadLeaveCS__5NKern"
       
   192 #define	CSM_ZN5NKern14_ThreadEnterCSEv " _ThreadEnterCS__5NKern"
       
   193 #define	CSM_ZN5NKern14_ThreadLeaveCSEv " _ThreadLeaveCS__5NKern"
       
   194 #define	CSM_ZN7DObject10AsyncCloseEv " AsyncClose__7DObject"
       
   195 #define CSM_ZN3EMI16CallStartHandlerEP7DThread " CallStartHandler__3EMIP7DThread"
       
   196 #define CSM_ZN2KL5PanicENS_13TKernLibPanicE " Panic__2KLQ22KL13TKernLibPanic"
       
   197 #define CSM_ZN5NKern11FastCounterEv " FastCounter__5NKern"
       
   198 #define CSM_ZN4TDfc7DoEnqueEv " DoEnque__4TDfc"
       
   199 #define CSM_ZN6BTrace8DoOutBigEmmPKvimm "DoOutBig__6BTraceUlUlPCviUlUl"
       
   200 #define CSM_ZN6BTrace4OutXEmmmm "OutX__6BTraceUlUlUlUl"
       
   201 #define CSM_ZN6BTrace3OutEmmmm "Out__6BTraceUlUlUlUl"
       
   202 #define CSM_ZN5NKern9TickCountEv " TickCount__5NKern"
       
   203 #define CSM_ZN3Mmu14MoveKernelPageEP6DChunkmmRmji "MoveKernelPage__3MmuP6DChunkUlUlRUlUii"
       
   204 #define CSM_ZN12TPriListBase15HighestPriorityEv "HighestPriority__12TPriListBase"
       
   205 #define CSM_ZN12TPriListBase5FirstEv "First__12TPriListBase"
       
   206 #define CSM_ZN12TPriListBase3AddEP12TPriListLink "Add__12TPriListBaseP12TPriListLink"
       
   207 #define	CSM_ZN12TPriListBase6RemoveEP12TPriListLink "Remove__12TPriListBaseP12TPriListLink"
       
   208 #define	CSM_ZN12TPriListBase14ChangePriorityEP12TPriListLinki "ChangePriority__12TPriListBaseP12TPriListLinki"
       
   209 #define CSM_ZN4Kern9AsyncFreeEPv "AsyncFree__4KernPv"
       
   210 #define CSM_ZN9RMessageK4FreeEv "Free__9RMessageK"
       
   211 #define CSM_ZN1K9ObjDeleteEP7DObject "ObjDelete__1KP7DObject"
       
   212 #define CSM_ZN5NKern19ThreadRequestSignalEP7NThread "ThreadRequestSignal__5NKernP7NThread"
       
   213 #define CSM_ZN1K16ObjectFromHandleEii "ObjectFromHandle__1Kii"
       
   214 #define CSM_ZN5NKern6FMWaitEP10NFastMutex "FMWait__5NKernP10NFastMutex"
       
   215 #define CSM_ZN5NKern8FMSignalEP10NFastMutex "FMSignal__5NKernP10NFastMutex"
       
   216 #define CSM_ZN14TClientRequest9SetStatusEP14TRequestStatus "SetStatus__14TClientRequestP14TRequestStatus"
       
   217 #define	CSM_ZN9TSpinLock7LockIrqEv "LockIrq__9TSpinLock"
       
   218 #define	CSM_ZN9TSpinLock9UnlockIrqEv "UnlockIrq__9TSpinLock"
       
   219 #define	CSM_ZN9TSpinLock8LockOnlyEv "LockOnly__9TSpinLock"
       
   220 #define	CSM_ZN9TSpinLock10UnlockOnlyEv "UnlockOnly__9TSpinLock"
       
   221 #define	CSM_ZN9TSpinLock11LockIrqSaveEv "LockIrqSave__9TSpinLock"
       
   222 #define	CSM_ZN9TSpinLock16UnlockIrqRestoreEi "UnlockIrqRestore__9TSpinLocki"
       
   223 #define	CSM_ZN11TRWSpinLock8LockIrqREv "LockIrqR__11TRWSpinLock"
       
   224 #define	CSM_ZN11TRWSpinLock10UnlockIrqREv "UnlockIrqR__11TRWSpinLock"
       
   225 #define	CSM_ZN11TRWSpinLock9LockOnlyREv "LockOnlyR__11TRWSpinLock"
       
   226 #define	CSM_ZN11TRWSpinLock11UnlockOnlyREv "UnlockOnlyR__11TRWSpinLock"
       
   227 #define	CSM_ZN11TRWSpinLock17UnlockIrqRestoreREi "UnlockIrqRestoreR__11TRWSpinLocki"
       
   228 #define	CSM_ZN11TRWSpinLock8LockIrqWEv "LockIrqW__11TRWSpinLock"
       
   229 #define	CSM_ZN11TRWSpinLock10UnlockIrqWEv "UnlockIrqW__11TRWSpinLock"
       
   230 #define	CSM_ZN11TRWSpinLock9LockOnlyWEv "LockOnlyW__11TRWSpinLock"
       
   231 #define	CSM_ZN11TRWSpinLock11UnlockOnlyWEv "UnlockOnlyW__11TRWSpinLock"
       
   232 #define	CSM_ZN11TRWSpinLock17UnlockIrqRestoreWEi "UnlockIrqRestoreW__11TRWSpinLocki"
       
   233 #define	CSM_ZN3Arm9SaveStateER14SFullArmRegSet "SaveState__3ArmR14SFullArmRegSet"
       
   234 #define	CSM_ZN3Arm3RegER14SFullArmRegSetim "Reg__3ArmR14SFullArmRegSetiUl"
       
   235 #define	CSM_Z9KDebugNumi " KDebugNum__Fi"
       
   236 #define CSM_ZN5NKern9TimestampEv " Timestamp__5NKern"
       
   237 #define	CSM_ZN5NKern18TimestampFrequencyEv " TimestampFrequency__5NKern"
       
   238 #define CSM_ZN6NTimer7OneShotEii " OneShot__6NTimerii"
       
   239 #define CSM_ZN4Kern20QueueRequestCompleteEP7DThreadP14TClientRequesti "QueueRequestComplete__4KernP7DThreadP14TClientRequesti"
       
   240 #define CSM_ZN1M18IsDataPagedAddressEPKvRi "IsDataPagedAddress__1MPCvRi"
       
   241 #define CSM_ZN8DSession14PinDescriptorsEPiPA3_mPP17TVirtualPinObject "PinDescriptors__8DSessionPiPA2_UlPP17TVirtualPinObject"
       
   242 #define CSM_ZN14TClientRequest5ResetEv "Reset__14TClientRequest"
       
   243 #define CSM_ZN9RMessageK8CloseRefEv "CloseRef__9RMessageK"
       
   244 #elif defined(__ARMCC__)
       
   245 // CIA symbol macros for RVCT
       
   246 #define CSM_ZN1K8MsgInfoE " __cpp(&K::MsgInfo)"
       
   247 #define CSM_ZN14NFastSemaphore6SignalEv " __cpp(NFastSemaphore::Signal)"
       
   248 #define CSM_ZN4Kern4ExitEi " __cpp(Kern::Exit)"
       
   249 #define CSM_ZN5NKern4ExitEv " __cpp(NKern::Exit)"
       
   250 #define CSM_ZN11NThreadBase12DoCsFunctionEv " __cpp(NThreadBase::DoCsFunction)"
       
   251 #define CSM_Z24KUDesInfoPanicBadDesTypev " __cpp(KUDesInfoPanicBadDesType)"
       
   252 #define CSM_Z29KUDesSetLengthPanicBadDesTypev " __cpp(KUDesSetLengthPanicBadDesType)"
       
   253 #define CSM_ZN1K27LockedPlatformSecurityPanicEv " __cpp(K::LockedPlatformSecurityPanic)"
       
   254 #define CSM_ZN4Kern8SafeReadEPKvPvi " __cpp(Kern::SafeRead)"
       
   255 #define CSM_ZN5NKern4LockEv " __cpp(NKern::Lock)"
       
   256 #define CSM_ZN5NKern15PreemptionPointEv " __cpp(NKern::PreemptionPoint)"
       
   257 #define CSM_ZN5Cache16AtomicSyncMemoryEv " __cpp(static_cast<void (*) ()>(&Cache::AtomicSyncMemory))"
       
   258 #define CSM_ZN11NThreadBase4ExitEv " __cpp(NThreadBase::Exit)"
       
   259 #define CSM_ZN5NKern19ThreadRequestSignalEP7NThreadP10NFastMutex " __cpp(static_cast<void (*) (NThread *, NFastMutex *)>(&NKern::ThreadRequestSignal))"
       
   260 #define CSM_ZN5NKern6UnlockEv " __cpp(NKern::Unlock)"
       
   261 #define CSM_Z21PanicSyncMsgSentTwicev " __cpp(PanicSyncMsgSentTwice)"
       
   262 #define CSM_ZN8DSession12AllocAndSendEiPKiP14TRequestStatus " __cpp(DSession::AllocAndSend)"
       
   263 #define CSM_Z20FastMutexSignalErrorv " __cpp(FastMutexSignalError)"
       
   264 #define CSM_Z27KUDesSetLengthPanicOverflowv " __cpp(KUDesSetLengthPanicOverflow)"
       
   265 #define CSM_ZN5NKern11FlashSystemEv " __cpp(NKern::FlashSystem)"
       
   266 #define CSM_ZN16CacheMaintenance15OnProcessSwitchEv " __cpp(CacheMaintenance::OnProcessSwitch)"
       
   267 #define CSM_ZN1K18PanicCurrentThreadEi " __cpp(K::PanicCurrentThread)"
       
   268 #define CSM_ZN13DSessionShare17CloseOnCompletionEv " __cpp(DSessionShare::CloseOnCompletion)"
       
   269 #define CSM_ZN10NFastMutex6SignalEv " __cpp(NFastMutex::Signal)"
       
   270 #define CSM_ZN10NFastMutex4WaitEv " __cpp(NFastMutex::Wait)"
       
   271 #define CSM_Z9TBmaFaulti " __cpp(TBmaFault)"
       
   272 #define CSM_ZN4Kern6PrintfEPKcz " __cpp(Kern::Printf)"
       
   273 #define CSM_ZN5TDes89SetLengthEi " __cpp(TDes8::SetLength)"
       
   274 #define CSM_Z20FastMutexNestAttemptv " __cpp(FastMutexNestAttempt)"
       
   275 #define CSM_ZN8DSession14SendOnNewShareEP9RMessageKi " __cpp(DSession::SendOnNewShare)"
       
   276 #define CSM_ZN1K20TheFileServerProcessE " __cpp(&K::TheFileServerProcess)"
       
   277 #define CSM_ZN5NKern12UnlockSystemEv " __cpp(NKern::UnlockSystem)"
       
   278 #define CSM_ZN2PP17MonitorEntryPointE " __cpp(&PP::MonitorEntryPoint)"
       
   279 #define CSM_ZN4Kern9SafeWriteEPvPKvi " __cpp(Kern::SafeWrite)"
       
   280 #define CSM_Z25CompleteDisconnectMessageR9RMessageK " __cpp(CompleteDisconnectMessage)"
       
   281 #define CSM_ZN1K5FaultENS_6TFaultE " __cpp(K::Fault)"
       
   282 #define CSM_ZN4TDfc3AddEv " __cpp(TDfc::Add)"
       
   283 #define CSM_ZN4TDfc6RawAddEv " __cpp(TDfc::RawAdd)"
       
   284 #define CSM_ZN10TScheduler7YieldToEP11NThreadBase " __cpp(TScheduler::YieldTo)"
       
   285 #define CSM_Z14CheckLockStatev " __cpp(CheckLockState)"
       
   286 #define CSM_Z18InvalidExecHandlerv " __cpp(InvalidExecHandler)"
       
   287 #define CSM_Z15InvalidFastExecv " __cpp(InvalidFastExec)"
       
   288 #define CSM_ZN2PP11NanoWaitCalE " __cpp(&PP::NanoWaitCal)"
       
   289 #define CSM_Z22PanicMesAlreadyPendingv " __cpp(PanicMesAlreadyPending)"
       
   290 #define CSM_ZN10TScheduler10RescheduleEv " __cpp(TScheduler::Reschedule)"
       
   291 #define CSM_ZN10TScheduler9QueueDfcsEv " __cpp(TScheduler::QueueDfcs)"
       
   292 #define CSM_ZN13TSubScheduler9QueueDfcsEv " __cpp(TSubScheduler::QueueDfcs)"
       
   293 #define	CSM_ZN13TSubScheduler16SelectNextThreadEv " __cpp(TSubScheduler::SelectNextThread)"
       
   294 #define CSM_ZN5NKern20DisableAllInterruptsEv " __cpp(NKern::DisableAllInterrupts)"
       
   295 #define CSM_ZN5NKern10LockSystemEv " __cpp(NKern::LockSystem)"
       
   296 #define CSM_ZN7Monitor4InitEPvi " __cpp(Monitor::Init)"
       
   297 #define CSM_ZN7Monitor5LeaveEi " __cpp(Monitor::Leave)"
       
   298 #define CSM_Z10KernelMainv " __cpp(KernelMain)"
       
   299 #define CSM_ZN4Kern9SuperPageEv " __cpp(Kern::SuperPage)"
       
   300 #define CSM_ZN8DSession19CloseFromDisconnectEv " __cpp(DSession::CloseFromDisconnect)"
       
   301 #define	CSM_ZN5NKern13ThreadEnterCSEv " __cpp(NKern::ThreadEnterCS)"
       
   302 #define	CSM_ZN5NKern13ThreadLeaveCSEv " __cpp(NKern::ThreadLeaveCS)"
       
   303 #define	CSM_ZN5NKern14_ThreadEnterCSEv " __cpp(NKern::_ThreadEnterCS)"
       
   304 #define	CSM_ZN5NKern14_ThreadLeaveCSEv " __cpp(NKern::_ThreadLeaveCS)"
       
   305 #define	CSM_ZN7DObject10AsyncCloseEv " __cpp(DObject::AsyncClose)"
       
   306 #define CSM_ZN3EMI16CallStartHandlerEP7DThread " __cpp(EMI::CallStartHandler)"
       
   307 #define CSM_ZN2KL5PanicENS_13TKernLibPanicE " __cpp(KL::Panic)"
       
   308 #define CSM_ZN5NKern11FastCounterEv " __cpp(NKern::FastCounter)"
       
   309 #define CSM_ZN4TDfc7DoEnqueEv " __cpp(TDfc::DoEnque)"
       
   310 #define CSM_ZN6BTrace8DoOutBigEmmPKvimm " __cpp(BTrace::DoOutBig)"
       
   311 #define CSM_ZN6BTrace4OutXEmmmm " __cpp(BTrace::OutX)"
       
   312 #define CSM_ZN6BTrace3OutEmmmm " __cpp(BTrace::Out)"
       
   313 #define CSM_ZN5NKern9TickCountEv " __cpp(NKern::TickCount)"
       
   314 #define CSM_ZN3Mmu14MoveKernelPageEP6DChunkmmRmji " __cpp(Mmu::MoveKernelPage)"
       
   315 #define CSM_ZN12TPriListBase15HighestPriorityEv "__cpp(TPriListBase::HighestPriority)"
       
   316 #define CSM_ZN12TPriListBase5FirstEv "__cpp(TPriListBase::First)"
       
   317 #define CSM_ZN12TPriListBase3AddEP12TPriListLink "__cpp(TPriListBase::Add)"
       
   318 #define	CSM_ZN12TPriListBase6RemoveEP12TPriListLink "__cpp(TPriListBase::Remove)"
       
   319 #define	CSM_ZN12TPriListBase14ChangePriorityEP12TPriListLinki "__cpp(TPriListBase::ChangePriority)"
       
   320 #define CSM_ZN4Kern9AsyncFreeEPv " __cpp(Kern::AsyncFree)"
       
   321 #define CSM_ZN9RMessageK4FreeEv " __cpp(RMessageK::Free)"
       
   322 #define CSM_ZN1K9ObjDeleteEP7DObject " __cpp(K::ObjDelete)"
       
   323 #define CSM_ZN5NKern19ThreadRequestSignalEP7NThread " __cpp(static_cast<void (*) (NThread *)>(&NKern::ThreadRequestSignal))"
       
   324 #define CSM_ZN1K16ObjectFromHandleEii " __cpp(static_cast<DObject* (*) (TInt, TInt)>(&K::ObjectFromHandle))"
       
   325 #define CSM_ZN5NKern6FMWaitEP10NFastMutex " __cpp(NKern::FMWait)"
       
   326 #define CSM_ZN5NKern8FMSignalEP10NFastMutex " __cpp(NKern::FMSignal)"
       
   327 #define CSM_ZN14TClientRequest9SetStatusEP14TRequestStatus " __cpp(TClientRequest::SetStatus)"
       
   328 #define	CSM_ZN9TSpinLock7LockIrqEv "__cpp(TSpinLock::LockIrq)"
       
   329 #define	CSM_ZN9TSpinLock9UnlockIrqEv "__cpp(TSpinLock::UnlockIrq)"
       
   330 #define	CSM_ZN9TSpinLock8LockOnlyEv "__cpp(TSpinLock::LockOnly)"
       
   331 #define	CSM_ZN9TSpinLock10UnlockOnlyEv "__cpp(TSpinLock::UnlockOnly)"
       
   332 #define	CSM_ZN9TSpinLock11LockIrqSaveEv "__cpp(TSpinLock::LockIrqSave)"
       
   333 #define	CSM_ZN9TSpinLock16UnlockIrqRestoreEi "__cpp(TSpinLock::UnlockIrqRestore)"
       
   334 #define	CSM_ZN11TRWSpinLock8LockIrqREv "__cpp(TRWSpinLock::LockIrqR)"
       
   335 #define	CSM_ZN11TRWSpinLock10UnlockIrqREv "__cpp(TRWSpinLock::UnlockIrqR)"
       
   336 #define	CSM_ZN11TRWSpinLock9LockOnlyREv "__cpp(TRWSpinLock::LockOnlyR)"
       
   337 #define	CSM_ZN11TRWSpinLock11UnlockOnlyREv "__cpp(TRWSpinLock::UnlockOnlyR)"
       
   338 #define	CSM_ZN11TRWSpinLock17UnlockIrqRestoreREi "__cpp(TRWSpinLock::UnlockIrqRestoreR)"
       
   339 #define	CSM_ZN11TRWSpinLock8LockIrqWEv "__cpp(TRWSpinLock::LockIrqW)"
       
   340 #define	CSM_ZN11TRWSpinLock10UnlockIrqWEv "__cpp(TRWSpinLock::UnlockIrqW)"
       
   341 #define	CSM_ZN11TRWSpinLock9LockOnlyWEv "__cpp(TRWSpinLock::LockOnlyW)"
       
   342 #define	CSM_ZN11TRWSpinLock11UnlockOnlyWEv "__cpp(TRWSpinLock::UnlockOnlyW)"
       
   343 #define	CSM_ZN11TRWSpinLock17UnlockIrqRestoreWEi "__cpp(TRWSpinLock::UnlockIrqRestoreW)"
       
   344 #define	CSM_ZN3Arm9SaveStateER14SFullArmRegSet "__cpp(Arm::SaveState)"
       
   345 #define	CSM_ZN3Arm3RegER14SFullArmRegSetim "__cpp(Arm::Reg)"
       
   346 #define	CSM_Z9KDebugNumi "__cpp(KDebugNum)"
       
   347 #define CSM_ZN5NKern9TimestampEv " __cpp(NKern::Timestamp)"
       
   348 #define	CSM_ZN5NKern18TimestampFrequencyEv " __cpp(NKern::TimestampFrequency)"
       
   349 #define CSM_ZN6NTimer7OneShotEii " __cpp(static_cast<int (NTimer::*)(int, int)>(&NTimer::OneShot))"
       
   350 #define CSM_ZN4Kern20QueueRequestCompleteEP7DThreadP14TClientRequesti " __cpp(Kern::QueueRequestComplete)"
       
   351 #define CSM_ZN1M18IsDataPagedAddressEPKvRi " __cpp(M::IsDataPagedAddress)"
       
   352 #define CSM_ZN8DSession14PinDescriptorsEPiPA3_mPP17TVirtualPinObject " __cpp(DSession::PinDescriptors)"
       
   353 #define CSM_ZN14TClientRequest5ResetEv "__cpp(TClientRequest::Reset)"
       
   354 #define CSM_ZN9RMessageK8CloseRefEv "__cpp(RMessageK::CloseRef)"
       
   355 #else
       
   356 // CIA symbol macros for EABI assemblers
       
   357 #define CSM_ZN1K8MsgInfoE " _ZN1K9MsgInfoE"
       
   358 #define CSM_ZN14NFastSemaphore6SignalEv " _ZN14NFastSemaphore6SignalEv"
       
   359 #define CSM_ZN4Kern4ExitEi " _ZN4Kern4ExitEi"
       
   360 #define CSM_ZN5NKern4ExitEv " _ZN5NKern4ExitEv"
       
   361 #define CSM_ZN11NThreadBase12DoCsFunctionEv " _ZN11NThreadBase12DoCsFunctionEv"
       
   362 #define CSM_Z24KUDesInfoPanicBadDesTypev " _Z24KUDesInfoPanicBadDesTypev"
       
   363 #define CSM_Z29KUDesSetLengthPanicBadDesTypev " _Z29KUDesSetLengthPanicBadDesTypev"
       
   364 #define CSM_ZN1K27LockedPlatformSecurityPanicEv " _ZN1K27LockedPlatformSecurityPanicEv"
       
   365 #define CSM_ZN4Kern8SafeReadEPKvPvi " _ZN4Kern8SafeReadEPKvPvi"
       
   366 #define CSM_ZN5NKern4LockEv " _ZN5NKern4LockEv"
       
   367 #define CSM_ZN5NKern15PreemptionPointEv " _ZN5NKern15PreemptionPointEv"
       
   368 #define CSM_ZN5Cache16AtomicSyncMemoryEv " _ZN5Cache16AtomicSyncMemoryEv"
       
   369 #define CSM_ZN11NThreadBase4ExitEv " _ZN11NThreadBase4ExitEv"
       
   370 #define CSM_ZN5NKern19ThreadRequestSignalEP7NThreadP10NFastMutex " _ZN5NKern19ThreadRequestSignalEP7NThreadP10NFastMutex"
       
   371 #define CSM_ZN5NKern6UnlockEv " _ZN5NKern6UnlockEv"
       
   372 #define CSM_Z21PanicSyncMsgSentTwicev " _Z21PanicSyncMsgSentTwicev"
       
   373 #define CSM_ZN8DSession12AllocAndSendEiPKiP14TRequestStatus " _ZN8DSession12AllocAndSendEiPKiP14TRequestStatus"
       
   374 #define CSM_Z20FastMutexSignalErrorv " _Z20FastMutexSignalErrorv"
       
   375 #define CSM_Z27KUDesSetLengthPanicOverflowv " _Z27KUDesSetLengthPanicOverflowv"
       
   376 #define CSM_ZN5NKern11FlashSystemEv " _ZN5NKern11FlashSystemEv"
       
   377 #define CSM_ZN16CacheMaintenance15OnProcessSwitchEv " _ZN16CacheMaintenance15OnProcessSwitchEv"
       
   378 #define CSM_ZN1K18PanicCurrentThreadEi " _ZN1K18PanicCurrentThreadEi"
       
   379 #define CSM_ZN13DSessionShare17CloseOnCompletionEv " _ZN13DSessionShare17CloseOnCompletionEv"
       
   380 #define CSM_ZN10NFastMutex6SignalEv " _ZN10NFastMutex6SignalEv"
       
   381 #define CSM_ZN10NFastMutex4WaitEv " _ZN10NFastMutex4WaitEv"
       
   382 #define CSM_Z9TBmaFaulti " _Z9TBmaFaulti"
       
   383 #define CSM_ZN4Kern6PrintfEPKcz " _ZN4Kern6PrintfEPKcz"
       
   384 #define CSM_ZN5TDes89SetLengthEi " _ZN5TDes89SetLengthEi"
       
   385 #define CSM_Z20FastMutexNestAttemptv " _Z20FastMutexNestAttemptv"
       
   386 #define CSM_ZN8DSession14SendOnNewShareEP9RMessageKi " _ZN8DSession14SendOnNewShareEP9RMessageKi"
       
   387 #define CSM_ZN1K20TheFileServerProcessE " _ZN1K20TheFileServerProcessE"
       
   388 #define CSM_ZN5NKern12UnlockSystemEv " _ZN5NKern12UnlockSystemEv"
       
   389 #define CSM_ZN2PP17MonitorEntryPointE " _ZN2PP17MonitorEntryPointE"
       
   390 #define CSM_ZN4Kern9SafeWriteEPvPKvi " _ZN4Kern9SafeWriteEPvPKvi"
       
   391 #define CSM_Z25CompleteDisconnectMessageR9RMessageK " _Z25CompleteDisconnectMessageR9RMessageK"
       
   392 #define CSM_ZN1K5FaultENS_6TFaultE " _ZN1K5FaultENS_6TFaultE"
       
   393 #define CSM_ZN4TDfc3AddEv " _ZN4TDfc3AddEv"
       
   394 #define CSM_ZN4TDfc6RawAddEv " _ZN4TDfc6RawAddEv"
       
   395 #define CSM_ZN10TScheduler7YieldToEP11NThreadBase " _ZN10TScheduler7YieldToEP11NThreadBase"
       
   396 #define CSM_Z14CheckLockStatev " _Z14CheckLockStatev"
       
   397 #define CSM_Z18InvalidExecHandlerv " _Z18InvalidExecHandlerv"
       
   398 #define CSM_Z15InvalidFastExecv " _Z15InvalidFastExecv"
       
   399 #define CSM_ZN2PP11NanoWaitCalE " _ZN2PP11NanoWaitCalE"
       
   400 #define CSM_Z22PanicMesAlreadyPendingv " _Z22PanicMesAlreadyPendingv"
       
   401 #define CSM_ZN10TScheduler10RescheduleEv " _ZN10TScheduler10RescheduleEv"
       
   402 #define CSM_ZN10TScheduler9QueueDfcsEv " _ZN10TScheduler9QueueDfcsEv"
       
   403 #define CSM_ZN13TSubScheduler9QueueDfcsEv " _ZN13TSubScheduler9QueueDfcsEv"
       
   404 #define	CSM_ZN13TSubScheduler16SelectNextThreadEv "_ZN13TSubScheduler16SelectNextThreadEv"
       
   405 #define CSM_ZN5NKern20DisableAllInterruptsEv " _ZN5NKern20DisableAllInterruptsEv"
       
   406 #define CSM_ZN5NKern10LockSystemEv " _ZN5NKern10LockSystemEv"
       
   407 #define CSM_ZN7Monitor4InitEPvi " _ZN7Monitor4InitEPvi"
       
   408 #define CSM_ZN7Monitor5LeaveEi " _ZN7Monitor5LeaveEi"
       
   409 #define CSM_Z10KernelMainv " _Z10KernelMainv"
       
   410 #define CSM_ZN4Kern9SuperPageEv " _ZN4Kern9SuperPageEv"
       
   411 #define CSM_ZN8DSession19CloseFromDisconnectEv " _ZN8DSession19CloseFromDisconnectEv"
       
   412 #define	CSM_ZN5NKern13ThreadEnterCSEv " _ZN5NKern13ThreadEnterCSEv"
       
   413 #define	CSM_ZN5NKern13ThreadLeaveCSEv " _ZN5NKern13ThreadLeaveCSEv"
       
   414 #define	CSM_ZN5NKern14_ThreadEnterCSEv " _ZN5NKern14_ThreadEnterCSEv"
       
   415 #define	CSM_ZN5NKern14_ThreadLeaveCSEv " _ZN5NKern14_ThreadLeaveCSEv"
       
   416 #define	CSM_ZN7DObject10AsyncCloseEv " _ZN7DObject10AsyncCloseEv"
       
   417 #define CSM_ZN3EMI16CallStartHandlerEP7DThread " _ZN3EMI16CallStartHandlerEP7DThread"
       
   418 #define CSM_ZN2KL5PanicENS_13TKernLibPanicE " _ZN2KL5PanicENS_13TKernLibPanicE"
       
   419 #define CSM_ZN5NKern11FastCounterEv " _ZN5NKern11FastCounterEv"
       
   420 #define CSM_ZN4TDfc7DoEnqueEv " _ZN4TDfc7DoEnqueEv"
       
   421 #define CSM_ZN6BTrace8DoOutBigEmmPKvimm "_ZN6BTrace8DoOutBigEmmPKvimm"
       
   422 #define CSM_ZN6BTrace4OutXEmmmm "_ZN6BTrace4OutXEmmmm"
       
   423 #define CSM_ZN6BTrace3OutEmmmm "_ZN6BTrace3OutEmmmm"
       
   424 #define CSM_ZN5NKern9TickCountEv "_ZN5NKern9TickCountEv"
       
   425 #define CSM_ZN3Mmu14MoveKernelPageEP6DChunkmmRmji "_ZN3Mmu14MoveKernelPageEP6DChunkmmRmji"
       
   426 #define CSM_ZN12TPriListBase15HighestPriorityEv "_ZN12TPriListBase15HighestPriorityEv"
       
   427 #define CSM_ZN12TPriListBase5FirstEv "_ZN12TPriListBase5FirstEv"
       
   428 #define CSM_ZN12TPriListBase3AddEP12TPriListLink "_ZN12TPriListBase3AddEP12TPriListLink"
       
   429 #define	CSM_ZN12TPriListBase6RemoveEP12TPriListLink "_ZN12TPriListBase6RemoveEP12TPriListLink"
       
   430 #define	CSM_ZN12TPriListBase14ChangePriorityEP12TPriListLinki "_ZN12TPriListBase14ChangePriorityEP12TPriListLinki"
       
   431 #define CSM_ZN4Kern9AsyncFreeEPv "_ZN4Kern9AsyncFreeEPv"
       
   432 #define CSM_ZN9RMessageK4FreeEv "_ZN9RMessageK4FreeEv"
       
   433 #define CSM_ZN1K9ObjDeleteEP7DObject "_ZN1K9ObjDeleteEP7DObject"
       
   434 #define CSM_ZN5NKern19ThreadRequestSignalEP7NThread "_ZN5NKern19ThreadRequestSignalEP7NThread"
       
   435 #define CSM_ZN1K16ObjectFromHandleEii "_ZN1K16ObjectFromHandleEii"
       
   436 #define CSM_ZN5NKern6FMWaitEP10NFastMutex "_ZN5NKern6FMWaitEP10NFastMutex"
       
   437 #define CSM_ZN5NKern8FMSignalEP10NFastMutex "_ZN5NKern8FMSignalEP10NFastMutex"
       
   438 #define CSM_ZN14TClientRequest9SetStatusEP14TRequestStatus "_ZN14TClientRequest9SetStatusEP14TRequestStatus"
       
   439 #define	CSM_ZN9TSpinLock7LockIrqEv "_ZN9TSpinLock7LockIrqEv"
       
   440 #define	CSM_ZN9TSpinLock9UnlockIrqEv "_ZN9TSpinLock9UnlockIrqEv"
       
   441 #define	CSM_ZN9TSpinLock8LockOnlyEv "_ZN9TSpinLock8LockOnlyEv"
       
   442 #define	CSM_ZN9TSpinLock10UnlockOnlyEv "_ZN9TSpinLock10UnlockOnlyEv"
       
   443 #define	CSM_ZN9TSpinLock11LockIrqSaveEv "_ZN9TSpinLock11LockIrqSaveEv"
       
   444 #define	CSM_ZN9TSpinLock16UnlockIrqRestoreEi "_ZN9TSpinLock16UnlockIrqRestoreEi"
       
   445 #define	CSM_ZN11TRWSpinLock8LockIrqREv "_ZN11TRWSpinLock8LockIrqREv"
       
   446 #define	CSM_ZN11TRWSpinLock10UnlockIrqREv "_ZN11TRWSpinLock10UnlockIrqREv"
       
   447 #define	CSM_ZN11TRWSpinLock9LockOnlyREv "_ZN11TRWSpinLock9LockOnlyREv"
       
   448 #define	CSM_ZN11TRWSpinLock11UnlockOnlyREv "_ZN11TRWSpinLock11UnlockOnlyREv"
       
   449 #define	CSM_ZN11TRWSpinLock17UnlockIrqRestoreREi "_ZN11TRWSpinLock17UnlockIrqRestoreREi"
       
   450 #define	CSM_ZN11TRWSpinLock8LockIrqWEv "_ZN11TRWSpinLock8LockIrqWEv"
       
   451 #define	CSM_ZN11TRWSpinLock10UnlockIrqWEv "_ZN11TRWSpinLock10UnlockIrqWEv"
       
   452 #define	CSM_ZN11TRWSpinLock9LockOnlyWEv "_ZN11TRWSpinLock9LockOnlyWEv"
       
   453 #define	CSM_ZN11TRWSpinLock11UnlockOnlyWEv "_ZN11TRWSpinLock11UnlockOnlyWEv"
       
   454 #define	CSM_ZN11TRWSpinLock17UnlockIrqRestoreWEi "_ZN11TRWSpinLock17UnlockIrqRestoreWEi"
       
   455 #define	CSM_ZN3Arm9SaveStateER14SFullArmRegSet "_ZN3Arm9SaveStateER14SFullArmRegSet"
       
   456 #define	CSM_ZN3Arm3RegER14SFullArmRegSetim "_ZN3Arm3RegER14SFullArmRegSetim"
       
   457 #define	CSM_Z9KDebugNumi " _Z9KDebugNumi"
       
   458 #define CSM_ZN5NKern9TimestampEv " _ZN5NKern9TimestampEv"
       
   459 #define	CSM_ZN5NKern18TimestampFrequencyEv " _ZN5NKern18TimestampFrequencyEv"
       
   460 #define CSM_ZN6NTimer7OneShotEii " _ZN6NTimer7OneShotEii"
       
   461 #define CSM_ZN4Kern20QueueRequestCompleteEP7DThreadP14TClientRequesti "_ZN4Kern20QueueRequestCompleteEP7DThreadP14TClientRequesti"
       
   462 #define CSM_ZN1M18IsDataPagedAddressEPKvRi "_ZN1M18IsDataPagedAddressEPKvRi"
       
   463 #define CSM_ZN8DSession14PinDescriptorsEPiPA3_mPP17TVirtualPinObject "_ZN8DSession14PinDescriptorsEPiPA3_mPP17TVirtualPinObject"
       
   464 #define CSM_ZN14TClientRequest5ResetEv "_ZN14TClientRequest5ResetEv"
       
   465 #define CSM_ZN9RMessageK8CloseRefEv "_ZN9RMessageK8CloseRefEv"
       
   466 #endif
       
   467 
       
   468 // CIA symbols for COMMON code (used both USER and KERNEL side)
       
   469 // CIA symbol macros for Gcc98r2
       
   470 #if defined(__GCC32__)
       
   471 #define CSM_CFUNC(f)	#f
       
   472 #define CSM_Z26Des16PanicLengthOutOfRangev " Des16PanicLengthOutOfRange__Fv"
       
   473 #define CSM_Z20Des8PanicDesOverflowv " Des8PanicDesOverflow__Fv"
       
   474 #define CSM_ZN10RArrayBase4GrowEv " Grow__10RArrayBase"
       
   475 #define CSM_ZN3Mem8CompareCEPKtiS0_i " CompareC__3MemPCUsiT1i"
       
   476 #define CSM_Z20Des16PanicBadDesTypev " Des16PanicBadDesType__Fv"
       
   477 #define CSM_Z24Des16PanicLengthNegativev " Des16PanicLengthNegative__Fv"
       
   478 #define CSM_Z19Des8PanicBadDesTypev " Des8PanicBadDesType__Fv"
       
   479 #define CSM_ZN3Mem7CompareEPKtiS0_i " Compare__3MemPCUsiT1i"
       
   480 #define CSM_Z23Des8PanicLengthNegativev " Des8PanicLengthNegative__Fv"
       
   481 #define CSM_ZN17RPointerArrayBase4GrowEv " Grow__17RPointerArrayBase"
       
   482 #define CSM_Z28Des16PanicDesIndexOutOfRangev " Des16PanicDesIndexOutOfRange__Fv"
       
   483 #define CSM_ZN3Mem8CompareFEPKhiS0_i " CompareF__3MemPCUciT1i"
       
   484 #define CSM_Z5Panic9TCdtPanic " Panic__F9TCdtPanic"
       
   485 #define CSM_Z27Des8PanicDesIndexOutOfRangev " Des8PanicDesIndexOutOfRange__Fv"
       
   486 #define CSM_ZN3Mem8CompareFEPKtiS0_i " CompareF__3MemPCUsiT1i"
       
   487 #define CSM_Z26Des8PanicMaxLengthNegativev " Des8PanicMaxLengthNegative__Fv"
       
   488 #define CSM_Z25Des8PanicLengthOutOfRangev " Des8PanicLengthOutOfRange__Fv"
       
   489 #define CSM_Z21Des16PanicDesOverflowv " Des16PanicDesOverflow__Fv"
       
   490 #define CSM_Z27Des16PanicMaxLengthNegativev " Des16PanicMaxLengthNegative__Fv"
       
   491 #define CSM_Z18PanicBadArrayIndexv " PanicBadArrayIndex__Fv"
       
   492 #define CSM_Z22Des8PanicPosOutOfRangev " Des8PanicPosOutOfRange__Fv"
       
   493 #define CSM_Z23Des16PanicPosOutOfRangev " Des16PanicPosOutOfRange__Fv"
       
   494 #define CSM_ZN3Mem8CompareCEPKhiS0_i " CompareC__3MemPCUciT1i"
       
   495 #define CSM_Z22RHeap_PanicBadNextCellv " RHeap_PanicBadNextCell__Fv"
       
   496 #define CSM_Z30PanicEWordMoveSourceNotAlignedv " PanicEWordMoveSourceNotAligned__Fv"
       
   497 #define CSM_Z30PanicEWordMoveTargetNotAlignedv " PanicEWordMoveTargetNotAligned__Fv"
       
   498 #define CSM_Z34PanicEWordMoveLengthNotMultipleOf4v " PanicEWordMoveLengthNotMultipleOf4__Fv"
       
   499 #define CSM_ZN16DMemModelProcess13TryOpenOsAsidEv "TryOpenOsAsid__16DMemModelProcess"
       
   500 #define CSM_ZN16DMemModelProcess11CloseOsAsidEv " CloseOsAsid__16DMemModelProcess"
       
   501 
       
   502 #elif defined(__ARMCC__)
       
   503 // CIA symbol macros for RVCT
       
   504 #define	CSM_CFUNC(f)	"__cpp(" #f ")"
       
   505 #define CSM_Z26Des16PanicLengthOutOfRangev " __cpp(Des16PanicLengthOutOfRange)"
       
   506 #define CSM_Z20Des8PanicDesOverflowv " __cpp(Des8PanicDesOverflow)"
       
   507 #define CSM_ZN10RArrayBase4GrowEv " __cpp(RArrayBase::Grow)"
       
   508 #define CSM_ZN3Mem8CompareCEPKtiS0_i " __cpp(static_cast<int (*) (const unsigned short*, int, const unsigned short*, int)>(&Mem::CompareC))"
       
   509 #define CSM_Z20Des16PanicBadDesTypev " __cpp(Des16PanicBadDesType)"
       
   510 #define CSM_Z24Des16PanicLengthNegativev " __cpp(Des16PanicLengthNegative)"
       
   511 #define CSM_Z19Des8PanicBadDesTypev " __cpp(Des8PanicBadDesType)"
       
   512 #define CSM_ZN3Mem7CompareEPKtiS0_i " __cpp(static_cast<int (*) (const unsigned short*, int, const unsigned short*, int)>(&Mem::Compare))"
       
   513 #define CSM_Z23Des8PanicLengthNegativev " __cpp(Des8PanicLengthNegative)"
       
   514 #define CSM_ZN17RPointerArrayBase4GrowEv " __cpp(RPointerArrayBase::Grow)"
       
   515 #define CSM_Z28Des16PanicDesIndexOutOfRangev " __cpp(Des16PanicDesIndexOutOfRange)"
       
   516 #define CSM_ZN3Mem8CompareFEPKhiS0_i " __cpp(static_cast<int (*) (const unsigned char*, int, const unsigned char*, int)>(&Mem::CompareF))"
       
   517 #define CSM_Z5Panic9TCdtPanic " __cpp(Panic)"
       
   518 #define CSM_Z27Des8PanicDesIndexOutOfRangev " __cpp(Des8PanicDesIndexOutOfRange)"
       
   519 #define CSM_ZN3Mem8CompareFEPKtiS0_i " __cpp(static_cast<int (*) (const unsigned short*, int, const unsigned short*, int)>(&Mem::CompareF))"
       
   520 #define CSM_Z26Des8PanicMaxLengthNegativev " __cpp(Des8PanicMaxLengthNegative)"
       
   521 #define CSM_Z25Des8PanicLengthOutOfRangev " __cpp(Des8PanicLengthOutOfRange)"
       
   522 #define CSM_Z21Des16PanicDesOverflowv " __cpp(Des16PanicDesOverflow)"
       
   523 #define CSM_Z27Des16PanicMaxLengthNegativev " __cpp(Des16PanicMaxLengthNegative)"
       
   524 #define CSM_Z18PanicBadArrayIndexv " __cpp(PanicBadArrayIndex)"
       
   525 #define CSM_Z22Des8PanicPosOutOfRangev " __cpp(Des8PanicPosOutOfRange)"
       
   526 #define CSM_Z23Des16PanicPosOutOfRangev " __cpp(Des16PanicPosOutOfRange)"
       
   527 #define CSM_ZN3Mem8CompareCEPKhiS0_i " __cpp(static_cast<int (*) (const unsigned char*, int, const unsigned char*, int)>(&Mem::CompareC))"
       
   528 #define CSM_Z22RHeap_PanicBadNextCellv " __cpp(RHeap_PanicBadNextCell)"
       
   529 #define CSM_Z30PanicEWordMoveSourceNotAlignedv " __cpp(PanicEWordMoveSourceNotAligned)"
       
   530 #define CSM_Z30PanicEWordMoveTargetNotAlignedv " __cpp(PanicEWordMoveTargetNotAligned)"
       
   531 #define CSM_Z34PanicEWordMoveLengthNotMultipleOf4v " __cpp(PanicEWordMoveLengthNotMultipleOf4)"
       
   532 #define CSM_ZN16DMemModelProcess13TryOpenOsAsidEv " __cpp(DMemModelProcess::TryOpenOsAsid)"
       
   533 #define CSM_ZN16DMemModelProcess11CloseOsAsidEv " __cpp(DMemModelProcess::CloseOsAsid)"
       
   534 #else
       
   535 // CIA symbol macros for EABI assemblers
       
   536 #define CSM_CFUNC(f)	#f
       
   537 #define CSM_Z26Des16PanicLengthOutOfRangev " _Z26Des16PanicLengthOutOfRangev"
       
   538 #define CSM_Z20Des8PanicDesOverflowv " _Z20Des8PanicDesOverflowv"
       
   539 #define CSM_ZN10RArrayBase4GrowEv " _ZN10RArrayBase4GrowEv"
       
   540 #define CSM_ZN3Mem8CompareCEPKtiS0_i " _ZN3Mem8CompareCEPKtiS0_i"
       
   541 #define CSM_Z20Des16PanicBadDesTypev " _Z20Des16PanicBadDesTypev"
       
   542 #define CSM_Z24Des16PanicLengthNegativev " _Z24Des16PanicLengthNegativev"
       
   543 #define CSM_Z19Des8PanicBadDesTypev " _Z19Des8PanicBadDesTypev"
       
   544 #define CSM_ZN3Mem7CompareEPKtiS0_i " _ZN3Mem7CompareEPKtiS0_i"
       
   545 #define CSM_Z23Des8PanicLengthNegativev " _Z23Des8PanicLengthNegativev"
       
   546 #define CSM_ZN17RPointerArrayBase4GrowEv " _ZN17RPointerArrayBase4GrowEv"
       
   547 #define CSM_Z28Des16PanicDesIndexOutOfRangev " _Z28Des16PanicDesIndexOutOfRangev"
       
   548 #define CSM_ZN3Mem8CompareFEPKhiS0_i " _ZN3Mem8CompareFEPKhiS0_i"
       
   549 #define CSM_Z5Panic9TCdtPanic " _Z5Panic9TCdtPanic"
       
   550 #define CSM_Z27Des8PanicDesIndexOutOfRangev " _Z27Des8PanicDesIndexOutOfRangev"
       
   551 #define CSM_ZN3Mem8CompareFEPKtiS0_i " _ZN3Mem8CompareFEPKtiS0_i"
       
   552 #define CSM_Z26Des8PanicMaxLengthNegativev " _Z26Des8PanicMaxLengthNegativev"
       
   553 #define CSM_Z25Des8PanicLengthOutOfRangev " _Z25Des8PanicLengthOutOfRangev"
       
   554 #define CSM_Z21Des16PanicDesOverflowv " _Z21Des16PanicDesOverflowv"
       
   555 #define CSM_Z27Des16PanicMaxLengthNegativev " _Z27Des16PanicMaxLengthNegativev"
       
   556 #define CSM_Z18PanicBadArrayIndexv " _Z18PanicBadArrayIndexv"
       
   557 #define CSM_Z22Des8PanicPosOutOfRangev " _Z22Des8PanicPosOutOfRangev"
       
   558 #define CSM_Z23Des16PanicPosOutOfRangev " _Z23Des16PanicPosOutOfRangev"
       
   559 #define CSM_ZN3Mem8CompareCEPKhiS0_i " _ZN3Mem8CompareCEPKhiS0_i"
       
   560 #define CSM_Z22RHeap_PanicBadNextCellv " _Z22RHeap_PanicBadNextCellv"
       
   561 #define CSM_Z30PanicEWordMoveSourceNotAlignedv " _Z30PanicEWordMoveSourceNotAlignedv"
       
   562 #define CSM_Z30PanicEWordMoveTargetNotAlignedv " _Z30PanicEWordMoveTargetNotAlignedv"
       
   563 #define CSM_Z34PanicEWordMoveLengthNotMultipleOf4v " _Z34PanicEWordMoveLengthNotMultipleOf4v"
       
   564 #define CSM_ZN16DMemModelProcess13TryOpenOsAsidEv " _ZN16DMemModelProcess13TryOpenOsAsidEv"
       
   565 #define CSM_ZN16DMemModelProcess11CloseOsAsidEv " _ZN16DMemModelProcess11CloseOsAsidEv"
       
   566 #endif
       
   567 
       
   568 // These macros define 'hooks' that maybe useful to tie various functions in the kernel
       
   569 // to compiler helper functions. Typically they just allow for the avoidance of a jump.
       
   570 #ifndef KMEMSETHOOK
       
   571 #if defined(__ARMCC__)
       
   572 #if (__ARMCC_VERSION > 210000)
       
   573 #define KMEMSETHOOK     asm(".global __rt_memset ");  asm("__rt_memset: ");\
       
   574                         asm(".global _memset ");  asm("_memset: ");\
       
   575                         asm(".global _memset_w ");  asm("_memset_w: "); 
       
   576 
       
   577 #else
       
   578 #define KMEMSETHOOK     asm(".global __rt_memset ");  asm("__rt_memset: ");\
       
   579                         asm(".global _memset_w ");  asm("_memset_w: "); 
       
   580 #endif
       
   581 #else
       
   582 #define KMEMSETHOOK
       
   583 #endif
       
   584 #endif
       
   585 
       
   586 #ifndef KMEMMOVEHOOK
       
   587 #if defined(__ARMCC__)
       
   588 #if (__ARMCC_VERSION > 210000)
       
   589 #define KMEMMOVEHOOK         asm(".global __aeabi_memmove8 ");  asm("__aeabi_memmove8: ");\
       
   590                              asm(".global __aeabi_memmove4 ");  asm("__aeabi_memmove4: "); \
       
   591                              asm(".global __aeabi_memmove ");  asm("__aeabi_memmove: "); \
       
   592                              asm(".global __rt_memmove "); asm("__rt_memmove: ");\
       
   593                              asm(".global __rt_memmove_w "); asm("__rt_memmove_w: ");
       
   594 #else
       
   595 #define KMEMMOVEHOOK         asm(".global __rt_memmove "); asm("__rt_memmove: ");\
       
   596                              asm(".global __rt_memmove_w "); asm("__rt_memmove_w: ");
       
   597 #endif
       
   598 #else
       
   599 #define KMEMMOVEHOOK
       
   600 #endif
       
   601 #endif
       
   602 
       
   603 #ifndef KMEMCPYHOOK
       
   604 #if defined(__ARMCC__)
       
   605 #if (__ARMCC_VERSION > 210000)
       
   606 #define KMEMCPYHOOK             asm(".global __aeabi_memcpy8 ");  asm("__aeabi_memcpy8: ");\
       
   607                                 asm(".global __aeabi_memcpy4 ");  asm("__aeabi_memcpy4: "); \
       
   608                                 asm(".global __aeabi_memcpy ");  asm("__aeabi_memcpy: "); \
       
   609                                 asm(".global _memcpy ");asm("_memcpy: ");\
       
   610                                 asm(".global __rt_memcpy ");asm("__rt_memcpy: ");\
       
   611                                 asm(".global __rt_memcpy_w ");asm("__rt_memcpy_w: ");
       
   612 #else
       
   613 #define KMEMCPYHOOK             asm(".global __rt_memcpy ");asm("__rt_memcpy: ");\
       
   614                                 asm(".global __rt_memcpy_w ");asm("__rt_memcpy_w: ");
       
   615 #endif
       
   616 #else
       
   617 #define KMEMCPYHOOK
       
   618 #endif
       
   619 #endif
       
   620 
       
   621 #ifndef KMEMCLRHOOK
       
   622 #if defined(__ARMCC__)
       
   623 #if (__ARMCC_VERSION > 210000)
       
   624 #define KMEMCLRHOOK             asm(".global __aeabi_memclr8 ");  asm("__aeabi_memclr8: ");\
       
   625                                 asm(".global __aeabi_memclr4 ");  asm("__aeabi_memclr4: "); \
       
   626                                 asm(".global __aeabi_memclr ");  asm("__aeabi_memclr: "); \
       
   627                                 asm(".global __rt_memclr ");asm("__rt_memclr: ");\
       
   628                                 asm(".global __rt_memclr_w ");asm("__rt_memclr_w: ");
       
   629 #else
       
   630 #define KMEMCLRHOOK             asm(".global __rt_memclr ");asm("__rt_memclr: ");\
       
   631                                 asm(".global __rt_memclr_w ");asm("__rt_memclr_w: ");
       
   632 #endif
       
   633 #else
       
   634 #define KMEMCLRHOOK
       
   635 #endif
       
   636 #endif
       
   637 
       
   638 #endif