kernel/eka/euser/epoc/symc/uc_exec.cpp
author Slion
Wed, 28 Apr 2010 00:44:14 +0200
branchanywhere
changeset 96 428c5911a502
parent 95 f561f9ae805b
child 101 86a1781f0e9b
permissions -rw-r--r--
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.
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
	{
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
    34
	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
    35
	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
    36
	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
    37
	};
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for 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
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
    40
	{
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for 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
	_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
    42
	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
    43
	}
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for 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
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
    47
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
    48
//
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
    49
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
    50
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
    51
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
    52
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
    53
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
    54
#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
    55
#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
    56
#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
    57
#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
    58
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
    59
#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
    60
#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
    61
#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
    62
#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
    63
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
    64
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
    65
	{
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
    66
	//SL:
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
    67
	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
    68
	//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
    69
	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
    70
		{
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
    71
		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
    72
		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
    73
			{
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
    74
			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
    75
			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
    76
			}
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
    77
		}
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
    78
	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
    79
	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
    80
	}
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
    81
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
    82
#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
    83
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
    84
/******************************************************************************
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
    85
 * 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
    86
 ******************************************************************************/
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
    87
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
    88
__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
    89
//
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
    90
// 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
    91
//
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
    92
	{
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
    93
	__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
    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
    95
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
    96
__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
    97
//
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
    98
// 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
    99
//
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   100
	{
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   101
	__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
   102
	}
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   103
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   104
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for 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
__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
   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
// 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
   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
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for 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
	__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
   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
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for 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
__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
   115
	{
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for 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
	__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
   117
	}
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for 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
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for 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
__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
   120
	{
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for 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
	__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
   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
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for 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
__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
   125
	{
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   126
	__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
   127
	}
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for 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
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for 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
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
   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
	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
   132
	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
   133
	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
   134
	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
   135
	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
   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
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
   139
	{
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for 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
	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
   141
	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
   142
	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
   143
	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
   144
	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
   145
	}
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for 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
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
   148
	{
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for 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
	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
   150
	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
   151
	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
   152
	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
   153
	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
   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
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
   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
	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
   159
	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
   160
	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
   161
	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
   162
	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
   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
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
   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
	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
   168
	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
   169
	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
   170
	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
   171
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for 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
	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
   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
		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
   175
			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
   176
		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
   177
		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
   178
		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
   179
		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
   180
		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
   181
		}
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for 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
	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
   184
		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
   185
	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
   186
		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
   187
	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
   188
	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
   189
	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
   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
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for 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
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
   193
	{
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for 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
	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
   195
	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
   196
	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
   197
	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
   198
	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
   199
	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
   200
	}
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for 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
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for 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
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
   203
	{
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for 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
	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
   205
	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
   206
	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
   207
	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
   208
	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
   209
	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
   210
	}
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for 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
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for 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
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
   213
	{
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for 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
	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
   215
	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
   216
	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
   217
	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
   218
	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
   219
	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
   220
	}
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for 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
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for 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
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
   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
	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
   225
	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
   226
	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
   227
	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
   228
	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
   229
	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
   230
	}
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for 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
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
   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
	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
   235
	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
   236
	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
   237
	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
   238
	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
   239
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for 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
	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
   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
		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
   243
			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
   244
		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
   245
		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
   246
		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
   247
		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
   248
		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
   249
		}
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for 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
	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
   252
		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
   253
	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
   254
		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
   255
	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
   256
	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
   257
	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
   258
	}
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for 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
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for 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
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
   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
 	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
   263
	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
   264
	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
   265
	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
   266
	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
   267
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for 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
	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
   269
		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
   270
	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
   271
	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
   272
	}
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for 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
__NAKED__ void ExecRequestComplete(TInt /*aHandle*/, TRequestStatus*& /*aStatus*/, 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
   275
	{
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for 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
	_asm mov ecx, [esp+8]			// ecx = TRequestStatus**
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for 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
	_asm xor eax, eax				//
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for 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
	_asm lock xchg eax, [ecx]		// eax=TRequestStatus*, zero TRequestStatus*
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for 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
	_asm cmp eax, 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
   280
	_asm je ExecRequestComplete_ret
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for 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
	_asm mov ecx, [esp+12]			// ecx = 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
   282
	_asm mov [eax], ecx				// store aReason in request status
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for 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
	__DISPATCH(EExecThreadRequestSignal|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
   284
	_asm ExecRequestComplete_ret: ret
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for 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
	}
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for 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
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for 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
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for 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
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for 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
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for 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
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
   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
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
   293
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
   294
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for 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
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
   296
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
   297
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for 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
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
   299
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
   300
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for 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
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
   302
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
   303
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
   304
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for 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
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
   306
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
   307
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for 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
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
   309
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
   310
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
   311
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for 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
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
   313
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
   314
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for 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
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
   316
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
   317
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for 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
@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
   319
               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
   320
               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
   321
               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
   322
               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
   323
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for 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
@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
   325
*/
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for 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
	{
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for 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
	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
   328
	}
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for 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
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for 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
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for 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
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for 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
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
   334
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for 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
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
   336
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
   337
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   338
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
   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
@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
   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
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
   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
	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
   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
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for 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
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for 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
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
   350
	{
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for 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
	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
   352
	}
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for 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
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for 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
//
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for 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
#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
   357
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
   358
const TInt KTrapStackSize=256;
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
   359
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
   360
/*
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
   361
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
   362
*/
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
   363
class TThread
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
   364
	{
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
   365
public:
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
   366
	
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
   367
public:
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
   368
	RSemaphore iRequestSemaphore;
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
   369
	CActiveScheduler* iActiveScheduler; //Current active scheduler for this thread. Used.
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
   370
	TTrapHandler* iHandler; //This is our cleanup stack. Used.
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
   371
	//No idea why we need that trap stack
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
   372
	//TTrap* iTrapStack[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
   373
	//TInt iTrapCount;
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
   374
	};
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
   375
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
   376
/*
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for 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
Object used to store process globals for our pseudo kernel.
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
   378
That's typically going to be a singleton.
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
   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
class TProcess
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for 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
	{
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for 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
public:
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for 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
	void 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
   384
	void 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
   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
public:
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for 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
	RHeap* iAllocator;
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for 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
	TAny* iBase;
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
   389
	TThread iThread; //Single thread for now
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
   390
	};
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for 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
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
   392
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
   393
void TProcess::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
   394
	{
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
   395
	//iThread.iTrapCount=0;
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
   396
	//Define the size of our heap
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
   397
	const TInt KHeapMaxSize=1024*1024*10; // 10 Mo for now
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
   398
	__ASSERT_ALWAYS(iAllocator==NULL && iBase==NULL,Panic(ESymcExecPanicHeapAlreadyExists));	
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
   399
	iBase=malloc(KHeapMaxSize);
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
   400
	__ASSERT_ALWAYS(iBase!=NULL,Panic(ESymcExecPanicCreateHeapFailed));	
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
   401
	//TODO: is there anyway we could use variable size heap?
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
   402
	iAllocator=UserHeap::FixedHeap(iBase,KHeapMaxSize);
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
   403
	__ASSERT_ALWAYS(iAllocator!=NULL,Panic(ESymcExecPanicCreateHeapFailed));	
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for 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
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for 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
void TProcess::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
   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
	free(iBase);
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for 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
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for 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
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   412
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for 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
TProcess gProcess;
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   414
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   415
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   416
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   417
//RHeap gAllocator;
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   418
92
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   419
__EXECDECL__ void Exec::WaitForAnyRequest()
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   420
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   421
	FAST_EXEC0(EFastExecWaitForAnyRequest);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   422
	}
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
__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
   425
	{	
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   426
	//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
   427
	return gProcess.iAllocator;
92
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   430
__EXECDECL__ RAllocator* Exec::HeapSwitch(RAllocator*)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   431
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   432
	FAST_EXEC1(EFastExecHeapSwitch);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   433
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   434
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
   435
__EXECDECL__ TTrapHandler* Exec::PushTrapFrame(TTrap* aTrap)
92
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   436
	{
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
   437
	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
   438
	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
   439
	//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
   440
	//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
   441
	//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
   442
	//return gProcess.iThread.iHandler;
92
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   443
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   444
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   445
__EXECDECL__ TTrap* Exec::PopTrapFrame()
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   446
	{
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
   447
	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
   448
	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
   449
	//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
   450
	//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
   451
	//return gProcess.iThread.iTrapStack[gProcess.iThread.iTrapCount--];
92
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   452
	}
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
__EXECDECL__ CActiveScheduler* Exec::ActiveScheduler()
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   455
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   456
	FAST_EXEC0(EFastExecActiveScheduler);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   457
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   458
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   459
__EXECDECL__ void Exec::SetActiveScheduler(CActiveScheduler*)
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
	FAST_EXEC1(EFastExecSetActiveScheduler);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   464
__EXECDECL__ TTimerLockSpec Exec::LockPeriod()
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
	FAST_EXEC0(EFastExecLockPeriod);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   467
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   468
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   469
__EXECDECL__ TTrapHandler* Exec::TrapHandler()
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   470
	{
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
   471
	//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
   472
	return gProcess.iThread.iHandler;
92
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   473
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   474
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
   475
__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
   476
	{	
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
	//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
   478
	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
   479
	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
   480
	return prev;
92
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   483
__EXECDECL__ TUint32 Exec::DebugMask()
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
	FAST_EXEC0(EFastExecDebugMask);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   488
__EXECDECL__ TUint32 Exec::DebugMaskIndex(TUint)
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
	FAST_EXEC1(EFastExecDebugMaskIndex);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   493
__EXECDECL__ void Exec::SetDebugMask(TUint32)
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
	FAST_EXEC1(EFastExecSetDebugMask);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   498
__EXECDECL__ TUint32 Exec::FastCounter()
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
	FAST_EXEC0(EFastExecFastCounter);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   503
__EXECDECL__ TUint32 Exec::NTickCount()
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
	FAST_EXEC0(EFastExecNTickCount);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   508
EXPORT_C __EXECDECL__ void UserSvr::LockRamDrive()
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
	FAST_EXEC0(EFastExecLockRamDrive);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   513
EXPORT_C __EXECDECL__ void UserSvr::UnlockRamDrive()
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
	FAST_EXEC0(EFastExecUnlockRamDrive);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   518
EXPORT_C __EXECDECL__ TLinAddr UserSvr::RomHeaderAddress()
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
	FAST_EXEC0(EFastExecRomHeaderAddress);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   523
EXPORT_C __EXECDECL__ TLinAddr UserSvr::RomRootDirectoryAddress()
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
	FAST_EXEC0(EFastExecRomRootDirectoryAddress);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   528
__EXECDECL__ void Exec::SetReentryPoint(TLinAddr)
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
	FAST_EXEC1(EFastExecSetReentryPoint);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   533
__EXECDECL__ TUint32 Exec::KernelConfigFlags()
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
	FAST_EXEC0(EFastExecKernelConfigFlags);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   538
__EXECDECL__ TInt Exec::UTCOffset()
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
	FAST_EXEC0(EFastExecUTCOffset);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   543
__EXECDECL__ TInt Exec::GetGlobalUserData(TInt)
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
	FAST_EXEC1(EFastExecGetGlobalUserData);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   548
EXPORT_C __EXECDECL__ TBool BTrace::CheckFilter(TUint32)
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
	FAST_EXEC1(EFastExecCheckFilter);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   553
__EXECDECL__ TInt Exec::ObjectNext(TObjectType, TBuf8<KMaxFullName>&, TFindHandle&)
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
	SLOW_EXEC3(EExecObjectNext);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   558
__EXECDECL__ TUint8* Exec::ChunkBase(TInt)
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
	SLOW_EXEC1(EExecChunkBase);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   563
__EXECDECL__ TInt Exec::ChunkSize(TInt)
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
	SLOW_EXEC1(EExecChunkSize);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   568
__EXECDECL__ TInt Exec::ChunkMaxSize(TInt)
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
	SLOW_EXEC1(EExecChunkMaxSize);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   573
__EXECDECL__ TUint Exec::HandleAttributes(TInt)
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
	SLOW_EXEC1(EExecHandleAttributes);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   578
__EXECDECL__ TUint Exec::TickCount()
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
	SLOW_EXEC0(EExecTickCount);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   583
__EXECDECL__ void Exec::LogicalDeviceGetCaps(TInt, TDes8&)
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
	SLOW_EXEC2(EExecLogicalDeviceGetCaps);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   588
__EXECDECL__ TBool Exec::LogicalDeviceQueryVersionSupported(TInt, const TVersion&)
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
	SLOW_EXEC2(EExecLogicalDeviceQueryVersionSupported);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   593
__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
   594
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   595
	SLOW_EXEC4(EExecLogicalDeviceIsAvailable);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   598
EXPORT_C __EXECDECL__ TInt E32Loader::LocaleExports(TAny*, TLibraryFunction*)
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
	SLOW_EXEC2(EExecLocaleExports);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   603
__EXECDECL__ TInt Exec::ChannelRequest(TInt, TInt, TAny*, TAny*)
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
	SLOW_EXEC4(EExecChannelRequest);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   608
__EXECDECL__ TUint32 Exec::MathRandom()
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
	SLOW_EXEC0(EExecMathRandom);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   613
__EXECDECL__ void Exec::IMB_Range(TAny*, TUint)
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
	SLOW_EXEC2(EExecIMBRange);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   618
__EXECDECL__ TInt Exec::ResetMachine(TMachineStartupType)
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
	SLOW_EXEC1(EExecResetMachine);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   623
__EXECDECL__ TLibraryFunction Exec::LibraryLookup(TInt, TInt)
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
	SLOW_EXEC2(EExecLibraryLookup);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   628
__EXECDECL__ void Exec::LibraryFileName(TInt, TDes8&)
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
	SLOW_EXEC2(EExecLibraryFileName);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   633
EXPORT_C __EXECDECL__ TInt UserSvr::ExecuteInSupervisorMode(TSupervisorFunction, TAny*)
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
	SLOW_EXEC2(EExecExecuteInSupervisorMode);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   638
__EXECDECL__ void Exec::MutexWait(TInt)
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
	SLOW_EXEC1(EExecMutexWait);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   643
__EXECDECL__ void Exec::MutexSignal(TInt)
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
	SLOW_EXEC1(EExecMutexSignal);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   648
__EXECDECL__ TInt Exec::ProcessId(TInt)
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
	SLOW_EXEC1(EExecProcessId);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   653
__EXECDECL__ void Exec::DllFileName(TInt, TDes8&)
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
	SLOW_EXEC2(EExecDllFileName);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   658
__EXECDECL__ void Exec::ProcessResume(TInt)
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
	SLOW_EXEC1(EExecProcessResume);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   663
__EXECDECL__ void Exec::ProcessFileName(TInt, TDes8&)
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
	SLOW_EXEC2(EExecProcessFileName);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   668
__EXECDECL__ void Exec::ProcessCommandLine(TInt, TDes8&)
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
	SLOW_EXEC2(EExecProcessCommandLine);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   673
__EXECDECL__ TExitType Exec::ProcessExitType(TInt)
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
	SLOW_EXEC1(EExecProcessExitType);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   678
__EXECDECL__ TInt Exec::ProcessExitReason(TInt)
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
	SLOW_EXEC1(EExecProcessExitReason);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   683
__EXECDECL__ void Exec::ProcessExitCategory(TInt, TDes8&)
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
	SLOW_EXEC2(EExecProcessExitCategory);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   688
__EXECDECL__ TProcessPriority Exec::ProcessPriority(TInt)
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
	SLOW_EXEC1(EExecProcessPriority);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   693
__EXECDECL__ TInt Exec::ProcessSetPriority(TInt, TProcessPriority)
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
	SLOW_EXEC2(EExecProcessSetPriority);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   698
__EXECDECL__ TUint Exec::ProcessFlags(TInt)
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
	SLOW_EXEC1(EExecProcessFlags);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   703
__EXECDECL__ void Exec::ProcessSetFlags(TInt, TUint, TUint)
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
	SLOW_EXEC3(EExecProcessSetFlags);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   708
__EXECDECL__ TInt Exec::SemaphoreWait(TInt, TInt)
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
	SLOW_EXEC2(EExecSemaphoreWait);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   713
__EXECDECL__ void Exec::SemaphoreSignal1(TInt)
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
	SLOW_EXEC1(EExecSemaphoreSignal1);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   718
__EXECDECL__ void Exec::SemaphoreSignalN(TInt, TInt)
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
	SLOW_EXEC2(EExecSemaphoreSignalN);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   723
__EXECDECL__ void Exec::ServerReceive(TInt, TRequestStatus&, TAny*)
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
	SLOW_EXEC3(EExecServerReceive);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   728
__EXECDECL__ void Exec::ServerCancel(TInt)
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
	SLOW_EXEC1(EExecServerCancel);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   733
__EXECDECL__ void Exec::SetSessionPtr(TInt, const TAny*)
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
	SLOW_EXEC2(EExecSetSessionPtr);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   738
__EXECDECL__ TInt Exec::ThreadId(TInt)
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
	SLOW_EXEC1(EExecThreadId);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   743
__EXECDECL__ TInt Exec::SessionShare(TInt&, TInt)
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
	SLOW_EXEC2(EExecSessionShare);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   748
__EXECDECL__ void Exec::ThreadResume(TInt)
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
	SLOW_EXEC1(EExecThreadResume);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   753
__EXECDECL__ void Exec::ThreadSuspend(TInt)
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
	SLOW_EXEC1(EExecThreadSuspend);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   758
__EXECDECL__ TThreadPriority Exec::ThreadPriority(TInt)
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
	SLOW_EXEC1(EExecThreadPriority);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   763
__EXECDECL__ void Exec::ThreadSetPriority(TInt, TThreadPriority)
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
	SLOW_EXEC2(EExecThreadSetPriority);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   768
__EXECDECL__ TProcessPriority Exec::ThreadProcessPriority(TInt)
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
	SLOW_EXEC1(EExecThreadProcessPriority);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   773
__EXECDECL__ void Exec::ThreadSetProcessPriority(TInt, TProcessPriority)
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
	SLOW_EXEC2(EExecThreadSetProcessPriority);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   778
__EXECDECL__ TUint Exec::ThreadFlags(TInt)
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
	SLOW_EXEC1(EExecThreadFlags);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   783
__EXECDECL__ void Exec::ThreadSetFlags(TInt, TUint, TUint)
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
	SLOW_EXEC3(EExecThreadSetFlags);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   788
__EXECDECL__ TInt Exec::ThreadRequestCount(TInt)
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
	SLOW_EXEC1(EExecThreadRequestCount);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   793
__EXECDECL__ TExitType Exec::ThreadExitType(TInt)
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
	SLOW_EXEC1(EExecThreadExitType);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   798
__EXECDECL__ TInt Exec::ThreadExitReason(TInt)
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
	SLOW_EXEC1(EExecThreadExitReason);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   803
__EXECDECL__ void Exec::ThreadExitCategory(TInt, TDes8&)
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
	SLOW_EXEC2(EExecThreadExitCategory);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   808
__EXECDECL__ void Exec::TimerCancel(TInt)
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
	SLOW_EXEC1(EExecTimerCancel);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   813
__EXECDECL__ void Exec::TimerAfter(TInt, TRequestStatus&, TInt)
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
	SLOW_EXEC3(EExecTimerAfter);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   818
__EXECDECL__ void Exec::TimerAt(TInt, TRequestStatus&, TUint32, TUint32)
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
	SLOW_EXEC4(EExecTimerAt);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   823
__EXECDECL__ void Exec::TimerLock(TInt, TRequestStatus&, TTimerLockSpec)
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
	SLOW_EXEC3(EExecTimerLock);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   828
__EXECDECL__ TInt Exec::ChangeNotifierLogon(TInt, TRequestStatus&)
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
	SLOW_EXEC2(EExecChangeNotifierLogon);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   833
__EXECDECL__ TInt Exec::ChangeNotifierLogoff(TInt)
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
	SLOW_EXEC1(EExecChangeNotifierLogoff);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   838
__EXECDECL__ void Exec::RequestSignal(TInt)
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
	SLOW_EXEC1(EExecRequestSignal);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   843
__EXECDECL__ void Exec::HandleName(TInt, TDes8&)
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
	SLOW_EXEC2(EExecHandleName);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   848
__EXECDECL__ void Exec::HandleFullName(TInt, TDes8&)
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
	SLOW_EXEC2(EExecHandleFullName);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   853
__EXECDECL__ void Exec::HandleInfo(TInt, THandleInfo*)
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
	SLOW_EXEC2(EExecHandleInfo);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   858
__EXECDECL__ void Exec::HandleCount(TInt, TInt&, TInt&)
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
	SLOW_EXEC3(EExecHandleCount);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   863
__EXECDECL__ void Exec::After(TInt, TRequestStatus&)
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
	SLOW_EXEC2(EExecAfter);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   868
__EXECDECL__ void Exec::At(const EXEC_TIME&, TRequestStatus&)
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
	SLOW_EXEC2(EExecAt);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   873
__EXECDECL__ void Exec::MessageComplete(TInt, TInt)
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
	SLOW_EXEC2(EExecMessageComplete);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   878
__EXECDECL__ void Exec::MessageCompleteWithHandle(TInt, TInt)
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
	SLOW_EXEC2(EExecMessageCompleteWithHandle);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   883
__EXECDECL__ void Exec::TransferSession(TInt, TInt)
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
	SLOW_EXEC2(EExecTransferSession);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   888
__EXECDECL__ TInt Exec::TimeNow(EXEC_TIME&, TInt&)
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
	SLOW_EXEC2(EExecTimeNow);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   893
__EXECDECL__ TInt Exec::TimeNowSecure(EXEC_TIME&, TInt&)
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
	SLOW_EXEC2(EExecTimeNowSecure);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   898
__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
   899
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   900
	SLOW_EXEC4(EExecSetUTCTimeAndOffset);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   903
__EXECDECL__ TInt Exec::SetMachineConfiguration(const TDesC8&)
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
	SLOW_EXEC1(EExecSetMachineConfiguration);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   908
__EXECDECL__ void Exec::CaptureEventHook()
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
	SLOW_EXEC0(EExecCaptureEventHook);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   913
__EXECDECL__ void Exec::ReleaseEventHook()
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
	SLOW_EXEC0(EExecReleaseEventHook);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   918
__EXECDECL__ void Exec::RequestEvent(TRawEventBuf&, TRequestStatus&)
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
	SLOW_EXEC2(EExecRequestEvent);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   923
__EXECDECL__ void Exec::RequestEventCancel()
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
	SLOW_EXEC0(EExecRequestEventCancel);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   928
__EXECDECL__ TInt Exec::AddEvent(const TRawEvent&)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   929
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   930
	SLOW_EXEC1(EExecAddEvent);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   931
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   932
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
   933
__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
   934
	{
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
   935
	//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
   936
	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
   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
		//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
   939
		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
   940
		}
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for 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
	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
   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
		//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
   944
		__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
   945
		}
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   946
92
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   949
__EXECDECL__ TInt Exec::HalFunction(TInt, TInt, TAny*, TAny*)
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
	SLOW_EXEC4(EExecHalFunction);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   954
__EXECDECL__ void Exec::WsRegisterThread()
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
	SLOW_EXEC0(EExecWsRegisterThread);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   959
__EXECDECL__ void Exec::FsRegisterThread()
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
	SLOW_EXEC0(EExecFsRegisterThread);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   964
__EXECDECL__ TInt Exec::ProcessCommandLineLength(TInt)
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
	SLOW_EXEC1(EExecProcessCommandLineLength);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   969
__EXECDECL__ void Exec::TimerInactivity(TInt, TRequestStatus&, TInt)
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
	SLOW_EXEC3(EExecTimerInactivity);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   974
__EXECDECL__ TInt Exec::UserInactivityTime()
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
	SLOW_EXEC0(EExecUserInactivityTime);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   979
__EXECDECL__ void Exec::ResetInactivityTime()
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
	SLOW_EXEC0(EExecResetInactivityTime);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   984
__EXECDECL__ void Exec::DebugPrint(TAny*, TInt)
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
	SLOW_EXEC2(EExecDebugPrint);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   989
__EXECDECL__ TInt Exec::BreakPoint()
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
	SLOW_EXEC0(EExecBreakPoint);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   994
__EXECDECL__ TInt Exec::ProfileStart(TInt)
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
	SLOW_EXEC1(EExecProfileStart);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   999
__EXECDECL__ TInt Exec::ProfileEnd(TInt)
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
	SLOW_EXEC1(EExecProfileEnd);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1004
__EXECDECL__ TExceptionHandler Exec::ExceptionHandler(TInt)
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
	SLOW_EXEC1(EExecExceptionHandler);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1009
__EXECDECL__ TInt Exec::SetExceptionHandler(TInt, TExceptionHandler, TUint32)
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
	SLOW_EXEC3(EExecSetExceptionHandler);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1014
__EXECDECL__ void Exec::ModifyExceptionMask(TInt, TUint32, TUint32)
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
	SLOW_EXEC3(EExecModifyExceptionMask);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1019
__EXECDECL__ TInt Exec::RaiseException(TInt, TExcType)
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
	SLOW_EXEC2(EExecRaiseException);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1024
__EXECDECL__ TInt Exec::IsExceptionHandled(TInt, TExcType, TBool)
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
	SLOW_EXEC3(EExecIsExceptionHandled);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1029
__EXECDECL__ TInt Exec::ProcessGetMemoryInfo(TInt, TModuleMemoryInfo&)
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
	SLOW_EXEC2(EExecProcessGetMemoryInfo);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1034
__EXECDECL__ TInt Exec::LibraryGetMemoryInfo(TInt, TModuleMemoryInfo&)
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
	SLOW_EXEC2(EExecLibraryGetMemoryInfo);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1039
__EXECDECL__ TInt Exec::MachineConfiguration(TDes8&, TInt&)
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
	SLOW_EXEC2(EExecMachineConfiguration);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1044
__EXECDECL__ TInt Exec::SetMemoryThresholds(TInt, TInt)
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
	SLOW_EXEC2(EExecSetMemoryThresholds);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1049
__EXECDECL__ void Exec::LibraryType(TInt, TUidType&)
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
	SLOW_EXEC2(EExecLibraryType);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1054
__EXECDECL__ void Exec::ProcessType(TInt, TUidType&)
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
	SLOW_EXEC2(EExecProcessType);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1059
__EXECDECL__ TInt Exec::ChunkBottom(TInt)
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
	SLOW_EXEC1(EExecChunkBottom);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1064
__EXECDECL__ TInt Exec::ChunkTop(TInt)
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
	SLOW_EXEC1(EExecChunkTop);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1069
__EXECDECL__ void Exec::ThreadContext(TInt, TDes8&)
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
	SLOW_EXEC2(EExecThreadContext);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1074
__EXECDECL__ TInt Exec::ThreadCreate(const TDesC8&, TOwnerType, SThreadCreateInfo8&)
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
	SLOW_EXEC3(EExecThreadCreate);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1079
__EXECDECL__ TInt Exec::FindHandleOpen(TOwnerType, const TFindHandle&)
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
	SLOW_EXEC2(EExecFindHandleOpen);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1084
__EXECDECL__ TInt Exec::HandleClose(TInt)
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
	SLOW_EXEC1(EExecHandleClose);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1089
__EXECDECL__ TInt Exec::ChunkCreate(TOwnerType, const TDesC8*, TChunkCreate&)
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
	SLOW_EXEC3(EExecChunkCreate);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1094
__EXECDECL__ TInt Exec::ChunkAdjust(TInt, TInt, TInt, TInt)
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
	SLOW_EXEC4(EExecChunkAdjust);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1099
__EXECDECL__ TInt Exec::OpenObject(TObjectType, const TDesC8&, TOwnerType)
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
	SLOW_EXEC3(EExecOpenObject);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1104
__EXECDECL__ TInt Exec::HandleDuplicate(TInt, TOwnerType, TInt&)
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
	SLOW_EXEC3(EExecHandleDuplicate);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1109
__EXECDECL__ TInt Exec::MutexCreate(const TDesC8*, TOwnerType)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1110
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1111
	SLOW_EXEC2(EExecMutexCreate);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1112
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1113
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1114
__EXECDECL__ TInt Exec::SemaphoreCreate(const TDesC8*, TInt, TOwnerType)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1115
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1116
	SLOW_EXEC3(EExecSemaphoreCreate);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1117
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1118
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1119
__EXECDECL__ TInt Exec::ThreadOpenById(TUint, TOwnerType)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1120
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1121
	SLOW_EXEC2(EExecThreadOpenById);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1122
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1123
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1124
__EXECDECL__ TInt Exec::ProcessOpenById(TUint, TOwnerType)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1125
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1126
	SLOW_EXEC2(EExecProcessOpenById);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1127
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1128
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
  1129
__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
  1130
	{
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
  1131
	//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
  1132
	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
  1133
		{
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
  1134
		//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
  1135
		__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
  1136
		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
  1137
		}
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
  1138
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
  1139
	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
  1140
		{
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
  1141
		//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
  1142
#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
  1143
		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
  1144
		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
  1145
		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
  1146
		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
  1147
#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
  1148
		__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
  1149
		}
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for 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
	exit(aType);
92
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1152
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1153
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1154
__EXECDECL__ void Exec::ThreadLogon(TInt, TRequestStatus*, TBool)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1155
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1156
	SLOW_EXEC3(EExecThreadLogon);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1157
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1158
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1159
__EXECDECL__ TInt Exec::ThreadLogonCancel(TInt, TRequestStatus*, TBool)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1160
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1161
	SLOW_EXEC3(EExecThreadLogonCancel);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1162
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1163
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1164
__EXECDECL__ TInt Exec::DllSetTls(TInt, TInt, TAny*)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1165
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1166
	SLOW_EXEC3(EExecDllSetTls);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1167
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1168
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1169
__EXECDECL__ void Exec::DllFreeTls(TInt)
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
	SLOW_EXEC1(EExecDllFreeTls);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1174
__EXECDECL__ TInt Exec::ThreadRename(TInt, const TDesC8&)
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
	SLOW_EXEC2(EExecThreadRename);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1179
__EXECDECL__ TInt Exec::ProcessRename(TInt, const TDesC8&)
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
	SLOW_EXEC2(EExecProcessRename);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1184
__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
  1185
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1186
	SLOW_EXEC4(EExecProcessKill);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1189
__EXECDECL__ void Exec::ProcessLogon(TInt, TRequestStatus*, TBool)
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
	SLOW_EXEC3(EExecProcessLogon);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1194
__EXECDECL__ TInt Exec::ProcessLogonCancel(TInt, TRequestStatus*, TBool)
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
	SLOW_EXEC3(EExecProcessLogonCancel);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1199
__EXECDECL__ TInt Exec::ThreadProcess(TInt)
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
	SLOW_EXEC1(EExecThreadProcess);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1204
__EXECDECL__ TInt Exec::ServerCreate(const TDesC8*, TInt)
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
	SLOW_EXEC2(EExecServerCreate);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1209
__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
  1210
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1211
	SLOW_EXEC4(EExecServerCreateWithOptions);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1214
__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
  1215
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1216
	SLOW_EXEC4(EExecSessionCreate);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1219
__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
  1220
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1221
	SLOW_EXEC4(EExecSessionCreateFromHandle);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1224
EXPORT_C __EXECDECL__ TInt E32Loader::DeviceLoad(TAny*, TInt)
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
	SLOW_EXEC2(EExecDeviceLoad);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1229
__EXECDECL__ TInt Exec::DeviceFree(const TDesC8&, TInt)
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
	SLOW_EXEC2(EExecDeviceFree);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1234
__EXECDECL__ TInt Exec::ChannelCreate(const TDesC8&, TChannelCreateInfo8&, TInt)
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
	SLOW_EXEC3(EExecChannelCreate);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1239
__EXECDECL__ TInt Exec::TimerCreate()
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
	SLOW_EXEC0(EExecTimerCreate);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1244
__EXECDECL__ void Exec::TimerHighRes(TInt, TRequestStatus&, TInt)
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
	SLOW_EXEC3(EExecTimerHighRes);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1249
__EXECDECL__ void Exec::AfterHighRes(TInt, TRequestStatus&)
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
	SLOW_EXEC2(EExecAfterHighRes);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1254
__EXECDECL__ TInt Exec::ChangeNotifierCreate(TOwnerType)
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
	SLOW_EXEC1(EExecChangeNotifierCreate);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1259
__EXECDECL__ TInt Exec::UndertakerCreate(TOwnerType)
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
	SLOW_EXEC1(EExecUndertakerCreate);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1264
__EXECDECL__ TInt Exec::UndertakerLogon(TInt, TRequestStatus&, TInt&)
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
	SLOW_EXEC3(EExecUndertakerLogon);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1269
__EXECDECL__ TInt Exec::UndertakerLogonCancel(TInt)
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
	SLOW_EXEC1(EExecUndertakerLogonCancel);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1274
__EXECDECL__ void Exec::KernelHeapDebug(TInt, TInt, TAny*)
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
	SLOW_EXEC3(EExecKernelHeapDebug);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1279
__EXECDECL__ TInt Exec::ThreadGetCpuTime(TInt, EXEC_INT64&)
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
	SLOW_EXEC2(EExecThreadGetCpuTime);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1284
EXPORT_C __EXECDECL__ TInt E32Loader::CodeSegCreate(TCodeSegCreateInfo&)
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
	SLOW_EXEC1(EExecCodeSegCreate);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1289
EXPORT_C __EXECDECL__ TInt E32Loader::CodeSegLoaded(TCodeSegCreateInfo&)
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
	SLOW_EXEC1(EExecCodeSegLoaded);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1294
EXPORT_C __EXECDECL__ TInt E32Loader::LibraryCreate(TLibraryCreateInfo&)
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
	SLOW_EXEC1(EExecLibraryCreate);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1299
EXPORT_C __EXECDECL__ TInt E32Loader::CodeSegOpen(TAny*, TInt)
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
	SLOW_EXEC2(EExecCodeSegOpen);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1304
EXPORT_C __EXECDECL__ void E32Loader::CodeSegClose(TAny*)
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
	SLOW_EXEC1(EExecCodeSegClose);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1309
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
  1310
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1311
	SLOW_EXEC2(EExecCodeSegNext);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1314
EXPORT_C __EXECDECL__ void E32Loader::CodeSegInfo(TAny*, TCodeSegCreateInfo&)
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
	SLOW_EXEC2(EExecCodeSegInfo);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1319
EXPORT_C __EXECDECL__ TInt E32Loader::CodeSegAddDependency(TAny*, TAny*)
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
	SLOW_EXEC2(EExecCodeSegAddDependency);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1324
EXPORT_C __EXECDECL__ void E32Loader::CodeSegDeferDeletes()
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
	SLOW_EXEC0(EExecCodeSegDeferDeletes);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1329
EXPORT_C __EXECDECL__ void E32Loader::CodeSegEndDeferDeletes()
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
	SLOW_EXEC0(EExecCodeSegEndDeferDeletes);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1334
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
  1335
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1336
	SLOW_EXEC2(EExecProcessCreate);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1339
EXPORT_C __EXECDECL__ TInt E32Loader::ProcessLoaded(TProcessCreateInfo&)
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
	SLOW_EXEC1(EExecProcessLoaded);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1344
EXPORT_C __EXECDECL__ TInt E32Loader::CheckClientState(TInt)
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
	SLOW_EXEC1(EExecCheckLoaderClientState);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1349
EXPORT_C __EXECDECL__ TAny* E32Loader::ThreadProcessCodeSeg(TInt)
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
	SLOW_EXEC1(EExecThreadProcessCodeSeg);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1354
EXPORT_C __EXECDECL__ void E32Loader::ReadExportDir(TAny*, TLinAddr*)
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
	SLOW_EXEC2(EExecCodeSegReadExportDir);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1359
__EXECDECL__ TInt E32Loader::WaitDllLock()
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
	SLOW_EXEC0(EExecWaitDllLock);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1364
__EXECDECL__ TInt E32Loader::ReleaseDllLock()
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
	SLOW_EXEC0(EExecReleaseDllLock);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1369
__EXECDECL__ TInt E32Loader::LibraryAttach(TInt, TInt&, TLinAddr*)
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
	SLOW_EXEC3(EExecLibraryAttach);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1374
__EXECDECL__ TInt E32Loader::LibraryAttached(TInt)
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
	SLOW_EXEC1(EExecLibraryAttached);
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
93
7c26c0978cbf Adding includes to project. Slow progress on the process init sequence.
Slion
parents: 92
diff changeset
  1379
__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
  1380
	{
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
  1381
	//SLOW_EXEC2(EExecStaticCallList);
93
7c26c0978cbf Adding includes to project. Slow progress on the process init sequence.
Slion
parents: 92
diff changeset
  1382
	//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
  1383
	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
  1384
	
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
  1385
	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
  1386
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
  1387
	return KErrNone;
92
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1388
	}
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
__EXECDECL__ TInt E32Loader::LibraryDetach(TInt&, TLinAddr*)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1391
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1392
	SLOW_EXEC2(EExecLibraryDetach);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1393
	}
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
__EXECDECL__ TInt E32Loader::LibraryDetached()
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1396
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1397
	SLOW_EXEC0(EExecLibraryDetached);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1398
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1399
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1400
__EXECDECL__ TInt Exec::LastThreadHandle()
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
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
	//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
  1403
	//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
  1404
	return 0;
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__ void Exec::ThreadRendezvous(TInt)
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_EXEC1(EExecThreadRendezvous);
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__ void Exec::ProcessRendezvous(TInt)
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_EXEC1(EExecProcessRendezvous);
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::MessageGetDesLength(TInt, TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1418
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1419
	SLOW_EXEC2(EExecMessageGetDesLength);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1420
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1421
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1422
__EXECDECL__ TInt Exec::MessageGetDesMaxLength(TInt, TInt)
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
	SLOW_EXEC2(EExecMessageGetDesMaxLength);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1427
__EXECDECL__ TInt Exec::MessageClient(TInt, TOwnerType)
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
	SLOW_EXEC2(EExecMessageClient);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1432
__EXECDECL__ TInt Exec::MessageSetProcessPriority(TInt, TProcessPriority)
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
	SLOW_EXEC2(EExecMessageSetProcessPriority);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1437
__EXECDECL__ void Exec::MessageConstructFromPtr(TInt, TAny*)
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
	SLOW_EXEC2(EExecMessageConstructFromPtr);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1442
__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
  1443
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1444
	SLOW_EXEC4(EExecMessageKill);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1447
__EXECDECL__ TInt Exec::MessageOpenObject(TInt, TObjectType, TInt, TOwnerType)
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
	SLOW_EXEC4(EExecMessageOpenObject);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1452
__EXECDECL__ void Exec::ProcessSecurityInfo(TInt, SSecurityInfo&)
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
	SLOW_EXEC2(EExecProcessSecurityInfo);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1457
__EXECDECL__ void Exec::ThreadSecurityInfo(TInt, SSecurityInfo&)
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
	SLOW_EXEC2(EExecThreadSecurityInfo);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1462
__EXECDECL__ void Exec::MessageSecurityInfo(TInt, SSecurityInfo&)
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
	SLOW_EXEC2(EExecMessageSecurityInfo);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1467
__EXECDECL__ void Exec::CreatorSecurityInfo(SSecurityInfo&)
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
	SLOW_EXEC1(EExecCreatorSecurityInfo);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1472
__EXECDECL__ void Exec::DisabledCapabilities(SCapabilitySet&)
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
	SLOW_EXEC1(EExecDisabledCapabilities);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1477
__EXECDECL__ TInt Exec::ChunkSetRestrictions(TInt, TUint)
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
	SLOW_EXEC2(EExecChunkSetRestrictions);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1482
__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
  1483
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1484
	SLOW_EXEC4(EExecMsgQueueCreate);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1487
__EXECDECL__ TInt Exec::MsgQueueSend(TInt, const TAny*, TInt)
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
	SLOW_EXEC3(EExecMsgQueueSend);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1492
__EXECDECL__ TInt Exec::MsgQueueReceive(TInt, TAny*, TInt)
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
	SLOW_EXEC3(EExecMsgQueueReceive);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1497
__EXECDECL__ void Exec::MsgQueueNotifySpaceAvailable(TInt, TRequestStatus&)
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
	SLOW_EXEC2(EExecMsgQueueNotifySpaceAvailable);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1502
__EXECDECL__ void Exec::MsgQueueCancelSpaceAvailable(TInt)
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
	SLOW_EXEC1(EExecMsgQueueCancelSpaceAvailable);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1507
__EXECDECL__ void Exec::MsgQueueNotifyDataAvailable(TInt, TRequestStatus&)
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
	SLOW_EXEC2(EExecMsgQueueNotifyDataAvailable);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1512
__EXECDECL__ void Exec::MsgQueueCancelDataAvailable(TInt)
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
	SLOW_EXEC1(EExecMsgQueueCancelDataAvailable);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1517
__EXECDECL__ TInt Exec::MsgQueueSize(TInt)
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
	SLOW_EXEC1(EExecMsgQueueSize);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1522
__EXECDECL__ TInt Exec::PropertyDefine(TUint, TUint, TPropertyInfo*)
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
	SLOW_EXEC3(EExecPropertyDefine);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1527
__EXECDECL__ TInt Exec::PropertyDelete(TUint, TUint)
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
	SLOW_EXEC2(EExecPropertyDelete);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1532
__EXECDECL__ TInt Exec::PropertyAttach(TUint, TUint, TOwnerType)
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
	SLOW_EXEC3(EExecPropertyAttach);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1537
__EXECDECL__ void Exec::PropertySubscribe(TInt, TRequestStatus*)
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
	SLOW_EXEC2(EExecPropertySubscribe);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1542
__EXECDECL__ void Exec::PropertyCancel(TInt)
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
	SLOW_EXEC1(EExecPropertyCancel);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1547
__EXECDECL__ TInt Exec::PropertyGetI(TInt, TInt*)
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
	SLOW_EXEC2(EExecPropertyGetI);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1552
__EXECDECL__ TInt Exec::PropertyGetB(TInt, TUint8*, TInt)
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
	SLOW_EXEC3(EExecPropertyGetB);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1557
__EXECDECL__ TInt Exec::PropertySetI(TInt, TInt)
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
	SLOW_EXEC2(EExecPropertySetI);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1562
__EXECDECL__ TInt Exec::PropertySetB(TInt, const TUint8*, TInt)
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
	SLOW_EXEC3(EExecPropertySetB);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1567
__EXECDECL__ TInt Exec::PropertyFindGetI(TUint, TUint, TInt*)
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
	SLOW_EXEC3(EExecPropertyFindGetI);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1572
__EXECDECL__ TInt Exec::PropertyFindGetB(TUint, TUint, TUint8*, TInt)
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
	SLOW_EXEC4(EExecPropertyFindGetB);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1577
__EXECDECL__ TInt Exec::PropertyFindSetI(TUint, TUint, TInt)
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
	SLOW_EXEC3(EExecPropertyFindSetI);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1582
__EXECDECL__ TInt Exec::PropertyFindSetB(TUint, TUint, TUint8*, TInt)
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
	SLOW_EXEC4(EExecPropertyFindSetB);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1587
__EXECDECL__ TInt Exec::PowerEnableWakeupEvents(TPowerState)
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
	SLOW_EXEC1(EExecPowerEnableWakeupEvents);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1592
__EXECDECL__ void Exec::PowerDisableWakeupEvents()
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
	SLOW_EXEC0(EExecPowerDisableWakeupEvents);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1597
__EXECDECL__ void Exec::PowerRequestWakeupEventNotification(TRequestStatus*)
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
	SLOW_EXEC1(EExecPowerRequestWakeupEventNotification);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1602
__EXECDECL__ void Exec::PowerCancelWakeupEventNotification()
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
	SLOW_EXEC0(EExecPowerCancelWakeupEventNotification);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1607
__EXECDECL__ TInt Exec::PowerDown()
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
	SLOW_EXEC0(EExecPowerDown);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1612
__EXECDECL__ TInt Exec::ProcessSetHandleParameter(TInt, TInt, TInt)
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
	SLOW_EXEC3(EExecProcessSetHandleParameter);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1617
__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
  1618
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1619
	SLOW_EXEC4(EExecProcessSetDataParameter);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1622
__EXECDECL__ TInt Exec::ProcessGetHandleParameter(TInt, TObjectType, TOwnerType)
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
	SLOW_EXEC3(EExecProcessGetHandleParameter);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1627
__EXECDECL__ TInt Exec::ProcessGetDataParameter(TInt, TUint8*, TInt)
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
	SLOW_EXEC3(EExecProcessGetDataParameter);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1632
__EXECDECL__ TInt Exec::ProcessDataParameterLength(TInt)
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
	SLOW_EXEC1(EExecProcessDataParameterLength);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1637
__EXECDECL__ TUint Exec::MessageClientProcessFlags(TInt)
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
	SLOW_EXEC1(EExecMessageClientProcessFlags);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1642
__EXECDECL__ TInt Exec::ThreadStackInfo(TInt, TThreadStackInfo&)
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
	SLOW_EXEC2(EExecThreadStackInfo);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1647
__EXECDECL__ RAllocator* Exec::ThreadGetHeap(TInt)
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
	SLOW_EXEC1(EExecThreadGetHeap);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1652
__EXECDECL__ TInt Exec::ThreadAsProcess(TInt, TInt)
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
	SLOW_EXEC2(EExecThreadAsProcess);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1657
__EXECDECL__ TInt Exec::CondVarCreate(const TDesC8*, TOwnerType)
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
	SLOW_EXEC2(EExecCondVarCreate);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1662
__EXECDECL__ TInt Exec::CondVarWait(TInt, TInt, TInt)
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
	SLOW_EXEC3(EExecCondVarWait);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1667
__EXECDECL__ void Exec::CondVarSignal(TInt)
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
	SLOW_EXEC1(EExecCondVarSignal);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1672
__EXECDECL__ void Exec::CondVarBroadcast(TInt)
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
	SLOW_EXEC1(EExecCondVarBroadcast);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1677
__EXECDECL__ TInt Exec::PlatSecDiagnostic(TPlatSecDiagnostic*)
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
	SLOW_EXEC1(EExecPlatSecDiagnostic);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1682
__EXECDECL__ TLinAddr Exec::ExceptionDescriptor(TLinAddr)
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
	SLOW_EXEC1(EExecExceptionDescriptor);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1687
__EXECDECL__ void Exec::ThreadRequestSignal(TInt)
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
	SLOW_EXEC1(EExecThreadRequestSignal);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1692
__EXECDECL__ TBool Exec::MutexIsHeld(TInt)
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
	SLOW_EXEC1(EExecMutexIsHeld);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1697
__EXECDECL__ TTrapHandler* Exec::LeaveStart()
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1698
	{
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
  1699
	//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
  1700
	return gProcess.iThread.iHandler;
92
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1701
	}
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
__EXECDECL__ void Exec::LeaveEnd()
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1704
	{
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
  1705
	//SLOW_EXEC0(EExecLeaveEnd);	
92
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1706
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1707
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1708
__EXECDECL__ void Exec::SetDebugMaskIndex(TUint32, TUint)
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
	SLOW_EXEC2(EExecSetDebugMaskIndex);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1711
	}
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
__EXECDECL__ TInt Exec::GetModuleNameFromAddress(TAny*, TDes8&)
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
	SLOW_EXEC2(EExecGetModuleNameFromAddress);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1716
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1717
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1718
__EXECDECL__ void Exec::NotifyChanges(TUint)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1719
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1720
	SLOW_EXEC1(EExecNotifyChanges);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1723
__EXECDECL__ TInt Exec::SetGlobalUserData(TInt, TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1724
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1725
	SLOW_EXEC2(EExecSetGlobalUserData);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1728
__EXECDECL__ TInt Exec::SessionSecurityInfo(TInt, SSecurityInfo&)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1729
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1730
	SLOW_EXEC2(EExecSessionSecurityInfo);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1733
__EXECDECL__ const TRequestStatus* Exec::MessageClientStatus(TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1734
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1735
	SLOW_EXEC1(EExecMessageClientStatus);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1738
__EXECDECL__ TInt Exec::SetFloatingPointMode(TFloatingPointMode, TFloatingPointRoundingMode)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1739
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1740
	SLOW_EXEC2(EExecSetFloatingPointMode);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1743
EXPORT_C __EXECDECL__ TBool BTrace::CheckFilter2(TUint32, TUint32)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1744
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1745
	SLOW_EXEC2(EExecCheckFilter2);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1748
__EXECDECL__ TAny* Exec::ProcessExeExportData()
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1749
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1750
	SLOW_EXEC0(EExecProcessExeExportData);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1753
EXPORT_C __EXECDECL__ TInt E32Loader::NotifyIfCodeSegDestroyed(TRequestStatus&)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1754
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1755
	SLOW_EXEC1(EExecNotifyIfCodeSegDestroyed);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1758
EXPORT_C __EXECDECL__ TInt E32Loader::GetDestroyedCodeSegInfo(TCodeSegLoaderCookie&)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1759
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1760
	SLOW_EXEC1(EExecGetDestroyedCodeSegInfo);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1763
EXPORT_C __EXECDECL__ TInt Exec::SetWin32RuntimeHook(TAny*)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1764
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1765
	SLOW_EXEC1(EExecSetWin32RuntimeHook);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1768
__EXECDECL__ TInt Exec::GetBTraceId(TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1769
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1770
	SLOW_EXEC1(EExecGetBTraceId);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1773
__EXECDECL__ void Exec::NotifyOnIdle(TRequestStatus*)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1774
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1775
	SLOW_EXEC1(EExecNotifyOnIdle);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1778
__EXECDECL__ void Exec::CancelMiscNotifier(TRequestStatus*)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1779
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1780
	SLOW_EXEC1(EExecCancelMiscNotifier);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1783
__EXECDECL__ void Exec::NotifyObjectDestruction(TInt, TRequestStatus*)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1784
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1785
	SLOW_EXEC2(EExecNotifyObjectDestruction);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1788
__EXECDECL__ void Exec::RegisterTrustedChunk(TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1789
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1790
	SLOW_EXEC1(EExecRegisterTrustedChunk);
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
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
  1793
/*
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
  1794
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
  1795
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
  1796
@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
  1797
@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
  1798
*/
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
  1799
__EXECDECL__ TBool Exec::UserThreadExiting(TInt aReason)
92
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1800
	{
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
  1801
	//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
  1802
	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
  1803
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
  1804
	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
  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__ TBool Exec::ChunkIsPaged(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(EExecChunkIsPaged);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1812
__EXECDECL__ TBool Exec::ProcessDefaultDataPaged(TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1813
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1814
	SLOW_EXEC1(EExecProcessDefaultDataPaged);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1815
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1816
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1817
__EXECDECL__ TUint Exec::MessageClientThreadFlags(TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1818
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1819
	SLOW_EXEC1(EExecMessageClientThreadFlags);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1820
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1821
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1822
__EXECDECL__ TInt Exec::ShPoolCreate(const TShPoolInfo&, TUint)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1823
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1824
	SLOW_EXEC2(EExecShPoolCreate);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1827
__EXECDECL__ TInt Exec::ShPoolAlloc(TInt, TUint, SShBufBaseAndSize&)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1828
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1829
	SLOW_EXEC3(EExecShPoolAlloc);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1832
__EXECDECL__ void Exec::ShPoolGetInfo(TInt, TShPoolInfo&)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1833
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1834
	SLOW_EXEC2(EExecShPoolGetInfo);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1837
__EXECDECL__ TUint Exec::ShPoolFreeCount(TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1838
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1839
	SLOW_EXEC1(EExecShPoolFreeCount);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1842
__EXECDECL__ TInt Exec::ShPoolNotification(TInt, TShPoolNotifyType, TUint, TRequestStatus&)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1843
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1844
	SLOW_EXEC4(EExecShPoolNotification);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1847
__EXECDECL__ TInt Exec::ShPoolNotificationCancel(TInt, TShPoolNotifyType, TRequestStatus&)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1848
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1849
	SLOW_EXEC3(EExecShPoolNotificationCancel);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1852
__EXECDECL__ TInt Exec::ShPoolBufferWindow(TInt, TInt, TBool)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1853
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1854
	SLOW_EXEC3(EExecShPoolBufferWindow);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1857
__EXECDECL__ TInt Exec::ShBufMap(TInt, TBool, SShBufBaseAndSize&)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1858
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1859
	SLOW_EXEC3(EExecShBufMap);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1862
__EXECDECL__ TInt Exec::ShBufUnMap(TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1863
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1864
	SLOW_EXEC1(EExecShBufUnMap);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1867
__EXECDECL__ TInt Exec::ShBufBaseAndSize(TInt, SShBufBaseAndSize&)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1868
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1869
	SLOW_EXEC2(EExecShBufBaseAndSize);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1870
	}
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
  1871
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
  1872
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
  1873
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
  1874
#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
  1875
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
  1876