kernel/eka/euser/epoc/symc/uc_exec.cpp
author Stephane Lenclud <tortoisehg@lenclud.com>
Thu, 29 Apr 2010 17:37:22 +0200
branchanywhere
changeset 101 86a1781f0e9b
parent 96 428c5911a502
permissions -rw-r--r--
Working on AO support.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
94
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
     1
// Copyright (c) 1995-2009 Nokia Corporation and/or its subsidiary(-ies).
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
     2
// All rights reserved.
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
     3
// This component and the accompanying materials are made available
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
     4
// under the terms of the License "Eclipse Public License v1.0"
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
     5
// which accompanies this distribution, and is available
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
     6
// at the URL "http://www.eclipse.org/legal/epl-v10.html".
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
     7
//
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
     8
// Initial Contributors:
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
     9
// Nokia Corporation - initial contribution.
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
    10
//
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
    11
// Contributors:
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
    12
//
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
    13
// Description:
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
    14
// e32\euser\epoc\win32\uc_exec.cpp
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
    15
// 
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
    16
//
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
    17
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
    18
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
    19
//#define __GEN_USER_EXEC_CODE__
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
    20
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
    21
#include "../win32/uc_std.h"
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
    22
#include <e32svr.h>
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
    23
#include <emulator.h>
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
    24
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
    25
//
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
    26
#include <stdlib.h>
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
    27
#include <stdio.h>
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
    28
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
    29
/*
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
    30
Symbian compatibility executive panics
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
    31
*/
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
    32
enum TSymcExecPanic
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
    33
	{
101
86a1781f0e9b Working on AO support.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 96
diff changeset
    34
	ESymcExecPanicNotSupported,
94
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
    35
	ESymcExecPanicHeapAlreadyExists,
96
428c5911a502 Fixing issue with default C++ delete operator being called instead of Symbian C++ delete replacement with CBase derived classes from euser. Getting ride of SEH stuff used for WINS fixes our trap/leave runtime issues.
Slion
parents: 95
diff changeset
    36
	ESymcExecPanicCreateHeapFailed,
428c5911a502 Fixing issue with default C++ delete operator being called instead of Symbian C++ delete replacement with CBase derived classes from euser. Getting ride of SEH stuff used for WINS fixes our trap/leave runtime issues.
Slion
parents: 95
diff changeset
    37
	ESymcExecPanicNotUsed
94
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
    38
	};
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
    39
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
    40
void Panic(TInt aReason)
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
    41
	{
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
    42
	_LIT(KCategory,"SYMC-Exec");
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
    43
	User::Panic(KCategory,aReason);
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
    44
	}
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
    45
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
    46
101
86a1781f0e9b Working on AO support.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 96
diff changeset
    47
const TInt KTrapStackSize=256;
86a1781f0e9b Working on AO support.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 96
diff changeset
    48
86a1781f0e9b Working on AO support.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 96
diff changeset
    49
/*
86a1781f0e9b Working on AO support.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 96
diff changeset
    50
TODO: should we use CObject?
86a1781f0e9b Working on AO support.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 96
diff changeset
    51
*/
86a1781f0e9b Working on AO support.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 96
diff changeset
    52
class TThread
86a1781f0e9b Working on AO support.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 96
diff changeset
    53
	{
86a1781f0e9b Working on AO support.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 96
diff changeset
    54
public:
86a1781f0e9b Working on AO support.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 96
diff changeset
    55
	
86a1781f0e9b Working on AO support.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 96
diff changeset
    56
public:
86a1781f0e9b Working on AO support.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 96
diff changeset
    57
	RSemaphore iRequestSemaphore;
86a1781f0e9b Working on AO support.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 96
diff changeset
    58
	CActiveScheduler* iActiveScheduler; //Current active scheduler for this thread. Used.
86a1781f0e9b Working on AO support.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 96
diff changeset
    59
	TTrapHandler* iHandler; //This is our cleanup stack. Used.
86a1781f0e9b Working on AO support.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 96
diff changeset
    60
	//No idea why we need that trap stack
86a1781f0e9b Working on AO support.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 96
diff changeset
    61
	//TTrap* iTrapStack[KTrapStackSize];
86a1781f0e9b Working on AO support.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 96
diff changeset
    62
	//TInt iTrapCount;
86a1781f0e9b Working on AO support.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 96
diff changeset
    63
	};
86a1781f0e9b Working on AO support.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 96
diff changeset
    64
86a1781f0e9b Working on AO support.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 96
diff changeset
    65
/*
86a1781f0e9b Working on AO support.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 96
diff changeset
    66
TODO: should we use CObject?
86a1781f0e9b Working on AO support.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 96
diff changeset
    67
Object used to store process globals for our pseudo kernel.
86a1781f0e9b Working on AO support.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 96
diff changeset
    68
That's typically going to be a singleton.
86a1781f0e9b Working on AO support.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 96
diff changeset
    69
*/
86a1781f0e9b Working on AO support.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 96
diff changeset
    70
class TProcess
86a1781f0e9b Working on AO support.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 96
diff changeset
    71
	{
86a1781f0e9b Working on AO support.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 96
diff changeset
    72
public:
86a1781f0e9b Working on AO support.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 96
diff changeset
    73
	void CreateHeap();
86a1781f0e9b Working on AO support.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 96
diff changeset
    74
	void Free();
86a1781f0e9b Working on AO support.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 96
diff changeset
    75
86a1781f0e9b Working on AO support.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 96
diff changeset
    76
public:
86a1781f0e9b Working on AO support.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 96
diff changeset
    77
	RHeap* iAllocator;
86a1781f0e9b Working on AO support.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 96
diff changeset
    78
	TAny* iBase;
86a1781f0e9b Working on AO support.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 96
diff changeset
    79
	TThread iThread; //Single thread for now
86a1781f0e9b Working on AO support.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 96
diff changeset
    80
	};
86a1781f0e9b Working on AO support.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 96
diff changeset
    81
86a1781f0e9b Working on AO support.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 96
diff changeset
    82
86a1781f0e9b Working on AO support.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 96
diff changeset
    83
void TProcess::CreateHeap()
86a1781f0e9b Working on AO support.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 96
diff changeset
    84
	{
86a1781f0e9b Working on AO support.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 96
diff changeset
    85
	//iThread.iTrapCount=0;
86a1781f0e9b Working on AO support.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 96
diff changeset
    86
	//Define the size of our heap
86a1781f0e9b Working on AO support.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 96
diff changeset
    87
	const TInt KHeapMaxSize=1024*1024*10; // 10 Mo for now
86a1781f0e9b Working on AO support.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 96
diff changeset
    88
	__ASSERT_ALWAYS(iAllocator==NULL && iBase==NULL,Panic(ESymcExecPanicHeapAlreadyExists));	
86a1781f0e9b Working on AO support.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 96
diff changeset
    89
	iBase=malloc(KHeapMaxSize);
86a1781f0e9b Working on AO support.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 96
diff changeset
    90
	__ASSERT_ALWAYS(iBase!=NULL,Panic(ESymcExecPanicCreateHeapFailed));	
86a1781f0e9b Working on AO support.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 96
diff changeset
    91
	//TODO: is there anyway we could use variable size heap?
86a1781f0e9b Working on AO support.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 96
diff changeset
    92
	iAllocator=UserHeap::FixedHeap(iBase,KHeapMaxSize);
86a1781f0e9b Working on AO support.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 96
diff changeset
    93
	__ASSERT_ALWAYS(iAllocator!=NULL,Panic(ESymcExecPanicCreateHeapFailed));	
86a1781f0e9b Working on AO support.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 96
diff changeset
    94
	}
86a1781f0e9b Working on AO support.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 96
diff changeset
    95
86a1781f0e9b Working on AO support.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 96
diff changeset
    96
void TProcess::Free()
86a1781f0e9b Working on AO support.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 96
diff changeset
    97
	{
86a1781f0e9b Working on AO support.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 96
diff changeset
    98
	free(iBase);
86a1781f0e9b Working on AO support.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 96
diff changeset
    99
	}
86a1781f0e9b Working on AO support.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 96
diff changeset
   100
86a1781f0e9b Working on AO support.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 96
diff changeset
   101
86a1781f0e9b Working on AO support.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 96
diff changeset
   102
86a1781f0e9b Working on AO support.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 96
diff changeset
   103
TProcess gProcess;
86a1781f0e9b Working on AO support.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 96
diff changeset
   104
