kernel/eka/euser/epoc/symc/uc_exec.cpp
author Stephane Lenclud <tortoisehg@lenclud.com>
Tue, 27 Apr 2010 17:12:11 +0200
branchanywhere
changeset 94 f36eb4948686
parent 93 7c26c0978cbf
child 95 f561f9ae805b
permissions -rw-r--r--
Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
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,
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
    35
	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
    36
	};
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for 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
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
    39
	{
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
    40
	_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
    41
	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
    42
	}
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for 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
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
    51
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
    52
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for 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
#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
    54
#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
    55
#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
    56
#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
    57
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
    58
#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
    59
#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
    60
#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
    61
#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
    62
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for 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
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
    64
	{
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for 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
	//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
    66
	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
    67
	//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
    68
	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
    69
		{
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for 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
		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
    71
		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
    72
			{
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for 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
			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
    74
			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
    75
			}
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for 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
	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
    78
	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
    79
	}
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for 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
#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
    82
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for 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
 * 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
    85
 ******************************************************************************/
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for 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
__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
    88
//
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for 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
// 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
    90
//
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for 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
	__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
    93
	}
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for 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
__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
    96
//
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for 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
// 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
    98
//
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for 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
	__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
   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
   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
__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
   105
//
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   106
// 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
   107
//
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   108
	{
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   109
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   110
	__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
   111
	}
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for 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
__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
   114
	{
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for 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
	__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
   116
	}
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for 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
__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
   119
	{
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for 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
	__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
   121
	}
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for 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
__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
   124
	{
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for 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
	__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
   126
	}
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for 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
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
   129
	{
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for 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
	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
   131
	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
   132
	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
   133
	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
   134
	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
   135
	}
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for 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
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
   138
	{
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for 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
	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
   140
	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
   141
	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
   142
	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
   143
	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
   144
	}
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   145
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for 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
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
   147
	{
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   148
	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
   149
	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
   150
	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
   151
	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
   152
	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
   153
	}
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for 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
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
   156
	{
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for 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
	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
   158
	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
   159
	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
   160
	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
   161
	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
   162
	}
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   163
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   164
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
   165
	{
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for 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
	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
   167
	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
   168
	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
   169
	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
   170
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   171
	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
   172
		{
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   173
		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
   174
			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
   175
		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
   176
		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
   177
		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
   178
		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
   179
		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
   180
		}
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   181
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for 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
	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
   183
		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
   184
	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
   185
		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
   186
	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
   187
	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
   188
	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
   189
	}
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for 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
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
   192
	{
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for 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
	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
   194
	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
   195
	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
   196
	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
   197
	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
   198
	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
   199
	}
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   200
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for 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
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
   202
	{
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for 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
	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
   204
	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
   205
	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
   206
	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
   207
	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
   208
	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
   209
	}
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for 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
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
   212
	{
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for 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
	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
   214
	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
   215
	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
   216
	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
   217
	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
   218
	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
   219
	}
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for 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
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
   222
	{
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for 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
	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
   224
	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
   225
	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
   226
	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
   227
	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
   228
	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
   229
	}
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for 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
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
   232
	{
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for 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
	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
   234
	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
   235
	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
   236
	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
   237
	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
   238
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for 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
	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
   240
		{
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for 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
		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
   242
			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
   243
		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
   244
		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
   245
		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
   246
		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
   247
		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
   248
		}
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for 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
	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
   251
		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
   252
	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
   253
		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
   254
	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
   255
	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
   256
	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
   257
	}
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for 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
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
   260
	{
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   261
 	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
   262
	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
   263
	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
   264
	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
   265
	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
   266
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for 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
	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
   268
		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
   269
	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
   270
	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
   271
	}
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   272
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for 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
__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
   274
	{
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for 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
	_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
   276
	_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
   277
	_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
   278
	_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
   279
	_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
   280
	_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
   281
	_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
   282
	__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
   283
	_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
   284
	}
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for 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
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
   290
/**
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   291
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
   292
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
   293
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   294
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
   295
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
   296
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for 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
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
   298
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
   299
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   300
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
   301
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
   302
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
   303
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for 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
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
   305
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
   306
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for 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
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
   308
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
   309
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
   310
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   311
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
   312
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
   313
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for 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
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
   315
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
   316
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for 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
@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
   318
               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
   319
               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
   320
               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
   321
               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
   322
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for 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
@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
   324
*/
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for 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
	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
   327
	}
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   328
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for 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
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
   333
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for 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
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
   335
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
   336
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for 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
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
   338
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for 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
@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
   340
*/
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   341
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
   342
	{
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   343
	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
   344
	}
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for 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
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
   349
	{
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for 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
	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
   351
	}
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   352
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for 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
#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
   356
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for 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
/*
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   358
Object used to store process globals for our pseudo 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
   359
*/
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   360
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
   361
	{
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   362
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
   363
	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
   364
	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
   365
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   366
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
   367
	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
   368
	TAny* 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
   369
	};
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   370
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   371
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
   372
	{
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   373
	__ASSERT_ALWAYS(iAllocator==NULL && iBase==NULL,Panic(ESymcExecPanicHeapAlreadyExists));	
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   374
	iBase=malloc(1024*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
   375
	__ASSERT_ALWAYS(iBase!=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
   376
	iAllocator=UserHeap::FixedHeap(iBase,1024*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
   377
	__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
   378
	}
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for 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
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
   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
	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
   383
	}
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   384
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   385
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   386
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   387
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
   388
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   389
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for 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
//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
   392
92
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   393
__EXECDECL__ void Exec::WaitForAnyRequest()
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   394
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   395
	FAST_EXEC0(EFastExecWaitForAnyRequest);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   396
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   397
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   398
__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
   399
	{	
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   400
	//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
   401
	return gProcess.iAllocator;
92
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   402
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   403
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   404
__EXECDECL__ RAllocator* Exec::HeapSwitch(RAllocator*)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   405
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   406
	FAST_EXEC1(EFastExecHeapSwitch);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   407
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   408
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   409
__EXECDECL__ TTrapHandler* Exec::PushTrapFrame(TTrap*)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   410
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   411
	FAST_EXEC1(EFastExecPushTrapFrame);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   412
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   413
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   414
__EXECDECL__ TTrap* Exec::PopTrapFrame()
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   415
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   416
	FAST_EXEC0(EFastExecPopTrapFrame);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   417
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   418
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   419
__EXECDECL__ CActiveScheduler* Exec::ActiveScheduler()
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(EFastExecActiveScheduler);
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__ void Exec::SetActiveScheduler(CActiveScheduler*)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   425
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   426
	FAST_EXEC1(EFastExecSetActiveScheduler);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   427
	}
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
__EXECDECL__ TTimerLockSpec Exec::LockPeriod()
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   430
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   431
	FAST_EXEC0(EFastExecLockPeriod);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   432
	}
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
__EXECDECL__ TTrapHandler* Exec::TrapHandler()
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   435
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   436
	FAST_EXEC0(EFastExecTrapHandler);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   437
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   438
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   439
__EXECDECL__ TTrapHandler* Exec::SetTrapHandler(TTrapHandler*)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   440
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   441
	FAST_EXEC1(EFastExecSetTrapHandler);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   442
	}
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
__EXECDECL__ TUint32 Exec::DebugMask()
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   445
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   446
	FAST_EXEC0(EFastExecDebugMask);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   447
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   448
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   449
__EXECDECL__ TUint32 Exec::DebugMaskIndex(TUint)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   450
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   451
	FAST_EXEC1(EFastExecDebugMaskIndex);
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__ void Exec::SetDebugMask(TUint32)
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_EXEC1(EFastExecSetDebugMask);
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__ TUint32 Exec::FastCounter()
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_EXEC0(EFastExecFastCounter);
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__ TUint32 Exec::NTickCount()
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(EFastExecNTickCount);
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
EXPORT_C __EXECDECL__ void UserSvr::LockRamDrive()
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   470
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   471
	FAST_EXEC0(EFastExecLockRamDrive);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   472
	}
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
EXPORT_C __EXECDECL__ void UserSvr::UnlockRamDrive()
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   475
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   476
	FAST_EXEC0(EFastExecUnlockRamDrive);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   477
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   478
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   479
EXPORT_C __EXECDECL__ TLinAddr UserSvr::RomHeaderAddress()
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   480
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   481
	FAST_EXEC0(EFastExecRomHeaderAddress);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   484
