sl@0
|
1 |
// Copyright (c) 1998-2009 Nokia Corporation and/or its subsidiary(-ies).
|
sl@0
|
2 |
// All rights reserved.
|
sl@0
|
3 |
// This component and the accompanying materials are made available
|
sl@0
|
4 |
// under the terms of the License "Eclipse Public License v1.0"
|
sl@0
|
5 |
// which accompanies this distribution, and is available
|
sl@0
|
6 |
// at the URL "http://www.eclipse.org/legal/epl-v10.html".
|
sl@0
|
7 |
//
|
sl@0
|
8 |
// Initial Contributors:
|
sl@0
|
9 |
// Nokia Corporation - initial contribution.
|
sl@0
|
10 |
//
|
sl@0
|
11 |
// Contributors:
|
sl@0
|
12 |
//
|
sl@0
|
13 |
// Description:
|
sl@0
|
14 |
// e32test\system\execinfo.h
|
sl@0
|
15 |
//
|
sl@0
|
16 |
//
|
sl@0
|
17 |
|
sl@0
|
18 |
#ifndef __EXEC_INFO_H__
|
sl@0
|
19 |
#define __EXEC_INFO_H__
|
sl@0
|
20 |
#include "u32std.h"
|
sl@0
|
21 |
|
sl@0
|
22 |
struct SExecInfo
|
sl@0
|
23 |
{
|
sl@0
|
24 |
TInt iExecNum;
|
sl@0
|
25 |
TInt iNumParams;
|
sl@0
|
26 |
TInt iParamType1;
|
sl@0
|
27 |
TInt iParamType2;
|
sl@0
|
28 |
TInt iParamType3;
|
sl@0
|
29 |
TInt iParamType4;
|
sl@0
|
30 |
};
|
sl@0
|
31 |
|
sl@0
|
32 |
|
sl@0
|
33 |
#define ANY_HANDLE 0 // null, invalid, thread, library
|
sl@0
|
34 |
#define THREAD_HANDLE 1 // null, invalid, thread, process
|
sl@0
|
35 |
#define PROCESS_HANDLE 2 // null, invalid, thread, process
|
sl@0
|
36 |
#define CHUNK_HANDLE 3 // null, invalid, thread, chunk
|
sl@0
|
37 |
#define LIBRARY_HANDLE 4 // null, invalid, thread, library
|
sl@0
|
38 |
#define SEM_HANDLE 5 // null, invalid, thread, semaphore
|
sl@0
|
39 |
#define MUTEX_HANDLE 6 // null, invalid, thread, mutex
|
sl@0
|
40 |
#define TIMER_HANDLE 7 // null, invalid, thread, timer
|
sl@0
|
41 |
#define SERVER_HANDLE 8 // null, invalid, thread, server
|
sl@0
|
42 |
#define SESSION_HANDLE 9 // null, invalid, thread, session
|
sl@0
|
43 |
#define LDEV_HANDLE 10 // null, invalid, thread, logical device
|
sl@0
|
44 |
#define PDEV_HANDLE 11 // null, invalid, thread, physical device
|
sl@0
|
45 |
#define CHANNEL_HANDLE 12 // null, invalid, thread, logical channel
|
sl@0
|
46 |
#define CHNOT_HANDLE 13 // null, invalid, thread, change notifier
|
sl@0
|
47 |
#define UND_HANDLE 14 // null, invalid, thread, undertaker
|
sl@0
|
48 |
#define MAX_HANDLE 32
|
sl@0
|
49 |
#define NO_PAR -1
|
sl@0
|
50 |
#define ANY_INT 128 // 0, 1, 2, -1, 299792458
|
sl@0
|
51 |
#define ANY_PTR 129 // null, invalid, valid user, valid supervisor
|
sl@0
|
52 |
#define INT_PTR 130 // null, invalid, valid user, valid supervisor, unaligned
|
sl@0
|
53 |
#define DES8 131 // null, invalid, valid supervisor, null ptr, invalid ptr, valid sup ptr, valid user ptr
|
sl@0
|
54 |
#define WDES8 132 // null, invalid, valid supervisor, null ptr, invalid ptr, valid sup ptr, valid user ptr, valid user DesC
|
sl@0
|
55 |
#define DES 133 // null, invalid, valid supervisor, null ptr, invalid ptr, valid sup ptr, valid user ptr
|
sl@0
|
56 |
#define WDES 134 // null, invalid, valid supervisor, null ptr, invalid ptr, valid sup ptr, valid user ptr, valid user DesC
|
sl@0
|
57 |
#define BOOL 135 // 0, 1, other
|
sl@0
|
58 |
#define OBJECT_TYPE 136 // 0, 3, 14, 20000
|
sl@0
|
59 |
#define DEV_UNIT 137 // 0, 1, 20000
|
sl@0
|
60 |
#define MSG_HANDLE 138 // null, invalid, valid user, valid sup but not msg, valid msg
|
sl@0
|
61 |
#define MODULE_HANDLE 139 // null, invalid, valid
|
sl@0
|
62 |
#define SESSION_HANDLE_PTR 140 // null, invalid, valid user, valid supervisor
|
sl@0
|
63 |
|
sl@0
|
64 |
|
sl@0
|
65 |
#endif
|