94
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   105
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   106
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   107
//
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   108
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   109
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   110
typedef TInt (__fastcall *TDispatcher)(TInt, TInt*);
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   111
TInt __fastcall LazyDispatch(TInt aFunction, TInt* aArgs);
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   112
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   113
#pragma data_seg(".data2")
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   114
#ifdef __VC32__
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   115
#pragma bss_seg(".data2")
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   116
#endif
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   117
static TDispatcher TheDispatcher = &LazyDispatch;
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   118
#pragma data_seg()
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   119
#ifdef __VC32__
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   120
#pragma bss_seg()
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   121
#endif
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   122
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   123
TInt __fastcall LazyDispatch(TInt aFunction, TInt* aArgs)
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   124
	{
101
86a1781f0e9b Working on AO support.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 96
diff changeset
   125
	Panic(ESymcExecPanicNotSupported);
86a1781f0e9b Working on AO support.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 96
diff changeset
   126
	//
94
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   127
	HINSTANCE kernel = GetModuleHandleA("ekern.dll");
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   128
	//HINSTANCE kernel = GetModuleHandleA("ekern.exe");
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   129
	if (kernel)
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   130
		{
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   131
		TDispatcher dispatcher = (TDispatcher)Emulator::GetProcAddress(kernel, (LPCSTR)1);
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   132
		if (dispatcher)
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   133
			{
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   134
			TheDispatcher = dispatcher;
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   135
			return dispatcher(aFunction, aArgs);
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   136
			}
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   137
		}
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   138
	ExitProcess(101);
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   139
	return 0;
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   140
	}
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   141
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   142
#include <u32exec.h>
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   143
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   144
/******************************************************************************
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   145
 * Slow executive calls with preprocessing or extra arguments
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   146
 ******************************************************************************/
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   147
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   148
__NAKED__ TInt Exec::SessionSend(TInt /*aHandle*/, TInt /*aFunction*/, TAny* /*aPtr*/, TRequestStatus* /*aStatus*/)
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   149
//
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   150
// Send a blind message to the server.
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   151
//
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   152
	{
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   153
	__DISPATCH(EExecSessionSend|EXECUTIVE_SLOW)
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   154
	}
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   155
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   156
__NAKED__ TInt Exec::SessionSendSync(TInt /*aHandle*/, TInt /*aFunction*/, TAny* /*aPtr*/, TRequestStatus* /*aStatus*/)
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   157
//
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   158
// Send a blind message to the server using thread's dedicated message slot.
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   159
//
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   160
	{
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   161
	__DISPATCH(EExecSessionSendSync|EXECUTIVE_SLOW)
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   162
	}
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   163
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   164
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   165
__NAKED__ TInt Exec::MessageIpcCopy(TInt /*aHandle*/, TInt /*aParam*/, SIpcCopyInfo& /*aInfo*/, TInt /*anOffset*/)
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   166
//
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   167
// Perform a descriptor-to-descriptor IPC copy
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   168
//
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   169
	{
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   170
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   171
	__DISPATCH(EExecMessageIpcCopy|EXECUTIVE_SLOW)
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   172
	}
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   173
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   174
__NAKED__ TInt Exec::BTraceOut(TUint32 /*a0*/, TUint32 /*a1*/, const BTrace::SExecExtension& /*aExtension*/, TInt /*aDataSize*/)
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   175
	{
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   176
	__DISPATCH(EExecBTraceOut|EXECUTIVE_SLOW)
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   177
	}
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   178
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   179
__NAKED__ TInt Exec::BTraceOutBig(TUint32 /*a0*/, TUint32 /*a1*/, const BTrace::SExecExtension& /*aExtension*/, TInt /*aDataSize*/)
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   180
	{
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   181
	__DISPATCH(EExecBTraceOutBig|EXECUTIVE_SLOW)
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   182
	}
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   183
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   184
__NAKED__ TInt Exec::UTraceOut(TUint32 /*a0*/, TUint32 /*a1*/, const BTrace::SExecExtension& /*aExtension*/, TInt /*aDataSize*/)
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   185
	{
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   186
	__DISPATCH(EExecUTraceOut|EXECUTIVE_SLOW)
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   187
	}
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   188
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   189
EXPORT_C TBool BTrace::Out(TUint32 a0, TUint32 a1, TUint32 a2, TUint32 a3)
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   190
	{
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   191
	BTrace::SExecExtension ext;
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   192
	ext.iA2 = a2;
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   193
	ext.iA3 = a3;
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   194
	ext.iPc = (&a0)[-1]; // return address on X86
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   195
	return Exec::BTraceOut(a0,a1,ext,0);
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   196
	}
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   197
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   198
EXPORT_C TBool BTrace::OutX(TUint32 a0, TUint32 a1, TUint32 a2, TUint32 a3)
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   199
	{
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   200
	BTrace::SExecExtension ext;
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   201
	ext.iA2 = a2;
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   202
	ext.iA3 = a3;
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   203
	ext.iPc = (&a0)[-1]; // return address on X86
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   204
	return Exec::BTraceOut(a0,a1,ext,0);
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   205
	}
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   206
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   207
EXPORT_C TBool BTrace::OutN(TUint32 a0, TUint32 a1, TUint32 a2, const TAny* aData, TInt aDataSize)
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   208
	{
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   209
	BTrace::SExecExtension ext;
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   210
	ext.iA2 = a2;
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   211
	ext.iA3 = (TUint32)aData;
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   212
	ext.iPc = (&a0)[-1]; // return address on X86
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   213
	return Exec::BTraceOut(a0,a1,ext,aDataSize);
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   214
	}
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   215
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   216
EXPORT_C TBool BTrace::OutNX(TUint32 a0, TUint32 a1, TUint32 a2, const TAny* aData, TInt aDataSize)
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   217
	{
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   218
	BTrace::SExecExtension ext;
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   219
	ext.iA2 = a2;
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   220
	ext.iA3 = (TUint32)aData;
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   221
	ext.iPc = (&a0)[-1]; // return address on X86
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   222
	return Exec::BTraceOut(a0,a1,ext,aDataSize);
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   223
	}
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   224
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   225
EXPORT_C TBool BTrace::OutBig(TUint32 a0, TUint32 a1, const TAny* aData, TInt aDataSize)
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   226
	{
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   227
	BTrace::SExecExtension ext;
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   228
	ext.iA2 = 0;
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   229
	ext.iA3 = (TUint32)aData;
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   230
	ext.iPc = (&a0)[-1]; // return address on X86
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   231
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   232
	if((TUint)aDataSize>8u)
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   233
		{
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   234
		if((TUint)aDataSize>KMaxBTraceDataArray+4u)
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   235
			return Exec::BTraceOutBig(a0,a1,ext,aDataSize);
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   236
		a0 += 4;
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   237
		aDataSize -= 4;
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   238
		ext.iA2 = *((TUint32*&)aData)++;
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   239
		ext.iA3 = (TUint32)aData;
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   240
		return Exec::BTraceOut(a0,a1,ext,aDataSize);
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   241
		}
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   242
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   243
	if((TUint)aDataSize>4u)
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   244
		ext.iA3 = ((TUint32*)aData)[1];
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   245
	if(aDataSize)
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   246
		ext.iA2 = ((TUint32*)aData)[0];
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   247
	a0 += aDataSize;
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   248
	aDataSize = 0;
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   249
	return Exec::BTraceOut(a0,a1,ext,aDataSize);
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   250
	}
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   251
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   252
EXPORT_C TBool BTrace::OutFiltered(TUint32 a0, TUint32 a1, TUint32 a2, TUint32 a3)
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   253
	{
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   254
	BTrace::SExecExtension ext;
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   255
	a0 |= EMissingRecord<<BTrace::EFlagsIndex*8; // overload meaning of this flag to indicate filtered trace
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   256
	ext.iA2 = a2;
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   257
	ext.iA3 = a3;
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   258
	ext.iPc = (&a0)[-1]; // return address on X86
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   259
	return Exec::BTraceOut(a0,a1,ext,0);
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   260
	}
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   261
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   262
EXPORT_C TBool BTrace::OutFilteredX(TUint32 a0, TUint32 a1, TUint32 a2, TUint32 a3)
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   263
	{
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   264
	BTrace::SExecExtension ext;
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   265
	a0 |= EMissingRecord<<BTrace::EFlagsIndex*8; // overload meaning of this flag to indicate filtered trace
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   266
	ext.iA2 = a2;
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   267
	ext.iA3 = a3;
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   268
	ext.iPc = (&a0)[-1]; // return address on X86
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   269
	return Exec::BTraceOut(a0,a1,ext,0);
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   270
	}
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   271
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   272
EXPORT_C TBool BTrace::OutFilteredN(TUint32 a0, TUint32 a1, TUint32 a2, const TAny* aData, TInt aDataSize)
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   273
	{
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   274
	BTrace::SExecExtension ext;
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   275
	a0 |= EMissingRecord<<BTrace::EFlagsIndex*8; // overload meaning of this flag to indicate filtered trace
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   276
	ext.iA2 = a2;
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   277
	ext.iA3 = (TUint32)aData;
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   278
	ext.iPc = (&a0)[-1]; // return address on X86
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   279
	return Exec::BTraceOut(a0,a1,ext,aDataSize);
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   280
	}
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   281
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   282
EXPORT_C TBool BTrace::OutFilteredNX(TUint32 a0, TUint32 a1, TUint32 a2, const TAny* aData, TInt aDataSize)
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   283
	{
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   284
	BTrace::SExecExtension ext;
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   285
	a0 |= EMissingRecord<<BTrace::EFlagsIndex*8; // overload meaning of this flag to indicate filtered trace
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   286
	ext.iA2 = a2;
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   287
	ext.iA3 = (TUint32)aData;
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   288
	ext.iPc = (&a0)[-1]; // return address on X86
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   289
	return Exec::BTraceOut(a0,a1,ext,aDataSize);
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   290
	}
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   291
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   292
EXPORT_C TBool BTrace::OutFilteredBig(TUint32 a0, TUint32 a1, const TAny* aData, TInt aDataSize)
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   293
	{
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   294
	BTrace::SExecExtension ext;
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   295
	a0 |= EMissingRecord<<BTrace::EFlagsIndex*8; // overload meaning of this flag to indicate filtered trace
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   296
	ext.iA2 = 0;
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   297
	ext.iA3 = (TUint32)aData;
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   298
	ext.iPc = (&a0)[-1]; // return address on X86
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   299
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   300
	if((TUint)aDataSize>8u)
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   301
		{
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   302
		if((TUint)aDataSize>KMaxBTraceDataArray+4u)
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   303
			return Exec::BTraceOutBig(a0,a1,ext,aDataSize);
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   304
		a0 += 4;
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   305
		aDataSize -= 4;
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   306
		ext.iA2 = *((TUint32*&)aData)++;
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   307
		ext.iA3 = (TUint32)aData;
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   308
		return Exec::BTraceOut(a0,a1,ext,aDataSize);
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   309
		}
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   310
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   311
	if((TUint)aDataSize>4u)
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   312
		ext.iA3 = ((TUint32*)aData)[1];
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   313
	if(aDataSize)
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   314
		ext.iA2 = ((TUint32*)aData)[0];
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   315
	a0 += aDataSize;
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   316
	aDataSize = 0;
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   317
	return Exec::BTraceOut(a0,a1,ext,aDataSize);
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   318
	}
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   319
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   320
EXPORT_C TBool BTrace::OutFilteredPcFormatBig(TUint32 aHeader, TUint32 aModuleUid, TUint32 aPc, TUint16 aFormatId, const TAny* aData, TInt aDataSize)
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   321
	{
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   322
 	BTrace::SExecExtension ext;
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   323
	aHeader |= EMissingRecord<<BTrace::EFlagsIndex*8; // overload meaning of this flag to indicate filtered trace
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   324
	ext.iA2 = aFormatId;
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   325
	ext.iA3 = (TUint32)aData;
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   326
	ext.iPc = aPc;
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   327
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   328
	if((TUint)aDataSize>KMaxBTraceDataArray)
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   329
		return Exec::UTraceOut(aHeader,aModuleUid,ext,aDataSize);
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   330
	aHeader += 4;
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   331
	return Exec::BTraceOut(aHeader,aModuleUid,ext,aDataSize);
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   332
	}
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   333
101
86a1781f0e9b Working on AO support.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 96
diff changeset
   334
__NAKED__ void ExecRequestComplete(TInt aHandle, TRequestStatus*& aStatus, TInt aReason)
94
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   335
	{
101
86a1781f0e9b Working on AO support.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 96
diff changeset
   336
	//TODO: look our thread per handle
86a1781f0e9b Working on AO support.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 96
diff changeset
   337
	*aStatus=aReason;
86a1781f0e9b Working on AO support.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 96
diff changeset
   338
	gProcess.iThread.iRequestSemaphore.Signal();
94
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   339
	}
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   340
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   341
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   342
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   343
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   344
EXPORT_C void RThread::RequestComplete(TRequestStatus*& aStatus, TInt aReason) const
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   345
/**
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   346
Signals this thread that an asynchronous request originating from this thread,
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   347
is complete.
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   348
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   349
The request is associated with the specified request status object supplied
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   350
by this thread.
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   351
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   352
Typically, the caller of this function is the service provider responsible
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   353
for satisfying the request made by this thread.
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   354
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   355
The request is completed with the completion code passed in aReason. This
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   356
value is copied into this thread's request status, *aStatus, before signalling
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   357
this thread's request semaphore.
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   358
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   359
The meaning of the completion code is a matter of convention to be decided
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   360
between the service provider and this thread.
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   361
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   362
In a client-server situation, completion of a request takes place in the context
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   363
of the server thread, but the pointer is interpreted in the address space
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   364
of the client.
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   365
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   366
It is often the case in client-server situations that the client and the server
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   367
are in the same address space (i.e. the same process).
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   368
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   369
Setting the pointer to the request status to NULL is a convenience, not all
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   370
servers need it.
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   371
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   372
@param aStatus A reference to a pointer to the request status originally
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   373
               supplied by this thread. This is a pointer into this thread's
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   374
               address space, which may be different to the thread currently
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   375
               executing (this code). On return, the pointer to the request
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   376
               status is set to NULL.
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   377
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   378
@param aReason The completion code of this request.
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   379
*/
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   380
	{
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   381
	ExecRequestComplete(iHandle,aStatus,aReason);
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   382
	}
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   383
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   384
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   385
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   386
/**
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   387
Signal this threads request semaphore.
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   388
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   389
This is similar to RThread::RequestComplete() except that no TRequestStatus object
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   390
is modified.
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   391
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   392
May only be used to signal a thread in the same process as the callers.
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   393
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   394
@panic KERN-EXEC 46 if the thread is not in the same process as the callers
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   395
*/
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   396
EXPORT_C void RThread::RequestSignal() const
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   397
	{
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   398
	Exec::ThreadRequestSignal(iHandle);
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   399
	}
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   400
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   401
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   402
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   403
void ExitCurrentThread(TExitType aType, TInt aReason, const TDesC8* aCategory)
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   404
	{
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   405
	Exec::ThreadKill(KCurrentThreadHandle, aType, aReason, aCategory);
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   406
	}
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   407
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   408
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   409
//
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   410
#ifndef __GEN_USER_EXEC_CODE__
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   411
95
f561f9ae805b Trying to get trap/leave to work properly but the whole WINS stuff seems over complicated with a lot of assembly in the middle and it's not working on my compiler. When the throw happens the debugger complains about uncaught exception when I'm definitly inside a catch implemented by our TRAP.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 94
diff changeset
   412