EXPORT_C __EXECDECL__ TLinAddr UserSvr::RomRootDirectoryAddress()
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   485
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   486
	FAST_EXEC0(EFastExecRomRootDirectoryAddress);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   489
__EXECDECL__ void Exec::SetReentryPoint(TLinAddr)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   490
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   491
	FAST_EXEC1(EFastExecSetReentryPoint);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   494
__EXECDECL__ TUint32 Exec::KernelConfigFlags()
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   495
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   496
	FAST_EXEC0(EFastExecKernelConfigFlags);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   499
__EXECDECL__ TInt Exec::UTCOffset()
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   500
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   501
	FAST_EXEC0(EFastExecUTCOffset);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   504
__EXECDECL__ TInt Exec::GetGlobalUserData(TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   505
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   506
	FAST_EXEC1(EFastExecGetGlobalUserData);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   509
EXPORT_C __EXECDECL__ TBool BTrace::CheckFilter(TUint32)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   510
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   511
	FAST_EXEC1(EFastExecCheckFilter);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   514
__EXECDECL__ TInt Exec::ObjectNext(TObjectType, TBuf8<KMaxFullName>&, TFindHandle&)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   515
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   516
	SLOW_EXEC3(EExecObjectNext);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   519
__EXECDECL__ TUint8* Exec::ChunkBase(TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   520
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   521
	SLOW_EXEC1(EExecChunkBase);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   524
__EXECDECL__ TInt Exec::ChunkSize(TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   525
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   526
	SLOW_EXEC1(EExecChunkSize);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   529
__EXECDECL__ TInt Exec::ChunkMaxSize(TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   530
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   531
	SLOW_EXEC1(EExecChunkMaxSize);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   534
__EXECDECL__ TUint Exec::HandleAttributes(TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   535
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   536
	SLOW_EXEC1(EExecHandleAttributes);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   539
__EXECDECL__ TUint Exec::TickCount()
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   540
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   541
	SLOW_EXEC0(EExecTickCount);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   544
__EXECDECL__ void Exec::LogicalDeviceGetCaps(TInt, TDes8&)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   545
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   546
	SLOW_EXEC2(EExecLogicalDeviceGetCaps);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   549
__EXECDECL__ TBool Exec::LogicalDeviceQueryVersionSupported(TInt, const TVersion&)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   550
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   551
	SLOW_EXEC2(EExecLogicalDeviceQueryVersionSupported);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   554
__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
   555
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   556
	SLOW_EXEC4(EExecLogicalDeviceIsAvailable);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   559
EXPORT_C __EXECDECL__ TInt E32Loader::LocaleExports(TAny*, TLibraryFunction*)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   560
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   561
	SLOW_EXEC2(EExecLocaleExports);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   564
__EXECDECL__ TInt Exec::ChannelRequest(TInt, TInt, TAny*, TAny*)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   565
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   566
	SLOW_EXEC4(EExecChannelRequest);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   569
__EXECDECL__ TUint32 Exec::MathRandom()
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   570
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   571
	SLOW_EXEC0(EExecMathRandom);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   574
__EXECDECL__ void Exec::IMB_Range(TAny*, TUint)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   575
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   576
	SLOW_EXEC2(EExecIMBRange);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   579
__EXECDECL__ TInt Exec::ResetMachine(TMachineStartupType)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   580
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   581
	SLOW_EXEC1(EExecResetMachine);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   584
__EXECDECL__ TLibraryFunction Exec::LibraryLookup(TInt, TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   585
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   586
	SLOW_EXEC2(EExecLibraryLookup);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   589
__EXECDECL__ void Exec::LibraryFileName(TInt, TDes8&)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   590
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   591
	SLOW_EXEC2(EExecLibraryFileName);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   594
EXPORT_C __EXECDECL__ TInt UserSvr::ExecuteInSupervisorMode(TSupervisorFunction, TAny*)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   595
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   596
	SLOW_EXEC2(EExecExecuteInSupervisorMode);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   599
__EXECDECL__ void Exec::MutexWait(TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   600
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   601
	SLOW_EXEC1(EExecMutexWait);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   604
__EXECDECL__ void Exec::MutexSignal(TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   605
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   606
	SLOW_EXEC1(EExecMutexSignal);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   609
__EXECDECL__ TInt Exec::ProcessId(TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   610
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   611
	SLOW_EXEC1(EExecProcessId);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   614
__EXECDECL__ void Exec::DllFileName(TInt, TDes8&)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   615
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   616
	SLOW_EXEC2(EExecDllFileName);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   619
__EXECDECL__ void Exec::ProcessResume(TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   620
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   621
	SLOW_EXEC1(EExecProcessResume);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   624
__EXECDECL__ void Exec::ProcessFileName(TInt, TDes8&)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   625
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   626
	SLOW_EXEC2(EExecProcessFileName);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   629
__EXECDECL__ void Exec::ProcessCommandLine(TInt, TDes8&)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   630
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   631
	SLOW_EXEC2(EExecProcessCommandLine);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   634
__EXECDECL__ TExitType Exec::ProcessExitType(TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   635
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   636
	SLOW_EXEC1(EExecProcessExitType);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   639
__EXECDECL__ TInt Exec::ProcessExitReason(TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   640
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   641
	SLOW_EXEC1(EExecProcessExitReason);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   644
__EXECDECL__ void Exec::ProcessExitCategory(TInt, TDes8&)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   645
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   646
	SLOW_EXEC2(EExecProcessExitCategory);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   649
__EXECDECL__ TProcessPriority Exec::ProcessPriority(TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   650
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   651
	SLOW_EXEC1(EExecProcessPriority);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   654
__EXECDECL__ TInt Exec::ProcessSetPriority(TInt, TProcessPriority)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   655
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   656
	SLOW_EXEC2(EExecProcessSetPriority);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   659
__EXECDECL__ TUint Exec::ProcessFlags(TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   660
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   661
	SLOW_EXEC1(EExecProcessFlags);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   664
__EXECDECL__ void Exec::ProcessSetFlags(TInt, TUint, TUint)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   665
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   666
	SLOW_EXEC3(EExecProcessSetFlags);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   669
__EXECDECL__ TInt Exec::SemaphoreWait(TInt, TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   670
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   671
	SLOW_EXEC2(EExecSemaphoreWait);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   674
__EXECDECL__ void Exec::SemaphoreSignal1(TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   675
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   676
	SLOW_EXEC1(EExecSemaphoreSignal1);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   679
__EXECDECL__ void Exec::SemaphoreSignalN(TInt, TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   680
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   681
	SLOW_EXEC2(EExecSemaphoreSignalN);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   684
__EXECDECL__ void Exec::ServerReceive(TInt, TRequestStatus&, TAny*)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   685
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   686
	SLOW_EXEC3(EExecServerReceive);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   689
__EXECDECL__ void Exec::ServerCancel(TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   690
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   691
	SLOW_EXEC1(EExecServerCancel);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   694
__EXECDECL__ void Exec::SetSessionPtr(TInt, const TAny*)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   695
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   696
	SLOW_EXEC2(EExecSetSessionPtr);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   699
__EXECDECL__ TInt Exec::ThreadId(TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   700
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   701
	SLOW_EXEC1(EExecThreadId);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   704
__EXECDECL__ TInt Exec::SessionShare(TInt&, TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   705
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   706
	SLOW_EXEC2(EExecSessionShare);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   709
__EXECDECL__ void Exec::ThreadResume(TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   710
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   711
	SLOW_EXEC1(EExecThreadResume);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   714
__EXECDECL__ void Exec::ThreadSuspend(TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   715
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   716
	SLOW_EXEC1(EExecThreadSuspend);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   719
__EXECDECL__ TThreadPriority Exec::ThreadPriority(TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   720
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   721
	SLOW_EXEC1(EExecThreadPriority);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   724
__EXECDECL__ void Exec::ThreadSetPriority(TInt, TThreadPriority)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   725
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   726
	SLOW_EXEC2(EExecThreadSetPriority);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   729
__EXECDECL__ TProcessPriority Exec::ThreadProcessPriority(TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   730
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   731
	SLOW_EXEC1(EExecThreadProcessPriority);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   734
__EXECDECL__ void Exec::ThreadSetProcessPriority(TInt, TProcessPriority)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   735
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   736
	SLOW_EXEC2(EExecThreadSetProcessPriority);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   739
__EXECDECL__ TUint Exec::ThreadFlags(TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   740
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   741
	SLOW_EXEC1(EExecThreadFlags);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   744
__EXECDECL__ void Exec::ThreadSetFlags(TInt, TUint, TUint)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   745
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   746
	SLOW_EXEC3(EExecThreadSetFlags);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   749
__EXECDECL__ TInt Exec::ThreadRequestCount(TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   750
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   751
	SLOW_EXEC1(EExecThreadRequestCount);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   754
__EXECDECL__ TExitType Exec::ThreadExitType(TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   755
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   756
	SLOW_EXEC1(EExecThreadExitType);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   759
__EXECDECL__ TInt Exec::ThreadExitReason(TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   760
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   761
	SLOW_EXEC1(EExecThreadExitReason);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   764
__EXECDECL__ void Exec::ThreadExitCategory(TInt, TDes8&)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   765
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   766
	SLOW_EXEC2(EExecThreadExitCategory);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   769
__EXECDECL__ void Exec::TimerCancel(TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   770
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   771
	SLOW_EXEC1(EExecTimerCancel);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   774
__EXECDECL__ void Exec::TimerAfter(TInt, TRequestStatus&, TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   775
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   776
	SLOW_EXEC3(EExecTimerAfter);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   779
__EXECDECL__ void Exec::TimerAt(TInt, TRequestStatus&, TUint32, TUint32)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   780
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   781
	SLOW_EXEC4(EExecTimerAt);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   784
__EXECDECL__ void Exec::TimerLock(TInt, TRequestStatus&, TTimerLockSpec)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   785
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   786
	SLOW_EXEC3(EExecTimerLock);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   789
__EXECDECL__ TInt Exec::ChangeNotifierLogon(TInt, TRequestStatus&)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   790
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   791
	SLOW_EXEC2(EExecChangeNotifierLogon);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   794
__EXECDECL__ TInt Exec::ChangeNotifierLogoff(TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   795
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   796
	SLOW_EXEC1(EExecChangeNotifierLogoff);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   799
__EXECDECL__ void Exec::RequestSignal(TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   800
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   801
	SLOW_EXEC1(EExecRequestSignal);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   804
__EXECDECL__ void Exec::HandleName(TInt, TDes8&)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   805
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   806
	SLOW_EXEC2(EExecHandleName);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   809
__EXECDECL__ void Exec::HandleFullName(TInt, TDes8&)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   810
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   811
	SLOW_EXEC2(EExecHandleFullName);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   814
__EXECDECL__ void Exec::HandleInfo(TInt, THandleInfo*)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   815
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   816
	SLOW_EXEC2(EExecHandleInfo);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   819
__EXECDECL__ void Exec::HandleCount(TInt, TInt&, TInt&)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   820
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   821
	SLOW_EXEC3(EExecHandleCount);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   824
__EXECDECL__ void Exec::After(TInt, TRequestStatus&)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   825
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   826
	SLOW_EXEC2(EExecAfter);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   829
__EXECDECL__ void Exec::At(const EXEC_TIME&, TRequestStatus&)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   830
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   831
	SLOW_EXEC2(EExecAt);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   834
__EXECDECL__ void Exec::MessageComplete(TInt, TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   835
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   836
	SLOW_EXEC2(EExecMessageComplete);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   839
__EXECDECL__ void Exec::MessageCompleteWithHandle(TInt, TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   840
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   841
	SLOW_EXEC2(EExecMessageCompleteWithHandle);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   844
__EXECDECL__ void Exec::TransferSession(TInt, TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   845
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   846
	SLOW_EXEC2(EExecTransferSession);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   849
__EXECDECL__ TInt Exec::TimeNow(EXEC_TIME&, TInt&)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   850
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   851
	SLOW_EXEC2(EExecTimeNow);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   854
__EXECDECL__ TInt Exec::TimeNowSecure(EXEC_TIME&, TInt&)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   855
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   856
	SLOW_EXEC2(EExecTimeNowSecure);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   859
__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
   860
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   861
	SLOW_EXEC4(EExecSetUTCTimeAndOffset);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   864
__EXECDECL__ TInt Exec::SetMachineConfiguration(const TDesC8&)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   865
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   866
	SLOW_EXEC1(EExecSetMachineConfiguration);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   869
__EXECDECL__ void Exec::CaptureEventHook()
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   870
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   871
	SLOW_EXEC0(EExecCaptureEventHook);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   874
__EXECDECL__ void Exec::ReleaseEventHook()
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   875
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   876
	SLOW_EXEC0(EExecReleaseEventHook);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   879
__EXECDECL__ void Exec::RequestEvent(TRawEventBuf&, TRequestStatus&)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   880
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   881
	SLOW_EXEC2(EExecRequestEvent);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   884
__EXECDECL__ void Exec::RequestEventCancel()
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   885
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   886
	SLOW_EXEC0(EExecRequestEventCancel);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   889
__EXECDECL__ TInt Exec::AddEvent(const TRawEvent&)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   890
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   891
	SLOW_EXEC1(EExecAddEvent);
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
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
   894
__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
   895
	{
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
   896
	//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
   897
	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
   898
		{
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   899
		//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
   900
		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
   901
		}
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   902
	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
   903
		{
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   904
		//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
   905
		__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
   906
		}
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
   907
92
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   908
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   909
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   910
__EXECDECL__ TInt Exec::HalFunction(TInt, TInt, TAny*, TAny*)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   911
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   912
	SLOW_EXEC4(EExecHalFunction);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   913
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   914
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   915
__EXECDECL__ void Exec::WsRegisterThread()
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   916
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   917
	SLOW_EXEC0(EExecWsRegisterThread);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   918
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   919
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   920
__EXECDECL__ void Exec::FsRegisterThread()
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   921
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   922
	SLOW_EXEC0(EExecFsRegisterThread);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   923
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   924
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   925
__EXECDECL__ TInt Exec::ProcessCommandLineLength(TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   926
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   927
	SLOW_EXEC1(EExecProcessCommandLineLength);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   928
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   929
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   930
__EXECDECL__ void Exec::TimerInactivity(TInt, TRequestStatus&, TInt)
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
	SLOW_EXEC3(EExecTimerInactivity);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   933
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   934
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   935
__EXECDECL__ TInt Exec::UserInactivityTime()
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   936
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   937
	SLOW_EXEC0(EExecUserInactivityTime);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   938
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   939
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   940
__EXECDECL__ void Exec::ResetInactivityTime()
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   941
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   942
	SLOW_EXEC0(EExecResetInactivityTime);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   943
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   944
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   945
__EXECDECL__ void Exec::DebugPrint(TAny*, TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   946
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   947
	SLOW_EXEC2(EExecDebugPrint);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   950
__EXECDECL__ TInt Exec::BreakPoint()
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   951
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   952
	SLOW_EXEC0(EExecBreakPoint);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   955
__EXECDECL__ TInt Exec::ProfileStart(TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   956
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   957
	SLOW_EXEC1(EExecProfileStart);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   960
__EXECDECL__ TInt Exec::ProfileEnd(TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   961
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   962
	SLOW_EXEC1(EExecProfileEnd);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   965
__EXECDECL__ TExceptionHandler Exec::ExceptionHandler(TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   966
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   967
	SLOW_EXEC1(EExecExceptionHandler);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   970
__EXECDECL__ TInt Exec::SetExceptionHandler(TInt, TExceptionHandler, TUint32)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   971
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   972
	SLOW_EXEC3(EExecSetExceptionHandler);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   975
__EXECDECL__ void Exec::ModifyExceptionMask(TInt, TUint32, TUint32)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   976
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   977
	SLOW_EXEC3(EExecModifyExceptionMask);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   980
__EXECDECL__ TInt Exec::RaiseException(TInt, TExcType)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   981
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   982
	SLOW_EXEC2(EExecRaiseException);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   985
__EXECDECL__ TInt Exec::IsExceptionHandled(TInt, TExcType, TBool)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   986
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   987
	SLOW_EXEC3(EExecIsExceptionHandled);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   990
__EXECDECL__ TInt Exec::ProcessGetMemoryInfo(TInt, TModuleMemoryInfo&)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   991
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   992
	SLOW_EXEC2(EExecProcessGetMemoryInfo);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   995
__EXECDECL__ TInt Exec::LibraryGetMemoryInfo(TInt, TModuleMemoryInfo&)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   996
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
   997
	SLOW_EXEC2(EExecLibraryGetMemoryInfo);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1000
__EXECDECL__ TInt Exec::MachineConfiguration(TDes8&, TInt&)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1001
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1002
	SLOW_EXEC2(EExecMachineConfiguration);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1005
__EXECDECL__ TInt Exec::SetMemoryThresholds(TInt, TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1006
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1007
	SLOW_EXEC2(EExecSetMemoryThresholds);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1010
__EXECDECL__ void Exec::LibraryType(TInt, TUidType&)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1011
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1012
	SLOW_EXEC2(EExecLibraryType);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1015
__EXECDECL__ void Exec::ProcessType(TInt, TUidType&)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1016
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1017
	SLOW_EXEC2(EExecProcessType);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1020
__EXECDECL__ TInt Exec::ChunkBottom(TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1021
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1022
	SLOW_EXEC1(EExecChunkBottom);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1025
__EXECDECL__ TInt Exec::ChunkTop(TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1026
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1027
	SLOW_EXEC1(EExecChunkTop);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1030
__EXECDECL__ void Exec::ThreadContext(TInt, TDes8&)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1031
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1032
	SLOW_EXEC2(EExecThreadContext);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1035
__EXECDECL__ TInt Exec::ThreadCreate(const TDesC8&, TOwnerType, SThreadCreateInfo8&)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1036
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1037
	SLOW_EXEC3(EExecThreadCreate);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1040
__EXECDECL__ TInt Exec::FindHandleOpen(TOwnerType, const TFindHandle&)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1041
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1042
	SLOW_EXEC2(EExecFindHandleOpen);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1045
__EXECDECL__ TInt Exec::HandleClose(TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1046
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1047
	SLOW_EXEC1(EExecHandleClose);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1050
__EXECDECL__ TInt Exec::ChunkCreate(TOwnerType, const TDesC8*, TChunkCreate&)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1051
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1052
	SLOW_EXEC3(EExecChunkCreate);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1055
__EXECDECL__ TInt Exec::ChunkAdjust(TInt, TInt, TInt, TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1056
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1057
	SLOW_EXEC4(EExecChunkAdjust);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1060
__EXECDECL__ TInt Exec::OpenObject(TObjectType, const TDesC8&, TOwnerType)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1061
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1062
	SLOW_EXEC3(EExecOpenObject);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1065
__EXECDECL__ TInt Exec::HandleDuplicate(TInt, TOwnerType, TInt&)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1066
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1067
	SLOW_EXEC3(EExecHandleDuplicate);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1070
__EXECDECL__ TInt Exec::MutexCreate(const TDesC8*, TOwnerType)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1071
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1072
	SLOW_EXEC2(EExecMutexCreate);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1075
__EXECDECL__ TInt Exec::SemaphoreCreate(const TDesC8*, TInt, TOwnerType)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1076
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1077
	SLOW_EXEC3(EExecSemaphoreCreate);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1080
__EXECDECL__ TInt Exec::ThreadOpenById(TUint, TOwnerType)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1081
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1082
	SLOW_EXEC2(EExecThreadOpenById);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1085
__EXECDECL__ TInt Exec::ProcessOpenById(TUint, TOwnerType)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1086
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1087
	SLOW_EXEC2(EExecProcessOpenById);
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
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
  1090
__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
  1091
	{
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
  1092
	//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
  1093
	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
  1094
		{
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
  1095
		//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
  1096
		__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
  1097
		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
  1098
		}
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
  1099
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
  1100
	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
  1101
		{
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
  1102
		//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
  1103
#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
  1104
		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
  1105
		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
  1106
		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
  1107
		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
  1108
#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
  1109
		__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
  1110
		}
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
  1111
	
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
  1112
	exit(aType);
92
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1115
__EXECDECL__ void Exec::ThreadLogon(TInt, TRequestStatus*, TBool)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1116
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1117
	SLOW_EXEC3(EExecThreadLogon);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1120
__EXECDECL__ TInt Exec::ThreadLogonCancel(TInt, TRequestStatus*, TBool)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1121
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1122
	SLOW_EXEC3(EExecThreadLogonCancel);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1125
__EXECDECL__ TInt Exec::DllSetTls(TInt, TInt, TAny*)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1126
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1127
	SLOW_EXEC3(EExecDllSetTls);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1128
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1129
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1130
__EXECDECL__ void Exec::DllFreeTls(TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1131
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1132
	SLOW_EXEC1(EExecDllFreeTls);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1133
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1134
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1135
__EXECDECL__ TInt Exec::ThreadRename(TInt, const TDesC8&)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1136
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1137
	SLOW_EXEC2(EExecThreadRename);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1138
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1139
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1140
__EXECDECL__ TInt Exec::ProcessRename(TInt, const TDesC8&)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1141
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1142
	SLOW_EXEC2(EExecProcessRename);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1143
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1144
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1145
__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
  1146
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1147
	SLOW_EXEC4(EExecProcessKill);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1148
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1149
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1150
__EXECDECL__ void Exec::ProcessLogon(TInt, TRequestStatus*, TBool)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1151
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1152
	SLOW_EXEC3(EExecProcessLogon);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1155
__EXECDECL__ TInt Exec::ProcessLogonCancel(TInt, TRequestStatus*, TBool)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1156
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1157
	SLOW_EXEC3(EExecProcessLogonCancel);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1160
__EXECDECL__ TInt Exec::ThreadProcess(TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1161
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1162
	SLOW_EXEC1(EExecThreadProcess);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1165
__EXECDECL__ TInt Exec::ServerCreate(const TDesC8*, TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1166
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1167
	SLOW_EXEC2(EExecServerCreate);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1170
__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
  1171
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1172
	SLOW_EXEC4(EExecServerCreateWithOptions);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1175
__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
  1176
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1177
	SLOW_EXEC4(EExecSessionCreate);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1180
__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
  1181
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1182
	SLOW_EXEC4(EExecSessionCreateFromHandle);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1185
EXPORT_C __EXECDECL__ TInt E32Loader::DeviceLoad(TAny*, TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1186
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1187
	SLOW_EXEC2(EExecDeviceLoad);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1190
__EXECDECL__ TInt Exec::DeviceFree(const TDesC8&, TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1191
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1192
	SLOW_EXEC2(EExecDeviceFree);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1195
__EXECDECL__ TInt Exec::ChannelCreate(const TDesC8&, TChannelCreateInfo8&, TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1196
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1197
	SLOW_EXEC3(EExecChannelCreate);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1200
__EXECDECL__ TInt Exec::TimerCreate()
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1201
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1202
	SLOW_EXEC0(EExecTimerCreate);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1205
__EXECDECL__ void Exec::TimerHighRes(TInt, TRequestStatus&, TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1206
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1207
	SLOW_EXEC3(EExecTimerHighRes);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1210
__EXECDECL__ void Exec::AfterHighRes(TInt, TRequestStatus&)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1211
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1212
	SLOW_EXEC2(EExecAfterHighRes);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1215
__EXECDECL__ TInt Exec::ChangeNotifierCreate(TOwnerType)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1216
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1217
	SLOW_EXEC1(EExecChangeNotifierCreate);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1220
__EXECDECL__ TInt Exec::UndertakerCreate(TOwnerType)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1221
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1222
	SLOW_EXEC1(EExecUndertakerCreate);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1225
__EXECDECL__ TInt Exec::UndertakerLogon(TInt, TRequestStatus&, TInt&)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1226
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1227
	SLOW_EXEC3(EExecUndertakerLogon);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1230
__EXECDECL__ TInt Exec::UndertakerLogonCancel(TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1231
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1232
	SLOW_EXEC1(EExecUndertakerLogonCancel);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1235
__EXECDECL__ void Exec::KernelHeapDebug(TInt, TInt, TAny*)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1236
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1237
	SLOW_EXEC3(EExecKernelHeapDebug);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1240
__EXECDECL__ TInt Exec::ThreadGetCpuTime(TInt, EXEC_INT64&)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1241
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1242
	SLOW_EXEC2(EExecThreadGetCpuTime);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1245
EXPORT_C __EXECDECL__ TInt E32Loader::CodeSegCreate(TCodeSegCreateInfo&)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1246
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1247
	SLOW_EXEC1(EExecCodeSegCreate);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1250
EXPORT_C __EXECDECL__ TInt E32Loader::CodeSegLoaded(TCodeSegCreateInfo&)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1251
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1252
	SLOW_EXEC1(EExecCodeSegLoaded);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1255
EXPORT_C __EXECDECL__ TInt E32Loader::LibraryCreate(TLibraryCreateInfo&)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1256
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1257
	SLOW_EXEC1(EExecLibraryCreate);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1260
EXPORT_C __EXECDECL__ TInt E32Loader::CodeSegOpen(TAny*, TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1261
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1262
	SLOW_EXEC2(EExecCodeSegOpen);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1265
EXPORT_C __EXECDECL__ void E32Loader::CodeSegClose(TAny*)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1266
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1267
	SLOW_EXEC1(EExecCodeSegClose);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1270
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
  1271
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1272
	SLOW_EXEC2(EExecCodeSegNext);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1275
EXPORT_C __EXECDECL__ void E32Loader::CodeSegInfo(TAny*, TCodeSegCreateInfo&)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1276
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1277
	SLOW_EXEC2(EExecCodeSegInfo);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1280
EXPORT_C __EXECDECL__ TInt E32Loader::CodeSegAddDependency(TAny*, TAny*)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1281
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1282
	SLOW_EXEC2(EExecCodeSegAddDependency);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1285
EXPORT_C __EXECDECL__ void E32Loader::CodeSegDeferDeletes()
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1286
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1287
	SLOW_EXEC0(EExecCodeSegDeferDeletes);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1290
EXPORT_C __EXECDECL__ void E32Loader::CodeSegEndDeferDeletes()
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1291
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1292
	SLOW_EXEC0(EExecCodeSegEndDeferDeletes);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1295
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
  1296
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1297
	SLOW_EXEC2(EExecProcessCreate);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1300
EXPORT_C __EXECDECL__ TInt E32Loader::ProcessLoaded(TProcessCreateInfo&)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1301
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1302
	SLOW_EXEC1(EExecProcessLoaded);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1305
EXPORT_C __EXECDECL__ TInt E32Loader::CheckClientState(TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1306
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1307
	SLOW_EXEC1(EExecCheckLoaderClientState);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1310
EXPORT_C __EXECDECL__ TAny* E32Loader::ThreadProcessCodeSeg(TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1311
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1312
	SLOW_EXEC1(EExecThreadProcessCodeSeg);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1315
EXPORT_C __EXECDECL__ void E32Loader::ReadExportDir(TAny*, TLinAddr*)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1316
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1317
	SLOW_EXEC2(EExecCodeSegReadExportDir);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1320
__EXECDECL__ TInt E32Loader::WaitDllLock()
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1321
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1322
	SLOW_EXEC0(EExecWaitDllLock);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1325
__EXECDECL__ TInt E32Loader::ReleaseDllLock()
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1326
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1327
	SLOW_EXEC0(EExecReleaseDllLock);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1330
__EXECDECL__ TInt E32Loader::LibraryAttach(TInt, TInt&, TLinAddr*)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1331
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1332
	SLOW_EXEC3(EExecLibraryAttach);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1335
__EXECDECL__ TInt E32Loader::LibraryAttached(TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1336
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1337
	SLOW_EXEC1(EExecLibraryAttached);
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
93
7c26c0978cbf Adding includes to project. Slow progress on the process init sequence.
Slion
parents: 92
diff changeset
  1340
__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
  1341
	{
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
  1342
	//SLOW_EXEC2(EExecStaticCallList);
93
7c26c0978cbf Adding includes to project. Slow progress on the process init sequence.
Slion
parents: 92
diff changeset
  1343
	//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
  1344
	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
  1345
	
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
  1346
	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
  1347
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
  1348
	return KErrNone;
92
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1349
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1350
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1351
__EXECDECL__ TInt E32Loader::LibraryDetach(TInt&, TLinAddr*)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1352
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1353
	SLOW_EXEC2(EExecLibraryDetach);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1354
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1355
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1356
__EXECDECL__ TInt E32Loader::LibraryDetached()
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1357
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1358
	SLOW_EXEC0(EExecLibraryDetached);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1359
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1360
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1361
__EXECDECL__ TInt Exec::LastThreadHandle()
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1362
	{
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
  1363
	//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
  1364
	//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
  1365
	return 0;
92
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1366
	}
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
__EXECDECL__ void Exec::ThreadRendezvous(TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1369
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1370
	SLOW_EXEC1(EExecThreadRendezvous);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1371
	}
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
__EXECDECL__ void Exec::ProcessRendezvous(TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1374
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1375
	SLOW_EXEC1(EExecProcessRendezvous);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1376
	}
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
__EXECDECL__ TInt Exec::MessageGetDesLength(TInt, TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1379
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1380
	SLOW_EXEC2(EExecMessageGetDesLength);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1381
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1382
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1383
__EXECDECL__ TInt Exec::MessageGetDesMaxLength(TInt, TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1384
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1385
	SLOW_EXEC2(EExecMessageGetDesMaxLength);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1386
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1387
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1388
__EXECDECL__ TInt Exec::MessageClient(TInt, TOwnerType)
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
	SLOW_EXEC2(EExecMessageClient);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1393
__EXECDECL__ TInt Exec::MessageSetProcessPriority(TInt, TProcessPriority)
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
	SLOW_EXEC2(EExecMessageSetProcessPriority);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1398
__EXECDECL__ void Exec::MessageConstructFromPtr(TInt, TAny*)
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
	SLOW_EXEC2(EExecMessageConstructFromPtr);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1401
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1402
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1403
__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
  1404
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1405
	SLOW_EXEC4(EExecMessageKill);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1408
__EXECDECL__ TInt Exec::MessageOpenObject(TInt, TObjectType, TInt, TOwnerType)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1409
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1410
	SLOW_EXEC4(EExecMessageOpenObject);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1413
__EXECDECL__ void Exec::ProcessSecurityInfo(TInt, SSecurityInfo&)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1414
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1415
	SLOW_EXEC2(EExecProcessSecurityInfo);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1418
__EXECDECL__ void Exec::ThreadSecurityInfo(TInt, SSecurityInfo&)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1419
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1420
	SLOW_EXEC2(EExecThreadSecurityInfo);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1423
__EXECDECL__ void Exec::MessageSecurityInfo(TInt, SSecurityInfo&)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1424
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1425
	SLOW_EXEC2(EExecMessageSecurityInfo);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1428
__EXECDECL__ void Exec::CreatorSecurityInfo(SSecurityInfo&)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1429
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1430
	SLOW_EXEC1(EExecCreatorSecurityInfo);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1433
__EXECDECL__ void Exec::DisabledCapabilities(SCapabilitySet&)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1434
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1435
	SLOW_EXEC1(EExecDisabledCapabilities);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1438
__EXECDECL__ TInt Exec::ChunkSetRestrictions(TInt, TUint)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1439
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1440
	SLOW_EXEC2(EExecChunkSetRestrictions);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1443
__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
  1444
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1445
	SLOW_EXEC4(EExecMsgQueueCreate);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1448
__EXECDECL__ TInt Exec::MsgQueueSend(TInt, const TAny*, TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1449
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1450
	SLOW_EXEC3(EExecMsgQueueSend);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1453
__EXECDECL__ TInt Exec::MsgQueueReceive(TInt, TAny*, TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1454
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1455
	SLOW_EXEC3(EExecMsgQueueReceive);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1458
__EXECDECL__ void Exec::MsgQueueNotifySpaceAvailable(TInt, TRequestStatus&)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1459
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1460
	SLOW_EXEC2(EExecMsgQueueNotifySpaceAvailable);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1463
__EXECDECL__ void Exec::MsgQueueCancelSpaceAvailable(TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1464
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1465
	SLOW_EXEC1(EExecMsgQueueCancelSpaceAvailable);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1468
__EXECDECL__ void Exec::MsgQueueNotifyDataAvailable(TInt, TRequestStatus&)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1469
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1470
	SLOW_EXEC2(EExecMsgQueueNotifyDataAvailable);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1473
__EXECDECL__ void Exec::MsgQueueCancelDataAvailable(TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1474
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1475
	SLOW_EXEC1(EExecMsgQueueCancelDataAvailable);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1478
__EXECDECL__ TInt Exec::MsgQueueSize(TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1479
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1480
	SLOW_EXEC1(EExecMsgQueueSize);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1483
__EXECDECL__ TInt Exec::PropertyDefine(TUint, TUint, TPropertyInfo*)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1484
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1485
	SLOW_EXEC3(EExecPropertyDefine);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1488
__EXECDECL__ TInt Exec::PropertyDelete(TUint, TUint)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1489
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1490
	SLOW_EXEC2(EExecPropertyDelete);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1493
__EXECDECL__ TInt Exec::PropertyAttach(TUint, TUint, TOwnerType)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1494
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1495
	SLOW_EXEC3(EExecPropertyAttach);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1498
__EXECDECL__ void Exec::PropertySubscribe(TInt, TRequestStatus*)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1499
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1500
	SLOW_EXEC2(EExecPropertySubscribe);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1503
__EXECDECL__ void Exec::PropertyCancel(TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1504
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1505
	SLOW_EXEC1(EExecPropertyCancel);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1508
__EXECDECL__ TInt Exec::PropertyGetI(TInt, TInt*)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1509
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1510
	SLOW_EXEC2(EExecPropertyGetI);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1513
__EXECDECL__ TInt Exec::PropertyGetB(TInt, TUint8*, TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1514
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1515
	SLOW_EXEC3(EExecPropertyGetB);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1518
__EXECDECL__ TInt Exec::PropertySetI(TInt, TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1519
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1520
	SLOW_EXEC2(EExecPropertySetI);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1523
__EXECDECL__ TInt Exec::PropertySetB(TInt, const TUint8*, TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1524
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1525
	SLOW_EXEC3(EExecPropertySetB);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1528
__EXECDECL__ TInt Exec::PropertyFindGetI(TUint, TUint, TInt*)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1529
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1530
	SLOW_EXEC3(EExecPropertyFindGetI);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1533
__EXECDECL__ TInt Exec::PropertyFindGetB(TUint, TUint, TUint8*, TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1534
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1535
	SLOW_EXEC4(EExecPropertyFindGetB);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1538
__EXECDECL__ TInt Exec::PropertyFindSetI(TUint, TUint, TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1539
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1540
	SLOW_EXEC3(EExecPropertyFindSetI);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1543
__EXECDECL__ TInt Exec::PropertyFindSetB(TUint, TUint, TUint8*, TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1544
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1545
	SLOW_EXEC4(EExecPropertyFindSetB);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1548
__EXECDECL__ TInt Exec::PowerEnableWakeupEvents(TPowerState)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1549
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1550
	SLOW_EXEC1(EExecPowerEnableWakeupEvents);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1553
__EXECDECL__ void Exec::PowerDisableWakeupEvents()
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1554
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1555
	SLOW_EXEC0(EExecPowerDisableWakeupEvents);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1558
__EXECDECL__ void Exec::PowerRequestWakeupEventNotification(TRequestStatus*)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1559
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1560
	SLOW_EXEC1(EExecPowerRequestWakeupEventNotification);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1563
__EXECDECL__ void Exec::PowerCancelWakeupEventNotification()
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1564
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1565
	SLOW_EXEC0(EExecPowerCancelWakeupEventNotification);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1568
__EXECDECL__ TInt Exec::PowerDown()
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1569
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1570
	SLOW_EXEC0(EExecPowerDown);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1573
__EXECDECL__ TInt Exec::ProcessSetHandleParameter(TInt, TInt, TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1574
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1575
	SLOW_EXEC3(EExecProcessSetHandleParameter);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1578
__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
  1579
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1580
	SLOW_EXEC4(EExecProcessSetDataParameter);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1583
__EXECDECL__ TInt Exec::ProcessGetHandleParameter(TInt, TObjectType, TOwnerType)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1584
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1585
	SLOW_EXEC3(EExecProcessGetHandleParameter);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1588
__EXECDECL__ TInt Exec::ProcessGetDataParameter(TInt, TUint8*, TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1589
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1590
	SLOW_EXEC3(EExecProcessGetDataParameter);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1593
__EXECDECL__ TInt Exec::ProcessDataParameterLength(TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1594
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1595
	SLOW_EXEC1(EExecProcessDataParameterLength);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1598
__EXECDECL__ TUint Exec::MessageClientProcessFlags(TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1599
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1600
	SLOW_EXEC1(EExecMessageClientProcessFlags);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1603
__EXECDECL__ TInt Exec::ThreadStackInfo(TInt, TThreadStackInfo&)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1604
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1605
	SLOW_EXEC2(EExecThreadStackInfo);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1608
__EXECDECL__ RAllocator* Exec::ThreadGetHeap(TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1609
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1610
	SLOW_EXEC1(EExecThreadGetHeap);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1613
__EXECDECL__ TInt Exec::ThreadAsProcess(TInt, TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1614
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1615
	SLOW_EXEC2(EExecThreadAsProcess);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1618
__EXECDECL__ TInt Exec::CondVarCreate(const TDesC8*, TOwnerType)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1619
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1620
	SLOW_EXEC2(EExecCondVarCreate);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1623
__EXECDECL__ TInt Exec::CondVarWait(TInt, TInt, TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1624
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1625
	SLOW_EXEC3(EExecCondVarWait);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1628
__EXECDECL__ void Exec::CondVarSignal(TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1629
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1630
	SLOW_EXEC1(EExecCondVarSignal);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1633
__EXECDECL__ void Exec::CondVarBroadcast(TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1634
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1635
	SLOW_EXEC1(EExecCondVarBroadcast);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1638
__EXECDECL__ TInt Exec::PlatSecDiagnostic(TPlatSecDiagnostic*)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1639
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1640
	SLOW_EXEC1(EExecPlatSecDiagnostic);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1643
__EXECDECL__ TLinAddr Exec::ExceptionDescriptor(TLinAddr)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1644
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1645
	SLOW_EXEC1(EExecExceptionDescriptor);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1648
__EXECDECL__ void Exec::ThreadRequestSignal(TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1649
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1650
	SLOW_EXEC1(EExecThreadRequestSignal);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1653
__EXECDECL__ TBool Exec::MutexIsHeld(TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1654
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1655
	SLOW_EXEC1(EExecMutexIsHeld);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1658
__EXECDECL__ TTrapHandler* Exec::LeaveStart()
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1659
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1660
	SLOW_EXEC0(EExecLeaveStart);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1663
__EXECDECL__ void Exec::LeaveEnd()
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1664
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1665
	SLOW_EXEC0(EExecLeaveEnd);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1668
__EXECDECL__ void Exec::SetDebugMaskIndex(TUint32, TUint)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1669
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1670
	SLOW_EXEC2(EExecSetDebugMaskIndex);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1673
__EXECDECL__ TInt Exec::GetModuleNameFromAddress(TAny*, TDes8&)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1674
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1675
	SLOW_EXEC2(EExecGetModuleNameFromAddress);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1678
__EXECDECL__ void Exec::NotifyChanges(TUint)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1679
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1680
	SLOW_EXEC1(EExecNotifyChanges);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1683
__EXECDECL__ TInt Exec::SetGlobalUserData(TInt, TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1684
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1685
	SLOW_EXEC2(EExecSetGlobalUserData);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1688
__EXECDECL__ TInt Exec::SessionSecurityInfo(TInt, SSecurityInfo&)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1689
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1690
	SLOW_EXEC2(EExecSessionSecurityInfo);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1693
__EXECDECL__ const TRequestStatus* Exec::MessageClientStatus(TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1694
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1695
	SLOW_EXEC1(EExecMessageClientStatus);
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
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1698
__EXECDECL__ TInt Exec::SetFloatingPointMode(TFloatingPointMode, TFloatingPointRoundingMode)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1699
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1700
	SLOW_EXEC2(EExecSetFloatingPointMode);
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
EXPORT_C __EXECDECL__ TBool BTrace::CheckFilter2(TUint32, TUint32)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1704
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1705
	SLOW_EXEC2(EExecCheckFilter2);
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__ TAny* Exec::ProcessExeExportData()
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_EXEC0(EExecProcessExeExportData);
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
EXPORT_C __EXECDECL__ TInt E32Loader::NotifyIfCodeSegDestroyed(TRequestStatus&)
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_EXEC1(EExecNotifyIfCodeSegDestroyed);
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
EXPORT_C __EXECDECL__ TInt E32Loader::GetDestroyedCodeSegInfo(TCodeSegLoaderCookie&)
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(EExecGetDestroyedCodeSegInfo);
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
EXPORT_C __EXECDECL__ TInt Exec::SetWin32RuntimeHook(TAny*)
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_EXEC1(EExecSetWin32RuntimeHook);
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::GetBTraceId(TInt)
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_EXEC1(EExecGetBTraceId);
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__ void Exec::NotifyOnIdle(TRequestStatus*)
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(EExecNotifyOnIdle);
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__ void Exec::CancelMiscNotifier(TRequestStatus*)
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_EXEC1(EExecCancelMiscNotifier);
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
__EXECDECL__ void Exec::NotifyObjectDestruction(TInt, TRequestStatus*)
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(EExecNotifyObjectDestruction);
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__ void Exec::RegisterTrustedChunk(TInt)
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_EXEC1(EExecRegisterTrustedChunk);
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
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
  1753
/*
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
  1754
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
  1755
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
  1756
@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
  1757
@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
  1758
*/
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
  1759
__EXECDECL__ TBool Exec::UserThreadExiting(TInt aReason)
92
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1760
	{
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
  1761
	//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
  1762
	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
  1763
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
  1764
	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
  1765
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1766
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1767
__EXECDECL__ TBool Exec::ChunkIsPaged(TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1768
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1769
	SLOW_EXEC1(EExecChunkIsPaged);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1770
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1771
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1772
__EXECDECL__ TBool Exec::ProcessDefaultDataPaged(TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1773
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1774
	SLOW_EXEC1(EExecProcessDefaultDataPaged);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1775
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1776
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1777
__EXECDECL__ TUint Exec::MessageClientThreadFlags(TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1778
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1779
	SLOW_EXEC1(EExecMessageClientThreadFlags);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1780
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1781
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1782
__EXECDECL__ TInt Exec::ShPoolCreate(const TShPoolInfo&, TUint)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1783
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1784
	SLOW_EXEC2(EExecShPoolCreate);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1785
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1786
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1787
__EXECDECL__ TInt Exec::ShPoolAlloc(TInt, TUint, SShBufBaseAndSize&)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1788
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1789
	SLOW_EXEC3(EExecShPoolAlloc);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1790
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1791
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1792
__EXECDECL__ void Exec::ShPoolGetInfo(TInt, TShPoolInfo&)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1793
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1794
	SLOW_EXEC2(EExecShPoolGetInfo);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1795
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1796
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1797
__EXECDECL__ TUint Exec::ShPoolFreeCount(TInt)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1798
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1799
	SLOW_EXEC1(EExecShPoolFreeCount);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1800
	}
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1801
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1802
__EXECDECL__ TInt Exec::ShPoolNotification(TInt, TShPoolNotifyType, TUint, TRequestStatus&)
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1803
	{
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1804
	SLOW_EXEC4(EExecShPoolNotification);
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__ TInt Exec::ShPoolNotificationCancel(TInt, TShPoolNotifyType, TRequestStatus&)
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_EXEC3(EExecShPoolNotificationCancel);
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__ TInt Exec::ShPoolBufferWindow(TInt, TInt, TBool)
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_EXEC3(EExecShPoolBufferWindow);
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__ TInt Exec::ShBufMap(TInt, TBool, SShBufBaseAndSize&)
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_EXEC3(EExecShBufMap);
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::ShBufUnMap(TInt)
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_EXEC1(EExecShBufUnMap);
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::ShBufBaseAndSize(TInt, 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_EXEC2(EExecShBufBaseAndSize);
14c2cc33e762 Adding place holder for symc exec implementation.
Stephane Lenclud <tortoisehg@lenclud.com>
parents:
diff changeset
  1830
	}
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
  1831
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
  1832
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
  1833
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
  1834
#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
  1835
f36eb4948686 Basic process initialisation and shutdown working. Using small fixed heap for now. Fixing missing global Symbian C++ new operators. Panics on Win32 now display error message.
Stephane Lenclud <tortoisehg@lenclud.com>
parents: 93
diff changeset
  1836