os/kernelhwsrv/kerneltest/e32test/system/execinfo.h
changeset 0 bde4ae8d615e
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/os/kernelhwsrv/kerneltest/e32test/system/execinfo.h	Fri Jun 15 03:10:57 2012 +0200
     1.3 @@ -0,0 +1,65 @@
     1.4 +// Copyright (c) 1998-2009 Nokia Corporation and/or its subsidiary(-ies).
     1.5 +// All rights reserved.
     1.6 +// This component and the accompanying materials are made available
     1.7 +// under the terms of the License "Eclipse Public License v1.0"
     1.8 +// which accompanies this distribution, and is available
     1.9 +// at the URL "http://www.eclipse.org/legal/epl-v10.html".
    1.10 +//
    1.11 +// Initial Contributors:
    1.12 +// Nokia Corporation - initial contribution.
    1.13 +//
    1.14 +// Contributors:
    1.15 +//
    1.16 +// Description:
    1.17 +// e32test\system\execinfo.h
    1.18 +// 
    1.19 +//
    1.20 +
    1.21 +#ifndef __EXEC_INFO_H__
    1.22 +#define __EXEC_INFO_H__
    1.23 +#include "u32std.h"
    1.24 +
    1.25 +struct SExecInfo
    1.26 +	{
    1.27 +	TInt iExecNum;
    1.28 +	TInt iNumParams;
    1.29 +	TInt iParamType1;
    1.30 +	TInt iParamType2;
    1.31 +	TInt iParamType3;
    1.32 +	TInt iParamType4;
    1.33 +	};
    1.34 +
    1.35 +
    1.36 +#define ANY_HANDLE			0			// null, invalid, thread, library
    1.37 +#define THREAD_HANDLE		1			// null, invalid, thread, process
    1.38 +#define PROCESS_HANDLE		2			// null, invalid, thread, process
    1.39 +#define CHUNK_HANDLE		3			// null, invalid, thread, chunk
    1.40 +#define LIBRARY_HANDLE		4			// null, invalid, thread, library
    1.41 +#define SEM_HANDLE			5			// null, invalid, thread, semaphore
    1.42 +#define MUTEX_HANDLE		6			// null, invalid, thread, mutex
    1.43 +#define TIMER_HANDLE		7			// null, invalid, thread, timer
    1.44 +#define SERVER_HANDLE		8			// null, invalid, thread, server
    1.45 +#define SESSION_HANDLE		9			// null, invalid, thread, session
    1.46 +#define LDEV_HANDLE			10			// null, invalid, thread, logical device
    1.47 +#define PDEV_HANDLE			11			// null, invalid, thread, physical device
    1.48 +#define CHANNEL_HANDLE		12			// null, invalid, thread, logical channel
    1.49 +#define CHNOT_HANDLE		13			// null, invalid, thread, change notifier
    1.50 +#define UND_HANDLE			14			// null, invalid, thread, undertaker
    1.51 +#define MAX_HANDLE			32
    1.52 +#define	NO_PAR				-1
    1.53 +#define ANY_INT				128			// 0, 1, 2, -1, 299792458
    1.54 +#define ANY_PTR				129			// null, invalid, valid user, valid supervisor
    1.55 +#define INT_PTR				130			// null, invalid, valid user, valid supervisor, unaligned
    1.56 +#define	DES8				131			// null, invalid, valid supervisor, null ptr, invalid ptr, valid sup ptr, valid user ptr
    1.57 +#define WDES8				132			// null, invalid, valid supervisor, null ptr, invalid ptr, valid sup ptr, valid user ptr, valid user DesC
    1.58 +#define	DES					133			// null, invalid, valid supervisor, null ptr, invalid ptr, valid sup ptr, valid user ptr
    1.59 +#define WDES				134			// null, invalid, valid supervisor, null ptr, invalid ptr, valid sup ptr, valid user ptr, valid user DesC
    1.60 +#define	BOOL				135			// 0, 1, other
    1.61 +#define OBJECT_TYPE			136			// 0, 3, 14, 20000
    1.62 +#define DEV_UNIT			137			// 0, 1, 20000
    1.63 +#define MSG_HANDLE			138			// null, invalid, valid user, valid sup but not msg, valid msg
    1.64 +#define MODULE_HANDLE		139			// null, invalid, valid
    1.65 +#define SESSION_HANDLE_PTR	140			// null, invalid, valid user, valid supervisor
    1.66 +
    1.67 +
    1.68 +#endif