94
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   413
92
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   414
__EXECDECL__ void Exec::WaitForAnyRequest()
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   415
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   416
	FAST_EXEC0(EFastExecWaitForAnyRequest);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   417
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   418
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   419
__EXECDECL__ RAllocator* Exec::Heap()
94
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   420
	{	
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   421
	//FAST_EXEC0(EFastExecHeap);
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   422
	return gProcess.iAllocator;
92
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   423
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   424
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   425
__EXECDECL__ RAllocator* Exec::HeapSwitch(RAllocator*)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   426
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   427
	FAST_EXEC1(EFastExecHeapSwitch);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   428
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   429
95
f561f9ae805b Trying to get trap/leave to work properly but the whole WINS stuff seems over complicated with a lot of assembly in the middle and it's not working on my compiler. When the throw happens the debugger complains about uncaught exception when I'm definitly inside a catch implemented by our TRAP.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 94
diff changeset
   430
__EXECDECL__ TTrapHandler* Exec::PushTrapFrame(TTrap* aTrap)
92
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   431
	{
96
428c5911a502 Fixing issue with default C++ delete operator being called instead of Symbian C++ delete replacement with CBase derived classes from euser. Getting ride of SEH stuff used for WINS fixes our trap/leave runtime issues.
Slion
parents: 95
diff changeset
   432
	Panic(ESymcExecPanicNotUsed);
428c5911a502 Fixing issue with default C++ delete operator being called instead of Symbian C++ delete replacement with CBase derived classes from euser. Getting ride of SEH stuff used for WINS fixes our trap/leave runtime issues.
Slion
parents: 95
diff changeset
   433
	return NULL;
95
f561f9ae805b Trying to get trap/leave to work properly but the whole WINS stuff seems over complicated with a lot of assembly in the middle and it's not working on my compiler. When the throw happens the debugger complains about uncaught exception when I'm definitly inside a catch implemented by our TRAP.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 94
diff changeset
   434
	//FAST_EXEC1(EFastExecPushTrapFrame);
96
428c5911a502 Fixing issue with default C++ delete operator being called instead of Symbian C++ delete replacement with CBase derived classes from euser. Getting ride of SEH stuff used for WINS fixes our trap/leave runtime issues.
Slion
parents: 95
diff changeset
   435
	//ASSERT(gProcess.iThread.iTrapCount<=KTrapStackSize);
428c5911a502 Fixing issue with default C++ delete operator being called instead of Symbian C++ delete replacement with CBase derived classes from euser. Getting ride of SEH stuff used for WINS fixes our trap/leave runtime issues.
Slion
parents: 95
diff changeset
   436
	//gProcess.iThread.iTrapStack[gProcess.iThread.iTrapCount++]=aTrap;
428c5911a502 Fixing issue with default C++ delete operator being called instead of Symbian C++ delete replacement with CBase derived classes from euser. Getting ride of SEH stuff used for WINS fixes our trap/leave runtime issues.
Slion
parents: 95
diff changeset
   437
	//return gProcess.iThread.iHandler;
92
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   438
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   439
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   440
__EXECDECL__ TTrap* Exec::PopTrapFrame()
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   441
	{
96
428c5911a502 Fixing issue with default C++ delete operator being called instead of Symbian C++ delete replacement with CBase derived classes from euser. Getting ride of SEH stuff used for WINS fixes our trap/leave runtime issues.
Slion
parents: 95
diff changeset
   442
	Panic(ESymcExecPanicNotUsed);
428c5911a502 Fixing issue with default C++ delete operator being called instead of Symbian C++ delete replacement with CBase derived classes from euser. Getting ride of SEH stuff used for WINS fixes our trap/leave runtime issues.
Slion
parents: 95
diff changeset
   443
	return NULL;
95
f561f9ae805b Trying to get trap/leave to work properly but the whole WINS stuff seems over complicated with a lot of assembly in the middle and it's not working on my compiler. When the throw happens the debugger complains about uncaught exception when I'm definitly inside a catch implemented by our TRAP.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 94
diff changeset
   444
	//FAST_EXEC0(EFastExecPopTrapFrame);
96
428c5911a502 Fixing issue with default C++ delete operator being called instead of Symbian C++ delete replacement with CBase derived classes from euser. Getting ride of SEH stuff used for WINS fixes our trap/leave runtime issues.
Slion
parents: 95
diff changeset
   445
	//ASSERT(gProcess.iThread.iTrapCount>0);
428c5911a502 Fixing issue with default C++ delete operator being called instead of Symbian C++ delete replacement with CBase derived classes from euser. Getting ride of SEH stuff used for WINS fixes our trap/leave runtime issues.
Slion
parents: 95
diff changeset
   446
	//return gProcess.iThread.iTrapStack[gProcess.iThread.iTrapCount--];
92
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   447
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   448
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   449
__EXECDECL__ CActiveScheduler* Exec::ActiveScheduler()
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   450
	{
101
86a1781f0e9b Working on AO support.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 96
diff changeset
   451
	//FAST_EXEC0(EFastExecActiveScheduler);
86a1781f0e9b Working on AO support.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 96
diff changeset
   452
	return gProcess.iThread.iActiveScheduler;
92
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   453
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   454
101
86a1781f0e9b Working on AO support.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 96
diff changeset
   455
__EXECDECL__ void Exec::SetActiveScheduler(CActiveScheduler* aActiveScheduler)
92
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   456
	{
101
86a1781f0e9b Working on AO support.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 96
diff changeset
   457
	//FAST_EXEC1(EFastExecSetActiveScheduler);
86a1781f0e9b Working on AO support.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 96
diff changeset
   458
	gProcess.iThread.iActiveScheduler=aActiveScheduler;
92
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   459
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   460
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   461
__EXECDECL__ TTimerLockSpec Exec::LockPeriod()
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   462
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   463
	FAST_EXEC0(EFastExecLockPeriod);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   464
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   465
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   466
__EXECDECL__ TTrapHandler* Exec::TrapHandler()
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   467
	{
95
f561f9ae805b Trying to get trap/leave to work properly but the whole WINS stuff seems over complicated with a lot of assembly in the middle and it's not working on my compiler. When the throw happens the debugger complains about uncaught exception when I'm definitly inside a catch implemented by our TRAP.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 94
diff changeset
   468
	//FAST_EXEC0(EFastExecTrapHandler);
f561f9ae805b Trying to get trap/leave to work properly but the whole WINS stuff seems over complicated with a lot of assembly in the middle and it's not working on my compiler. When the throw happens the debugger complains about uncaught exception when I'm definitly inside a catch implemented by our TRAP.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 94
diff changeset
   469
	return gProcess.iThread.iHandler;
92
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   470
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   471
95
f561f9ae805b Trying to get trap/leave to work properly but the whole WINS stuff seems over complicated with a lot of assembly in the middle and it's not working on my compiler. When the throw happens the debugger complains about uncaught exception when I'm definitly inside a catch implemented by our TRAP.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 94
diff changeset
   472
__EXECDECL__ TTrapHandler* Exec::SetTrapHandler(TTrapHandler* aHandler)
f561f9ae805b Trying to get trap/leave to work properly but the whole WINS stuff seems over complicated with a lot of assembly in the middle and it's not working on my compiler. When the throw happens the debugger complains about uncaught exception when I'm definitly inside a catch implemented by our TRAP.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 94
diff changeset
   473
	{	
f561f9ae805b Trying to get trap/leave to work properly but the whole WINS stuff seems over complicated with a lot of assembly in the middle and it's not working on my compiler. When the throw happens the debugger complains about uncaught exception when I'm definitly inside a catch implemented by our TRAP.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 94
diff changeset
   474
	//FAST_EXEC1(EFastExecSetTrapHandler);
f561f9ae805b Trying to get trap/leave to work properly but the whole WINS stuff seems over complicated with a lot of assembly in the middle and it's not working on my compiler. When the throw happens the debugger complains about uncaught exception when I'm definitly inside a catch implemented by our TRAP.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 94
diff changeset
   475
	TTrapHandler* prev=gProcess.iThread.iHandler;
f561f9ae805b Trying to get trap/leave to work properly but the whole WINS stuff seems over complicated with a lot of assembly in the middle and it's not working on my compiler. When the throw happens the debugger complains about uncaught exception when I'm definitly inside a catch implemented by our TRAP.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 94
diff changeset
   476
	gProcess.iThread.iHandler=aHandler;
f561f9ae805b Trying to get trap/leave to work properly but the whole WINS stuff seems over complicated with a lot of assembly in the middle and it's not working on my compiler. When the throw happens the debugger complains about uncaught exception when I'm definitly inside a catch implemented by our TRAP.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 94
diff changeset
   477
	return prev;
92
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   478
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   479
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   480
__EXECDECL__ TUint32 Exec::DebugMask()
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   481
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   482
	FAST_EXEC0(EFastExecDebugMask);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   483
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   484
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   485
__EXECDECL__ TUint32 Exec::DebugMaskIndex(TUint)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   486
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   487
	FAST_EXEC1(EFastExecDebugMaskIndex);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   488
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   489
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   490
__EXECDECL__ void Exec::SetDebugMask(TUint32)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   491
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   492
	FAST_EXEC1(EFastExecSetDebugMask);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   493
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   494
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   495
__EXECDECL__ TUint32 Exec::FastCounter()
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   496
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   497
	FAST_EXEC0(EFastExecFastCounter);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   498
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   499
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   500
__EXECDECL__ TUint32 Exec::NTickCount()
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   501
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   502
	FAST_EXEC0(EFastExecNTickCount);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   503
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   504
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   505
EXPORT_C __EXECDECL__ void UserSvr::LockRamDrive()
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   506
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   507
	FAST_EXEC0(EFastExecLockRamDrive);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   508
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   509
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   510
EXPORT_C __EXECDECL__ void UserSvr::UnlockRamDrive()
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   511
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   512
	FAST_EXEC0(EFastExecUnlockRamDrive);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   513
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   514
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   515
EXPORT_C __EXECDECL__ TLinAddr UserSvr::RomHeaderAddress()
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   516
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   517
	FAST_EXEC0(EFastExecRomHeaderAddress);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   518
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   519
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   520
EXPORT_C __EXECDECL__ TLinAddr UserSvr::RomRootDirectoryAddress()
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   521
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   522
	FAST_EXEC0(EFastExecRomRootDirectoryAddress);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   523
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   524
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   525
__EXECDECL__ void Exec::SetReentryPoint(TLinAddr)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   526
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   527
	FAST_EXEC1(EFastExecSetReentryPoint);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   528
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   529
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   530
__EXECDECL__ TUint32 Exec::KernelConfigFlags()
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   531
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   532
	FAST_EXEC0(EFastExecKernelConfigFlags);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   533
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   534
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   535
__EXECDECL__ TInt Exec::UTCOffset()
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   536
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   537
	FAST_EXEC0(EFastExecUTCOffset);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   538
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   539
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   540
__EXECDECL__ TInt Exec::GetGlobalUserData(TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   541
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   542
	FAST_EXEC1(EFastExecGetGlobalUserData);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   543
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   544
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   545
EXPORT_C __EXECDECL__ TBool BTrace::CheckFilter(TUint32)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   546
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   547
	FAST_EXEC1(EFastExecCheckFilter);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   548
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   549
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   550
__EXECDECL__ TInt Exec::ObjectNext(TObjectType, TBuf8<KMaxFullName>&, TFindHandle&)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   551
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   552
	SLOW_EXEC3(EExecObjectNext);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   553
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   554
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   555
__EXECDECL__ TUint8* Exec::ChunkBase(TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   556
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   557
	SLOW_EXEC1(EExecChunkBase);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   558
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   559
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   560
__EXECDECL__ TInt Exec::ChunkSize(TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   561
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   562
	SLOW_EXEC1(EExecChunkSize);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   563
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   564
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   565
__EXECDECL__ TInt Exec::ChunkMaxSize(TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   566
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   567
	SLOW_EXEC1(EExecChunkMaxSize);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   568
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   569
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   570
__EXECDECL__ TUint Exec::HandleAttributes(TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   571
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   572
	SLOW_EXEC1(EExecHandleAttributes);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   573
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   574
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   575
__EXECDECL__ TUint Exec::TickCount()
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   576
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   577
	SLOW_EXEC0(EExecTickCount);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   578
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   579
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   580
__EXECDECL__ void Exec::LogicalDeviceGetCaps(TInt, TDes8&)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   581
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   582
	SLOW_EXEC2(EExecLogicalDeviceGetCaps);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   583
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   584
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   585
__EXECDECL__ TBool Exec::LogicalDeviceQueryVersionSupported(TInt, const TVersion&)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   586
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   587
	SLOW_EXEC2(EExecLogicalDeviceQueryVersionSupported);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   588
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   589
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   590
__EXECDECL__ TBool Exec::LogicalDeviceIsAvailable(TInt, TInt, const TDesC8*, const TDesC8*)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   591
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   592
	SLOW_EXEC4(EExecLogicalDeviceIsAvailable);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   593
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   594
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   595
EXPORT_C __EXECDECL__ TInt E32Loader::LocaleExports(TAny*, TLibraryFunction*)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   596
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   597
	SLOW_EXEC2(EExecLocaleExports);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   598
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   599
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   600
__EXECDECL__ TInt Exec::ChannelRequest(TInt, TInt, TAny*, TAny*)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   601
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   602
	SLOW_EXEC4(EExecChannelRequest);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   603
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   604
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   605
__EXECDECL__ TUint32 Exec::MathRandom()
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   606
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   607
	SLOW_EXEC0(EExecMathRandom);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   608
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   609
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   610
__EXECDECL__ void Exec::IMB_Range(TAny*, TUint)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   611
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   612
	SLOW_EXEC2(EExecIMBRange);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   613
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   614
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   615
__EXECDECL__ TInt Exec::ResetMachine(TMachineStartupType)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   616
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   617
	SLOW_EXEC1(EExecResetMachine);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   618
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   619
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   620
__EXECDECL__ TLibraryFunction Exec::LibraryLookup(TInt, TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   621
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   622
	SLOW_EXEC2(EExecLibraryLookup);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   623
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   624
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   625
__EXECDECL__ void Exec::LibraryFileName(TInt, TDes8&)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   626
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   627
	SLOW_EXEC2(EExecLibraryFileName);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   628
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   629
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   630
EXPORT_C __EXECDECL__ TInt UserSvr::ExecuteInSupervisorMode(TSupervisorFunction, TAny*)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   631
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   632
	SLOW_EXEC2(EExecExecuteInSupervisorMode);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   633
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   634
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   635
__EXECDECL__ void Exec::MutexWait(TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   636
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   637
	SLOW_EXEC1(EExecMutexWait);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   638
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   639
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   640
__EXECDECL__ void Exec::MutexSignal(TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   641
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   642
	SLOW_EXEC1(EExecMutexSignal);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   643
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   644
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   645
__EXECDECL__ TInt Exec::ProcessId(TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   646
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   647
	SLOW_EXEC1(EExecProcessId);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   648
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   649
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   650
__EXECDECL__ void Exec::DllFileName(TInt, TDes8&)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   651
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   652
	SLOW_EXEC2(EExecDllFileName);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   653
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   654
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   655
__EXECDECL__ void Exec::ProcessResume(TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   656
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   657
	SLOW_EXEC1(EExecProcessResume);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   658
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   659
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   660
__EXECDECL__ void Exec::ProcessFileName(TInt, TDes8&)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   661
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   662
	SLOW_EXEC2(EExecProcessFileName);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   663
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   664
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   665
__EXECDECL__ void Exec::ProcessCommandLine(TInt, TDes8&)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   666
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   667
	SLOW_EXEC2(EExecProcessCommandLine);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   668
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   669
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   670
__EXECDECL__ TExitType Exec::ProcessExitType(TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   671
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   672
	SLOW_EXEC1(EExecProcessExitType);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   673
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   674
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   675
__EXECDECL__ TInt Exec::ProcessExitReason(TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   676
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   677
	SLOW_EXEC1(EExecProcessExitReason);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   678
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   679
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   680
__EXECDECL__ void Exec::ProcessExitCategory(TInt, TDes8&)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   681
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   682
	SLOW_EXEC2(EExecProcessExitCategory);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   683
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   684
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   685
__EXECDECL__ TProcessPriority Exec::ProcessPriority(TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   686
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   687
	SLOW_EXEC1(EExecProcessPriority);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   688
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   689
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   690
__EXECDECL__ TInt Exec::ProcessSetPriority(TInt, TProcessPriority)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   691
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   692
	SLOW_EXEC2(EExecProcessSetPriority);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   693
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   694
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   695
__EXECDECL__ TUint Exec::ProcessFlags(TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   696
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   697
	SLOW_EXEC1(EExecProcessFlags);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   698
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   699
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   700
__EXECDECL__ void Exec::ProcessSetFlags(TInt, TUint, TUint)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   701
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   702
	SLOW_EXEC3(EExecProcessSetFlags);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   703
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   704
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   705
__EXECDECL__ TInt Exec::SemaphoreWait(TInt, TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   706
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   707
	SLOW_EXEC2(EExecSemaphoreWait);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   708
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   709
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   710
__EXECDECL__ void Exec::SemaphoreSignal1(TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   711
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   712
	SLOW_EXEC1(EExecSemaphoreSignal1);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   713
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   714
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   715
__EXECDECL__ void Exec::SemaphoreSignalN(TInt, TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   716
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   717
	SLOW_EXEC2(EExecSemaphoreSignalN);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   718
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   719
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   720
__EXECDECL__ void Exec::ServerReceive(TInt, TRequestStatus&, TAny*)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   721
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   722
	SLOW_EXEC3(EExecServerReceive);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   723
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   724
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   725
__EXECDECL__ void Exec::ServerCancel(TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   726
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   727
	SLOW_EXEC1(EExecServerCancel);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   728
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   729
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   730
__EXECDECL__ void Exec::SetSessionPtr(TInt, const TAny*)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   731
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   732
	SLOW_EXEC2(EExecSetSessionPtr);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   733
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   734
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   735
__EXECDECL__ TInt Exec::ThreadId(TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   736
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   737
	SLOW_EXEC1(EExecThreadId);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   738
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   739
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   740
__EXECDECL__ TInt Exec::SessionShare(TInt&, TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   741
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   742
	SLOW_EXEC2(EExecSessionShare);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   743
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   744
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   745
__EXECDECL__ void Exec::ThreadResume(TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   746
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   747
	SLOW_EXEC1(EExecThreadResume);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   748
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   749
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   750
__EXECDECL__ void Exec::ThreadSuspend(TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   751
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   752
	SLOW_EXEC1(EExecThreadSuspend);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   753
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   754
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   755
__EXECDECL__ TThreadPriority Exec::ThreadPriority(TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   756
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   757
	SLOW_EXEC1(EExecThreadPriority);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   758
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   759
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   760
__EXECDECL__ void Exec::ThreadSetPriority(TInt, TThreadPriority)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   761
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   762
	SLOW_EXEC2(EExecThreadSetPriority);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   763
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   764
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   765
__EXECDECL__ TProcessPriority Exec::ThreadProcessPriority(TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   766
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   767
	SLOW_EXEC1(EExecThreadProcessPriority);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   768
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   769
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   770
__EXECDECL__ void Exec::ThreadSetProcessPriority(TInt, TProcessPriority)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   771
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   772
	SLOW_EXEC2(EExecThreadSetProcessPriority);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   773
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   774
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   775
__EXECDECL__ TUint Exec::ThreadFlags(TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   776
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   777
	SLOW_EXEC1(EExecThreadFlags);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   778
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   779
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   780
__EXECDECL__ void Exec::ThreadSetFlags(TInt, TUint, TUint)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   781
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   782
	SLOW_EXEC3(EExecThreadSetFlags);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   783
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   784
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   785
__EXECDECL__ TInt Exec::ThreadRequestCount(TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   786
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   787
	SLOW_EXEC1(EExecThreadRequestCount);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   788
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   789
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   790
__EXECDECL__ TExitType Exec::ThreadExitType(TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   791
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   792
	SLOW_EXEC1(EExecThreadExitType);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   793
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   794
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   795
__EXECDECL__ TInt Exec::ThreadExitReason(TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   796
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   797
	SLOW_EXEC1(EExecThreadExitReason);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   798
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   799
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   800
__EXECDECL__ void Exec::ThreadExitCategory(TInt, TDes8&)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   801
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   802
	SLOW_EXEC2(EExecThreadExitCategory);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   803
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   804
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   805
__EXECDECL__ void Exec::TimerCancel(TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   806
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   807
	SLOW_EXEC1(EExecTimerCancel);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   808
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   809
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   810
__EXECDECL__ void Exec::TimerAfter(TInt, TRequestStatus&, TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   811
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   812
	SLOW_EXEC3(EExecTimerAfter);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   813
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   814
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   815
__EXECDECL__ void Exec::TimerAt(TInt, TRequestStatus&, TUint32, TUint32)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   816
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   817
	SLOW_EXEC4(EExecTimerAt);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   818
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   819
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   820
__EXECDECL__ void Exec::TimerLock(TInt, TRequestStatus&, TTimerLockSpec)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   821
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   822
	SLOW_EXEC3(EExecTimerLock);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   823
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   824
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   825
__EXECDECL__ TInt Exec::ChangeNotifierLogon(TInt, TRequestStatus&)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   826
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   827
	SLOW_EXEC2(EExecChangeNotifierLogon);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   828
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   829
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   830
__EXECDECL__ TInt Exec::ChangeNotifierLogoff(TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   831
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   832
	SLOW_EXEC1(EExecChangeNotifierLogoff);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   833
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   834
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   835
__EXECDECL__ void Exec::RequestSignal(TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   836
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   837
	SLOW_EXEC1(EExecRequestSignal);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   838
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   839
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   840
__EXECDECL__ void Exec::HandleName(TInt, TDes8&)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   841
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   842
	SLOW_EXEC2(EExecHandleName);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   843
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   844
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   845
__EXECDECL__ void Exec::HandleFullName(TInt, TDes8&)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   846
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   847
	SLOW_EXEC2(EExecHandleFullName);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   848
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   849
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   850
__EXECDECL__ void Exec::HandleInfo(TInt, THandleInfo*)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   851
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   852
	SLOW_EXEC2(EExecHandleInfo);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   853
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   854
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   855
__EXECDECL__ void Exec::HandleCount(TInt, TInt&, TInt&)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   856
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   857
	SLOW_EXEC3(EExecHandleCount);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   858
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   859
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   860
__EXECDECL__ void Exec::After(TInt, TRequestStatus&)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   861
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   862
	SLOW_EXEC2(EExecAfter);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   863
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   864
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   865
__EXECDECL__ void Exec::At(const EXEC_TIME&, TRequestStatus&)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   866
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   867
	SLOW_EXEC2(EExecAt);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   868
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   869
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   870
__EXECDECL__ void Exec::MessageComplete(TInt, TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   871
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   872
	SLOW_EXEC2(EExecMessageComplete);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   873
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   874
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   875
__EXECDECL__ void Exec::MessageCompleteWithHandle(TInt, TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   876
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   877
	SLOW_EXEC2(EExecMessageCompleteWithHandle);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   878
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   879
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   880
__EXECDECL__ void Exec::TransferSession(TInt, TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   881
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   882
	SLOW_EXEC2(EExecTransferSession);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   883
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   884
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   885
__EXECDECL__ TInt Exec::TimeNow(EXEC_TIME&, TInt&)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   886
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   887
	SLOW_EXEC2(EExecTimeNow);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   888
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   889
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   890
__EXECDECL__ TInt Exec::TimeNowSecure(EXEC_TIME&, TInt&)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   891
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   892
	SLOW_EXEC2(EExecTimeNowSecure);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   893
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   894
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   895
__EXECDECL__ TInt Exec::SetUTCTimeAndOffset(const EXEC_TIME&, TInt, TUint, TUint)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   896
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   897
	SLOW_EXEC4(EExecSetUTCTimeAndOffset);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   898
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   899
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   900
__EXECDECL__ TInt Exec::SetMachineConfiguration(const TDesC8&)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   901
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   902
	SLOW_EXEC1(EExecSetMachineConfiguration);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   903
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   904
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   905
__EXECDECL__ void Exec::CaptureEventHook()
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   906
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   907
	SLOW_EXEC0(EExecCaptureEventHook);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   908
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   909
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   910
__EXECDECL__ void Exec::ReleaseEventHook()
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   911
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   912
	SLOW_EXEC0(EExecReleaseEventHook);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   913
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   914
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   915
__EXECDECL__ void Exec::RequestEvent(TRawEventBuf&, TRequestStatus&)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   916
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   917
	SLOW_EXEC2(EExecRequestEvent);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   918
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   919
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   920
__EXECDECL__ void Exec::RequestEventCancel()
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   921
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   922
	SLOW_EXEC0(EExecRequestEventCancel);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   923
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   924
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   925
__EXECDECL__ TInt Exec::AddEvent(const TRawEvent&)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   926
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   927
	SLOW_EXEC1(EExecAddEvent);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   928
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   929
94
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   930
__EXECDECL__ TAny* Exec::DllTls(TInt aHandle, TInt aDllUid)
92
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   931
	{
94
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   932
	//SLOW_EXEC2(EExecDllTls);
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   933
	if (aHandle==-1 && aDllUid==-1)
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   934
		{
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   935
		//No TGlobalDestructorFunc ATM
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   936
		return NULL;
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   937
		}
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   938
	else
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   939
		{
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   940
		//No sure what to do here
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   941
		__BREAKPOINT();
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   942
		}
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   943
92
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   944
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   945
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   946
__EXECDECL__ TInt Exec::HalFunction(TInt, TInt, TAny*, TAny*)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   947
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   948
	SLOW_EXEC4(EExecHalFunction);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   949
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   950
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   951
__EXECDECL__ void Exec::WsRegisterThread()
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   952
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   953
	SLOW_EXEC0(EExecWsRegisterThread);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   954
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   955
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   956
__EXECDECL__ void Exec::FsRegisterThread()
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   957
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   958
	SLOW_EXEC0(EExecFsRegisterThread);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   959
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   960
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   961
__EXECDECL__ TInt Exec::ProcessCommandLineLength(TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   962
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   963
	SLOW_EXEC1(EExecProcessCommandLineLength);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   964
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   965
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   966
__EXECDECL__ void Exec::TimerInactivity(TInt, TRequestStatus&, TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   967
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   968
	SLOW_EXEC3(EExecTimerInactivity);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   969
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   970
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   971
__EXECDECL__ TInt Exec::UserInactivityTime()
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   972
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   973
	SLOW_EXEC0(EExecUserInactivityTime);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   974
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   975
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   976
__EXECDECL__ void Exec::ResetInactivityTime()
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   977
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   978
	SLOW_EXEC0(EExecResetInactivityTime);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   979
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   980
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   981
__EXECDECL__ void Exec::DebugPrint(TAny*, TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   982
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   983
	SLOW_EXEC2(EExecDebugPrint);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   984
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   985
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   986
__EXECDECL__ TInt Exec::BreakPoint()
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   987
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   988
	SLOW_EXEC0(EExecBreakPoint);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   989
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   990
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   991
__EXECDECL__ TInt Exec::ProfileStart(TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   992
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   993
	SLOW_EXEC1(EExecProfileStart);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   994
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   995
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   996
__EXECDECL__ TInt Exec::ProfileEnd(TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   997
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   998
	SLOW_EXEC1(EExecProfileEnd);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   999
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1000
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1001
__EXECDECL__ TExceptionHandler Exec::ExceptionHandler(TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1002
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1003
	SLOW_EXEC1(EExecExceptionHandler);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1004
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1005
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1006
__EXECDECL__ TInt Exec::SetExceptionHandler(TInt, TExceptionHandler, TUint32)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1007
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1008
	SLOW_EXEC3(EExecSetExceptionHandler);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1009
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1010
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1011
__EXECDECL__ void Exec::ModifyExceptionMask(TInt, TUint32, TUint32)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1012
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1013
	SLOW_EXEC3(EExecModifyExceptionMask);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1014
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1015
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1016
__EXECDECL__ TInt Exec::RaiseException(TInt, TExcType)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1017
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1018
	SLOW_EXEC2(EExecRaiseException);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1019
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1020
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1021
__EXECDECL__ TInt Exec::IsExceptionHandled(TInt, TExcType, TBool)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1022
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1023
	SLOW_EXEC3(EExecIsExceptionHandled);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1024
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1025
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1026
__EXECDECL__ TInt Exec::ProcessGetMemoryInfo(TInt, TModuleMemoryInfo&)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1027
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1028
	SLOW_EXEC2(EExecProcessGetMemoryInfo);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1029
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1030
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1031
__EXECDECL__ TInt Exec::LibraryGetMemoryInfo(TInt, TModuleMemoryInfo&)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1032
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1033
	SLOW_EXEC2(EExecLibraryGetMemoryInfo);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1034
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1035
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1036
__EXECDECL__ TInt Exec::MachineConfiguration(TDes8&, TInt&)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1037
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1038
	SLOW_EXEC2(EExecMachineConfiguration);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1039
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1040
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1041
__EXECDECL__ TInt Exec::SetMemoryThresholds(TInt, TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1042
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1043
	SLOW_EXEC2(EExecSetMemoryThresholds);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1044
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1045
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1046
__EXECDECL__ void Exec::LibraryType(TInt, TUidType&)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1047
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1048
	SLOW_EXEC2(EExecLibraryType);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1049
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1050
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1051
__EXECDECL__ void Exec::ProcessType(TInt, TUidType&)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1052
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1053
	SLOW_EXEC2(EExecProcessType);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1054
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1055
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1056
__EXECDECL__ TInt Exec::ChunkBottom(TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1057
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1058
	SLOW_EXEC1(EExecChunkBottom);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1059
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1060
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1061
__EXECDECL__ TInt Exec::ChunkTop(TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1062
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1063
	SLOW_EXEC1(EExecChunkTop);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1064
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1065
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1066
__EXECDECL__ void Exec::ThreadContext(TInt, TDes8&)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1067
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1068
	SLOW_EXEC2(EExecThreadContext);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1069
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1070
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1071
__EXECDECL__ TInt Exec::ThreadCreate(const TDesC8&, TOwnerType, SThreadCreateInfo8&)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1072
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1073
	SLOW_EXEC3(EExecThreadCreate);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1074
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1075
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1076
__EXECDECL__ TInt Exec::FindHandleOpen(TOwnerType, const TFindHandle&)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1077
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1078
	SLOW_EXEC2(EExecFindHandleOpen);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1079
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1080
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1081
__EXECDECL__ TInt Exec::HandleClose(TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1082
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1083
	SLOW_EXEC1(EExecHandleClose);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1084
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1085
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1086
__EXECDECL__ TInt Exec::ChunkCreate(TOwnerType, const TDesC8*, TChunkCreate&)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1087
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1088
	SLOW_EXEC3(EExecChunkCreate);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1089
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1090
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1091
__EXECDECL__ TInt Exec::ChunkAdjust(TInt, TInt, TInt, TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1092
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1093
	SLOW_EXEC4(EExecChunkAdjust);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1094
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1095
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1096
__EXECDECL__ TInt Exec::OpenObject(TObjectType, const TDesC8&, TOwnerType)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1097
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1098
	SLOW_EXEC3(EExecOpenObject);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1099
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1100
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1101
__EXECDECL__ TInt Exec::HandleDuplicate(TInt, TOwnerType, TInt&)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1102
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1103
	SLOW_EXEC3(EExecHandleDuplicate);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1104
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1105
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1106
__EXECDECL__ TInt Exec::MutexCreate(const TDesC8*, TOwnerType)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1107
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1108
	SLOW_EXEC2(EExecMutexCreate);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1109
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1110
101
86a1781f0e9b Working on AO support.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 96
diff changeset
  1111
__EXECDECL__ TInt Exec::SemaphoreCreate(const TDesC8* aName, TInt aCount, TOwnerType aType)
92
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1112
	{
101
86a1781f0e9b Working on AO support.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 96
diff changeset
  1113
	//SLOW_EXEC3(EExecSemaphoreCreate);
86a1781f0e9b Working on AO support.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 96
diff changeset
  1114
#ifdef _WINDOWS
86a1781f0e9b Working on AO support.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 96
diff changeset
  1115
	HANDLE semaphore = CreateSemaphore( 
86a1781f0e9b Working on AO support.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 96
diff changeset
  1116
		NULL,								// default security attributes
86a1781f0e9b Working on AO support.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 96
diff changeset
  1117
		aCount,
86a1781f0e9b Working on AO support.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 96
diff changeset
  1118
		KMaxTInt,
86a1781f0e9b Working on AO support.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 96
diff changeset
  1119
		//TODO: use the name
86a1781f0e9b Working on AO support.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 96
diff changeset
  1120
		NULL);								// unnamed mutex
86a1781f0e9b Working on AO support.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 96
diff changeset
  1121
86a1781f0e9b Working on AO support.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 96
diff changeset
  1122
	if (semaphore)
86a1781f0e9b Working on AO support.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 96
diff changeset
  1123
		{
86a1781f0e9b Working on AO support.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 96
diff changeset
  1124
		//success
86a1781f0e9b Working on AO support.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 96
diff changeset
  1125
		return (TInt)semaphore;
86a1781f0e9b Working on AO support.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 96
diff changeset
  1126
		}
86a1781f0e9b Working on AO support.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 96
diff changeset
  1127
86a1781f0e9b Working on AO support.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 96
diff changeset
  1128
	//failure
86a1781f0e9b Working on AO support.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 96
diff changeset
  1129
	return NULL;
86a1781f0e9b Working on AO support.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 96
diff changeset
  1130
#else
86a1781f0e9b Working on AO support.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 96
diff changeset
  1131
	//TODO: pthread implementation
86a1781f0e9b Working on AO support.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 96
diff changeset
  1132
	Panic(ESymcExecPanicNotSupported);
86a1781f0e9b Working on AO support.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 96
diff changeset
  1133
#endif
92
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1134
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1135
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1136
__EXECDECL__ TInt Exec::ThreadOpenById(TUint, TOwnerType)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1137
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1138
	SLOW_EXEC2(EExecThreadOpenById);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1139
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1140
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1141
__EXECDECL__ TInt Exec::ProcessOpenById(TUint, TOwnerType)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1142
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1143
	SLOW_EXEC2(EExecProcessOpenById);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1144
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1145
94
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
  1146
__EXECDECL__ void Exec::ThreadKill(TInt aThreadHandle, TExitType aType, TInt aReason, const TDesC8* aCategory)
92
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1147
	{
94
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
  1148
	//SLOW_EXEC4(EExecThreadKill);
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
  1149
	if (aThreadHandle!=KCurrentThreadHandle)
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
  1150
		{
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
  1151
		//Not sure how to do that yet
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
  1152
		__BREAKPOINT();
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
  1153
		return;
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
  1154
		}
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
  1155
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
  1156
	if (aType==EExitPanic)
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
  1157
		{
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
  1158
		//Display message
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
  1159
#ifdef _WINDOWS
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
  1160
		TBuf8<256> buf;
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
  1161
		buf.Copy(*aCategory);	
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
  1162
		char errstr[256]; sprintf(errstr, "Category: %s\nReason: %d",buf.PtrZ(),aReason);
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
  1163
		MessageBoxA(NULL,errstr, "PANIC", MB_OK | MB_ICONERROR);	
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
  1164
#endif
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
  1165
		__BREAKPOINT();
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
  1166
		}
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
  1167
	
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
  1168
	exit(aType);
92
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1169
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1170
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1171
__EXECDECL__ void Exec::ThreadLogon(TInt, TRequestStatus*, TBool)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1172
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1173
	SLOW_EXEC3(EExecThreadLogon);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1174
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1175
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1176
__EXECDECL__ TInt Exec::ThreadLogonCancel(TInt, TRequestStatus*, TBool)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1177
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1178
	SLOW_EXEC3(EExecThreadLogonCancel);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1179
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1180
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1181
__EXECDECL__ TInt Exec::DllSetTls(TInt, TInt, TAny*)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1182
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1183
	SLOW_EXEC3(EExecDllSetTls);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1184
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1185
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1186
__EXECDECL__ void Exec::DllFreeTls(TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1187
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1188
	SLOW_EXEC1(EExecDllFreeTls);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1189
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1190
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1191
__EXECDECL__ TInt Exec::ThreadRename(TInt, const TDesC8&)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1192
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1193
	SLOW_EXEC2(EExecThreadRename);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1194
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1195
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1196
__EXECDECL__ TInt Exec::ProcessRename(TInt, const TDesC8&)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1197
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1198
	SLOW_EXEC2(EExecProcessRename);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1199
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1200
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1201
__EXECDECL__ void Exec::ProcessKill(TInt, TExitType, TInt, const TDesC8*)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1202
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1203
	SLOW_EXEC4(EExecProcessKill);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1204
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1205
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1206
__EXECDECL__ void Exec::ProcessLogon(TInt, TRequestStatus*, TBool)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1207
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1208
	SLOW_EXEC3(EExecProcessLogon);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1209
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1210
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1211
__EXECDECL__ TInt Exec::ProcessLogonCancel(TInt, TRequestStatus*, TBool)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1212
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1213
	SLOW_EXEC3(EExecProcessLogonCancel);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1214
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1215
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1216
__EXECDECL__ TInt Exec::ThreadProcess(TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1217
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1218
	SLOW_EXEC1(EExecThreadProcess);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1219
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1220
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1221
__EXECDECL__ TInt Exec::ServerCreate(const TDesC8*, TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1222
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1223
	SLOW_EXEC2(EExecServerCreate);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1224
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1225
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1226
__EXECDECL__ TInt Exec::ServerCreateWithOptions(const TDesC8*, TInt, TInt, TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1227
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1228
	SLOW_EXEC4(EExecServerCreateWithOptions);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1229
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1230
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1231
__EXECDECL__ TInt Exec::SessionCreate(const TDesC8&, TInt, const TSecurityPolicy*, TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1232
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1233
	SLOW_EXEC4(EExecSessionCreate);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1234
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1235
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1236
__EXECDECL__ TInt Exec::SessionCreateFromHandle(TInt, TInt, const TSecurityPolicy*, TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1237
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1238
	SLOW_EXEC4(EExecSessionCreateFromHandle);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1239
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1240
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1241
EXPORT_C __EXECDECL__ TInt E32Loader::DeviceLoad(TAny*, TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1242
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1243
	SLOW_EXEC2(EExecDeviceLoad);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1244
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1245
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1246
__EXECDECL__ TInt Exec::DeviceFree(const TDesC8&, TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1247
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1248
	SLOW_EXEC2(EExecDeviceFree);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1249
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1250
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1251
__EXECDECL__ TInt Exec::ChannelCreate(const TDesC8&, TChannelCreateInfo8&, TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1252
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1253
	SLOW_EXEC3(EExecChannelCreate);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1254
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1255
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1256
__EXECDECL__ TInt Exec::TimerCreate()
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1257
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1258
	SLOW_EXEC0(EExecTimerCreate);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1259
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1260
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1261
__EXECDECL__ void Exec::TimerHighRes(TInt, TRequestStatus&, TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1262
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1263
	SLOW_EXEC3(EExecTimerHighRes);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1264
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1265
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1266
__EXECDECL__ void Exec::AfterHighRes(TInt, TRequestStatus&)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1267
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1268
	SLOW_EXEC2(EExecAfterHighRes);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1269
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1270
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1271
__EXECDECL__ TInt Exec::ChangeNotifierCreate(TOwnerType)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1272
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1273
	SLOW_EXEC1(EExecChangeNotifierCreate);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1274
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1275
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1276
__EXECDECL__ TInt Exec::UndertakerCreate(TOwnerType)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1277
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1278
	SLOW_EXEC1(EExecUndertakerCreate);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1279
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1280
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1281
__EXECDECL__ TInt Exec::UndertakerLogon(TInt, TRequestStatus&, TInt&)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1282
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1283
	SLOW_EXEC3(EExecUndertakerLogon);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1284
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1285
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1286
__EXECDECL__ TInt Exec::UndertakerLogonCancel(TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1287
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1288
	SLOW_EXEC1(EExecUndertakerLogonCancel);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1289
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1290
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1291
__EXECDECL__ void Exec::KernelHeapDebug(TInt, TInt, TAny*)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1292
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1293
	SLOW_EXEC3(EExecKernelHeapDebug);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1294
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1295
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1296
__EXECDECL__ TInt Exec::ThreadGetCpuTime(TInt, EXEC_INT64&)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1297
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1298
	SLOW_EXEC2(EExecThreadGetCpuTime);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1299
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1300
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1301
EXPORT_C __EXECDECL__ TInt E32Loader::CodeSegCreate(TCodeSegCreateInfo&)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1302
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1303
	SLOW_EXEC1(EExecCodeSegCreate);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1304
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1305
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1306
EXPORT_C __EXECDECL__ TInt E32Loader::CodeSegLoaded(TCodeSegCreateInfo&)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1307
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1308
	SLOW_EXEC1(EExecCodeSegLoaded);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1309
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1310
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1311
EXPORT_C __EXECDECL__ TInt E32Loader::LibraryCreate(TLibraryCreateInfo&)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1312
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1313
	SLOW_EXEC1(EExecLibraryCreate);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1314
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1315
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1316
EXPORT_C __EXECDECL__ TInt E32Loader::CodeSegOpen(TAny*, TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1317
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1318
	SLOW_EXEC2(EExecCodeSegOpen);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1319
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1320
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1321
EXPORT_C __EXECDECL__ void E32Loader::CodeSegClose(TAny*)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1322
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1323
	SLOW_EXEC1(EExecCodeSegClose);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1324
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1325
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1326
EXPORT_C __EXECDECL__ void E32Loader::CodeSegNext(TAny*&, const TFindCodeSeg&)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1327
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1328
	SLOW_EXEC2(EExecCodeSegNext);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1329
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1330
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1331
EXPORT_C __EXECDECL__ void E32Loader::CodeSegInfo(TAny*, TCodeSegCreateInfo&)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1332
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1333
	SLOW_EXEC2(EExecCodeSegInfo);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1334
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1335
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1336
EXPORT_C __EXECDECL__ TInt E32Loader::CodeSegAddDependency(TAny*, TAny*)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1337
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1338
	SLOW_EXEC2(EExecCodeSegAddDependency);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1339
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1340
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1341
EXPORT_C __EXECDECL__ void E32Loader::CodeSegDeferDeletes()
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1342
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1343
	SLOW_EXEC0(EExecCodeSegDeferDeletes);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1344
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1345
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1346
EXPORT_C __EXECDECL__ void E32Loader::CodeSegEndDeferDeletes()
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1347
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1348
	SLOW_EXEC0(EExecCodeSegEndDeferDeletes);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1349
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1350
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1351
EXPORT_C __EXECDECL__ TInt E32Loader::ProcessCreate(TProcessCreateInfo&, const TDesC8*)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1352
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1353
	SLOW_EXEC2(EExecProcessCreate);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1354
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1355
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1356
EXPORT_C __EXECDECL__ TInt E32Loader::ProcessLoaded(TProcessCreateInfo&)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1357
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1358
	SLOW_EXEC1(EExecProcessLoaded);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1359
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1360
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1361
EXPORT_C __EXECDECL__ TInt E32Loader::CheckClientState(TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1362
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1363
	SLOW_EXEC1(EExecCheckLoaderClientState);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1364
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1365
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1366
EXPORT_C __EXECDECL__ TAny* E32Loader::ThreadProcessCodeSeg(TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1367
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1368
	SLOW_EXEC1(EExecThreadProcessCodeSeg);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1369
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1370
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1371
EXPORT_C __EXECDECL__ void E32Loader::ReadExportDir(TAny*, TLinAddr*)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1372
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1373
	SLOW_EXEC2(EExecCodeSegReadExportDir);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1374
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1375
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1376
__EXECDECL__ TInt E32Loader::WaitDllLock()
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1377
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1378
	SLOW_EXEC0(EExecWaitDllLock);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1379
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1380
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1381
__EXECDECL__ TInt E32Loader::ReleaseDllLock()
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1382
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1383
	SLOW_EXEC0(EExecReleaseDllLock);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1384
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1385
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1386
__EXECDECL__ TInt E32Loader::LibraryAttach(TInt, TInt&, TLinAddr*)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1387
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1388
	SLOW_EXEC3(EExecLibraryAttach);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1389
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1390
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1391
__EXECDECL__ TInt E32Loader::LibraryAttached(TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1392
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1393
	SLOW_EXEC1(EExecLibraryAttached);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1394
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1395
93
7c26c0978cbf Adding includes to project. Slow progress on the process init sequence.
Slion
parents: 92
diff changeset
  1396
__EXECDECL__ TInt E32Loader::StaticCallList(TInt& aEntryPointCount, TLinAddr* /*aUnused*/)
92
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1397
	{
94
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
  1398
	//SLOW_EXEC2(EExecStaticCallList);
93
7c26c0978cbf Adding includes to project. Slow progress on the process init sequence.
Slion
parents: 92
diff changeset
  1399
	//SL: We hijack this function for initializing our process see User::InitProcess
94
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
  1400
	aEntryPointCount=0; //Tell the caller we don't have any DLL entry point
93
7c26c0978cbf Adding includes to project. Slow progress on the process init sequence.
Slion
parents: 92
diff changeset
  1401
	
94
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
  1402
	gProcess.CreateHeap();
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
  1403
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
  1404
	return KErrNone;
92
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1405
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1406
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1407
__EXECDECL__ TInt E32Loader::LibraryDetach(TInt&, TLinAddr*)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1408
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1409
	SLOW_EXEC2(EExecLibraryDetach);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1410
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1411
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1412
__EXECDECL__ TInt E32Loader::LibraryDetached()
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1413
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1414
	SLOW_EXEC0(EExecLibraryDetached);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1415
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1416
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1417
__EXECDECL__ TInt Exec::LastThreadHandle()
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1418
	{
94
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
  1419
	//SLOW_EXEC0(EExecLastThreadHandle);
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
  1420
	//Not sure what to do with that returning 0 seams appropriate for now
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
  1421
	return 0;
92
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1422
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1423
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1424
__EXECDECL__ void Exec::ThreadRendezvous(TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1425
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1426
	SLOW_EXEC1(EExecThreadRendezvous);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1427
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1428
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1429
__EXECDECL__ void Exec::ProcessRendezvous(TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1430
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1431
	SLOW_EXEC1(EExecProcessRendezvous);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1432
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1433
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1434
__EXECDECL__ TInt Exec::MessageGetDesLength(TInt, TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1435
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1436
	SLOW_EXEC2(EExecMessageGetDesLength);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1437
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1438
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1439
__EXECDECL__ TInt Exec::MessageGetDesMaxLength(TInt, TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1440
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1441
	SLOW_EXEC2(EExecMessageGetDesMaxLength);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1442
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1443
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1444
__EXECDECL__ TInt Exec::MessageClient(TInt, TOwnerType)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1445
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1446
	SLOW_EXEC2(EExecMessageClient);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1447
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1448
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1449
__EXECDECL__ TInt Exec::MessageSetProcessPriority(TInt, TProcessPriority)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1450
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1451
	SLOW_EXEC2(EExecMessageSetProcessPriority);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1452
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1453
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1454
__EXECDECL__ void Exec::MessageConstructFromPtr(TInt, TAny*)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1455
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1456
	SLOW_EXEC2(EExecMessageConstructFromPtr);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1457
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1458
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1459
__EXECDECL__ void Exec::MessageKill(TInt, TExitType, TInt, const TDesC8*)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1460
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1461
	SLOW_EXEC4(EExecMessageKill);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1462
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1463
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1464
__EXECDECL__ TInt Exec::MessageOpenObject(TInt, TObjectType, TInt, TOwnerType)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1465
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1466
	SLOW_EXEC4(EExecMessageOpenObject);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1467
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1468
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1469
__EXECDECL__ void Exec::ProcessSecurityInfo(TInt, SSecurityInfo&)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1470
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1471
	SLOW_EXEC2(EExecProcessSecurityInfo);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1472
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1473
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1474
__EXECDECL__ void Exec::ThreadSecurityInfo(TInt, SSecurityInfo&)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1475
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1476
	SLOW_EXEC2(EExecThreadSecurityInfo);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1477
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1478
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1479
__EXECDECL__ void Exec::MessageSecurityInfo(TInt, SSecurityInfo&)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1480
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1481
	SLOW_EXEC2(EExecMessageSecurityInfo);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1482
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1483
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1484
__EXECDECL__ void Exec::CreatorSecurityInfo(SSecurityInfo&)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1485
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1486
	SLOW_EXEC1(EExecCreatorSecurityInfo);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1487
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1488
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1489
__EXECDECL__ void Exec::DisabledCapabilities(SCapabilitySet&)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1490
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1491
	SLOW_EXEC1(EExecDisabledCapabilities);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1492
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1493
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1494
__EXECDECL__ TInt Exec::ChunkSetRestrictions(TInt, TUint)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1495
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1496
	SLOW_EXEC2(EExecChunkSetRestrictions);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1497
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1498
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1499
__EXECDECL__ TInt Exec::MsgQueueCreate(const TDesC8*, TInt, TInt, TOwnerType)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1500
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1501
	SLOW_EXEC4(EExecMsgQueueCreate);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1502
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1503
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1504
__EXECDECL__ TInt Exec::MsgQueueSend(TInt, const TAny*, TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1505
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1506
	SLOW_EXEC3(EExecMsgQueueSend);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1507
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1508
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1509
__EXECDECL__ TInt Exec::MsgQueueReceive(TInt, TAny*, TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1510
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1511
	SLOW_EXEC3(EExecMsgQueueReceive);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1512
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1513
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1514
__EXECDECL__ void Exec::MsgQueueNotifySpaceAvailable(TInt, TRequestStatus&)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1515
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1516
	SLOW_EXEC2(EExecMsgQueueNotifySpaceAvailable);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1517
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1518
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1519
__EXECDECL__ void Exec::MsgQueueCancelSpaceAvailable(TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1520
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1521
	SLOW_EXEC1(EExecMsgQueueCancelSpaceAvailable);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1522
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1523
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1524
__EXECDECL__ void Exec::MsgQueueNotifyDataAvailable(TInt, TRequestStatus&)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1525
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1526
	SLOW_EXEC2(EExecMsgQueueNotifyDataAvailable);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1527
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1528
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1529
__EXECDECL__ void Exec::MsgQueueCancelDataAvailable(TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1530
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1531
	SLOW_EXEC1(EExecMsgQueueCancelDataAvailable);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1532
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1533
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1534
__EXECDECL__ TInt Exec::MsgQueueSize(TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1535
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1536
	SLOW_EXEC1(EExecMsgQueueSize);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1537
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1538
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1539
__EXECDECL__ TInt Exec::PropertyDefine(TUint, TUint, TPropertyInfo*)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1540
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1541
	SLOW_EXEC3(EExecPropertyDefine);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1542
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1543
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1544
__EXECDECL__ TInt Exec::PropertyDelete(TUint, TUint)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1545
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1546
	SLOW_EXEC2(EExecPropertyDelete);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1547
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1548
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1549
__EXECDECL__ TInt Exec::PropertyAttach(TUint, TUint, TOwnerType)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1550
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1551
	SLOW_EXEC3(EExecPropertyAttach);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1552
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1553
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1554
__EXECDECL__ void Exec::PropertySubscribe(TInt, TRequestStatus*)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1555
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1556
	SLOW_EXEC2(EExecPropertySubscribe);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1557
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1558
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1559
__EXECDECL__ void Exec::PropertyCancel(TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1560
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1561
	SLOW_EXEC1(EExecPropertyCancel);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1562
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1563
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1564
__EXECDECL__ TInt Exec::PropertyGetI(TInt, TInt*)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1565
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1566
	SLOW_EXEC2(EExecPropertyGetI);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1567
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1568
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1569
__EXECDECL__ TInt Exec::PropertyGetB(TInt, TUint8*, TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1570
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1571
	SLOW_EXEC3(EExecPropertyGetB);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1572
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1573
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1574
__EXECDECL__ TInt Exec::PropertySetI(TInt, TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1575
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1576
	SLOW_EXEC2(EExecPropertySetI);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1577
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1578
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1579
__EXECDECL__ TInt Exec::PropertySetB(TInt, const TUint8*, TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1580
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1581
	SLOW_EXEC3(EExecPropertySetB);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1582
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1583
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1584
__EXECDECL__ TInt Exec::PropertyFindGetI(TUint, TUint, TInt*)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1585
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1586
	SLOW_EXEC3(EExecPropertyFindGetI);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1587
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1588
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1589
__EXECDECL__ TInt Exec::PropertyFindGetB(TUint, TUint, TUint8*, TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1590
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1591
	SLOW_EXEC4(EExecPropertyFindGetB);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1592
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1593
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1594
__EXECDECL__ TInt Exec::PropertyFindSetI(TUint, TUint, TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1595
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1596
	SLOW_EXEC3(EExecPropertyFindSetI);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1597
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1598
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1599
__EXECDECL__ TInt Exec::PropertyFindSetB(TUint, TUint, TUint8*, TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1600
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1601
	SLOW_EXEC4(EExecPropertyFindSetB);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1602
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1603
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1604
__EXECDECL__ TInt Exec::PowerEnableWakeupEvents(TPowerState)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1605
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1606
	SLOW_EXEC1(EExecPowerEnableWakeupEvents);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1607
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1608
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1609
__EXECDECL__ void Exec::PowerDisableWakeupEvents()
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1610
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1611
	SLOW_EXEC0(EExecPowerDisableWakeupEvents);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1612
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1613
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1614
__EXECDECL__ void Exec::PowerRequestWakeupEventNotification(TRequestStatus*)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1615
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1616
	SLOW_EXEC1(EExecPowerRequestWakeupEventNotification);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1617
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1618
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1619
__EXECDECL__ void Exec::PowerCancelWakeupEventNotification()
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1620
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1621
	SLOW_EXEC0(EExecPowerCancelWakeupEventNotification);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1622
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1623
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1624
__EXECDECL__ TInt Exec::PowerDown()
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1625
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1626
	SLOW_EXEC0(EExecPowerDown);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1627
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1628
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1629
__EXECDECL__ TInt Exec::ProcessSetHandleParameter(TInt, TInt, TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1630
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1631
	SLOW_EXEC3(EExecProcessSetHandleParameter);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1632
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1633
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1634
__EXECDECL__ TInt Exec::ProcessSetDataParameter(TInt, TInt, const TUint8*, TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1635
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1636
	SLOW_EXEC4(EExecProcessSetDataParameter);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1637
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1638
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1639
__EXECDECL__ TInt Exec::ProcessGetHandleParameter(TInt, TObjectType, TOwnerType)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1640
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1641
	SLOW_EXEC3(EExecProcessGetHandleParameter);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1642
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1643
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1644
__EXECDECL__ TInt Exec::ProcessGetDataParameter(TInt, TUint8*, TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1645
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1646
	SLOW_EXEC3(EExecProcessGetDataParameter);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1647
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1648
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1649
__EXECDECL__ TInt Exec::ProcessDataParameterLength(TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1650
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1651
	SLOW_EXEC1(EExecProcessDataParameterLength);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1652
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1653
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1654
__EXECDECL__ TUint Exec::MessageClientProcessFlags(TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1655
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1656
	SLOW_EXEC1(EExecMessageClientProcessFlags);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1657
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1658
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1659
__EXECDECL__ TInt Exec::ThreadStackInfo(TInt, TThreadStackInfo&)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1660
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1661
	SLOW_EXEC2(EExecThreadStackInfo);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1662
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1663
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1664
__EXECDECL__ RAllocator* Exec::ThreadGetHeap(TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1665
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1666
	SLOW_EXEC1(EExecThreadGetHeap);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1667
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1668
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1669
__EXECDECL__ TInt Exec::ThreadAsProcess(TInt, TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1670
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1671
	SLOW_EXEC2(EExecThreadAsProcess);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1672
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1673
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1674
__EXECDECL__ TInt Exec::CondVarCreate(const TDesC8*, TOwnerType)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1675
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1676
	SLOW_EXEC2(EExecCondVarCreate);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1677
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1678
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1679
__EXECDECL__ TInt Exec::CondVarWait(TInt, TInt, TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1680
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1681
	SLOW_EXEC3(EExecCondVarWait);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1682
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1683
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1684
__EXECDECL__ void Exec::CondVarSignal(TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1685
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1686
	SLOW_EXEC1(EExecCondVarSignal);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1687
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1688
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1689
__EXECDECL__ void Exec::CondVarBroadcast(TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1690
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1691
	SLOW_EXEC1(EExecCondVarBroadcast);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1692
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1693
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1694
__EXECDECL__ TInt Exec::PlatSecDiagnostic(TPlatSecDiagnostic*)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1695
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1696
	SLOW_EXEC1(EExecPlatSecDiagnostic);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1697
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1698
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1699
__EXECDECL__ TLinAddr Exec::ExceptionDescriptor(TLinAddr)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1700
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1701
	SLOW_EXEC1(EExecExceptionDescriptor);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1702
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1703
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1704
__EXECDECL__ void Exec::ThreadRequestSignal(TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1705
	{
101
86a1781f0e9b Working on AO support.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 96
diff changeset
  1706
	//SLOW_EXEC1(EExecThreadRequestSignal);
86a1781f0e9b Working on AO support.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 96
diff changeset
  1707
	//TODO: look our thread per handle
86a1781f0e9b Working on AO support.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 96
diff changeset
  1708
	gProcess.iThread.iRequestSemaphore.Signal();
92
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1709
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1710
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1711
__EXECDECL__ TBool Exec::MutexIsHeld(TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1712
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1713
	SLOW_EXEC1(EExecMutexIsHeld);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1714
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1715
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1716
__EXECDECL__ TTrapHandler* Exec::LeaveStart()
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1717
	{
95
f561f9ae805b Trying to get trap/leave to work properly but the whole WINS stuff seems over complicated with a lot of assembly in the middle and it's not working on my compiler. When the throw happens the debugger complains about uncaught exception when I'm definitly inside a catch implemented by our TRAP.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 94
diff changeset
  1718
	//SLOW_EXEC0(EExecLeaveStart);
f561f9ae805b Trying to get trap/leave to work properly but the whole WINS stuff seems over complicated with a lot of assembly in the middle and it's not working on my compiler. When the throw happens the debugger complains about uncaught exception when I'm definitly inside a catch implemented by our TRAP.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 94
diff changeset
  1719
	return gProcess.iThread.iHandler;
92
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1720
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1721
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1722
__EXECDECL__ void Exec::LeaveEnd()
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1723
	{
95
f561f9ae805b Trying to get trap/leave to work properly but the whole WINS stuff seems over complicated with a lot of assembly in the middle and it's not working on my compiler. When the throw happens the debugger complains about uncaught exception when I'm definitly inside a catch implemented by our TRAP.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 94
diff changeset
  1724
	//SLOW_EXEC0(EExecLeaveEnd);	
92
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1725
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1726
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1727
__EXECDECL__ void Exec::SetDebugMaskIndex(TUint32, TUint)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1728
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1729
	SLOW_EXEC2(EExecSetDebugMaskIndex);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1730
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1731
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1732
__EXECDECL__ TInt Exec::GetModuleNameFromAddress(TAny*, TDes8&)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1733
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1734
	SLOW_EXEC2(EExecGetModuleNameFromAddress);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1735
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1736
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1737
__EXECDECL__ void Exec::NotifyChanges(TUint)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1738
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1739
	SLOW_EXEC1(EExecNotifyChanges);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1740
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1741
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1742
__EXECDECL__ TInt Exec::SetGlobalUserData(TInt, TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1743
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1744
	SLOW_EXEC2(EExecSetGlobalUserData);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1745
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1746
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1747
__EXECDECL__ TInt Exec::SessionSecurityInfo(TInt, SSecurityInfo&)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1748
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1749
	SLOW_EXEC2(EExecSessionSecurityInfo);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1750
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1751
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1752
__EXECDECL__ const TRequestStatus* Exec::MessageClientStatus(TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1753
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1754
	SLOW_EXEC1(EExecMessageClientStatus);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1755
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1756
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1757
__EXECDECL__ TInt Exec::SetFloatingPointMode(TFloatingPointMode, TFloatingPointRoundingMode)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1758
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1759
	SLOW_EXEC2(EExecSetFloatingPointMode);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1760
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1761
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1762
EXPORT_C __EXECDECL__ TBool BTrace::CheckFilter2(TUint32, TUint32)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1763
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1764
	SLOW_EXEC2(EExecCheckFilter2);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1765
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1766
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1767
__EXECDECL__ TAny* Exec::ProcessExeExportData()
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1768
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1769
	SLOW_EXEC0(EExecProcessExeExportData);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1770
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1771
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1772
EXPORT_C __EXECDECL__ TInt E32Loader::NotifyIfCodeSegDestroyed(TRequestStatus&)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1773
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1774
	SLOW_EXEC1(EExecNotifyIfCodeSegDestroyed);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1775
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1776
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1777
EXPORT_C __EXECDECL__ TInt E32Loader::GetDestroyedCodeSegInfo(TCodeSegLoaderCookie&)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1778
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1779
	SLOW_EXEC1(EExecGetDestroyedCodeSegInfo);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1780
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1781
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1782
EXPORT_C __EXECDECL__ TInt Exec::SetWin32RuntimeHook(TAny*)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1783
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1784
	SLOW_EXEC1(EExecSetWin32RuntimeHook);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1785
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1786
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1787
__EXECDECL__ TInt Exec::GetBTraceId(TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1788
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1789
	SLOW_EXEC1(EExecGetBTraceId);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1790
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1791
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1792
__EXECDECL__ void Exec::NotifyOnIdle(TRequestStatus*)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1793
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1794
	SLOW_EXEC1(EExecNotifyOnIdle);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1795
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1796
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1797
__EXECDECL__ void Exec::CancelMiscNotifier(TRequestStatus*)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1798
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1799
	SLOW_EXEC1(EExecCancelMiscNotifier);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1800
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1801
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1802
__EXECDECL__ void Exec::NotifyObjectDestruction(TInt, TRequestStatus*)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1803
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1804
	SLOW_EXEC2(EExecNotifyObjectDestruction);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1805
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1806
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1807
__EXECDECL__ void Exec::RegisterTrustedChunk(TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1808
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1809
	SLOW_EXEC1(EExecRegisterTrustedChunk);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1810
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1811
94
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
  1812
/*
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
  1813
Notify the kernel a thread is exiting.
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
  1814
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
  1815
@param Exit reason
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
  1816
@return ETrue if this is the last thread in the process, EFalse otherwise.
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
  1817
*/
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
  1818
__EXECDECL__ TBool Exec::UserThreadExiting(TInt aReason)
92
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1819
	{
94
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
  1820
	//SLOW_EXEC1(EExecUserThreadExiting);
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
  1821
	gProcess.Free();
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
  1822
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
  1823
	return ETrue; //No thread support ATM so we are always the last thread
92
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1824
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1825
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1826
__EXECDECL__ TBool Exec::ChunkIsPaged(TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1827
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1828
	SLOW_EXEC1(EExecChunkIsPaged);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1829
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1830
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1831
__EXECDECL__ TBool Exec::ProcessDefaultDataPaged(TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1832
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1833
	SLOW_EXEC1(EExecProcessDefaultDataPaged);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1834
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1835
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1836
__EXECDECL__ TUint Exec::MessageClientThreadFlags(TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1837
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1838
	SLOW_EXEC1(EExecMessageClientThreadFlags);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1839
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1840
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1841
__EXECDECL__ TInt Exec::ShPoolCreate(const TShPoolInfo&, TUint)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1842
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1843
	SLOW_EXEC2(EExecShPoolCreate);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1844
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1845
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1846
__EXECDECL__ TInt Exec::ShPoolAlloc(TInt, TUint, SShBufBaseAndSize&)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1847
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1848
	SLOW_EXEC3(EExecShPoolAlloc);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1849
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1850
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1851
__EXECDECL__ void Exec::ShPoolGetInfo(TInt, TShPoolInfo&)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1852
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1853
	SLOW_EXEC2(EExecShPoolGetInfo);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1854
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1855
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1856
__EXECDECL__ TUint Exec::ShPoolFreeCount(TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1857
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1858
	SLOW_EXEC1(EExecShPoolFreeCount);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1859
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1860
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1861
__EXECDECL__ TInt Exec::ShPoolNotification(TInt, TShPoolNotifyType, TUint, TRequestStatus&)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1862
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1863
	SLOW_EXEC4(EExecShPoolNotification);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1864
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1865
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1866
__EXECDECL__ TInt Exec::ShPoolNotificationCancel(TInt, TShPoolNotifyType, TRequestStatus&)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1867
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1868
	SLOW_EXEC3(EExecShPoolNotificationCancel);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1869
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1870
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1871
__EXECDECL__ TInt Exec::ShPoolBufferWindow(TInt, TInt, TBool)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1872
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1873
	SLOW_EXEC3(EExecShPoolBufferWindow);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1874
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1875
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1876
__EXECDECL__ TInt Exec::ShBufMap(TInt, TBool, SShBufBaseAndSize&)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1877
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1878
	SLOW_EXEC3(EExecShBufMap);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1879
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1880
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1881
__EXECDECL__ TInt Exec::ShBufUnMap(TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1882
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1883
	SLOW_EXEC1(EExecShBufUnMap);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1884
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1885
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1886
__EXECDECL__ TInt Exec::ShBufBaseAndSize(TInt, SShBufBaseAndSize&)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1887
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1888
	SLOW_EXEC2(EExecShBufBaseAndSize);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1889
	}
94
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
  1890
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
  1891
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
  1892
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
  1893
#endif
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
  1894
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
  1895