os/kernelhwsrv/userlibandfileserver/fileserver/inc/f32tracedef.h
changeset 0 bde4ae8d615e
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/os/kernelhwsrv/userlibandfileserver/fileserver/inc/f32tracedef.h	Fri Jun 15 03:10:57 2012 +0200
     1.3 @@ -0,0 +1,71 @@
     1.4 +/*
     1.5 +* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
     1.6 +* All rights reserved.
     1.7 +* This component and the accompanying materials are made available
     1.8 +* under the terms of the License "Eclipse Public License v1.0"
     1.9 +* which accompanies this distribution, and is available
    1.10 +* at the URL "http://www.eclipse.org/legal/epl-v10.html".
    1.11 +*
    1.12 +* Initial Contributors:
    1.13 +* Nokia Corporation - initial contribution.
    1.14 +*
    1.15 +* Contributors:
    1.16 +*
    1.17 +* Description:
    1.18 +*
    1.19 +* WARNING: This file contains some APIs which are internal and are subject
    1.20 +*          to change without notice. Such APIs should therefore not be used
    1.21 +*          outside the Kernel and Hardware Services package.
    1.22 +*/
    1.23 +// F32TRACEDEF.H
    1.24 +//
    1.25 +
    1.26 +#if !defined(__F32TRACEDEF_H__)
    1.27 +#define __F32TRACEDEF_H__
    1.28 +
    1.29 +//*********************************
    1.30 +// from e32utrace_basic_types.h
    1.31 +//*********************************
    1.32 +typedef TUint8  TClassification;	// same as BTrace::TCategory
    1.33 +typedef TUint32 TModuleUid;			
    1.34 +typedef TUint16 TFormatId;			// 2 bytes occupying first 32-bit word of data
    1.35 +
    1.36 +namespace UTF
    1.37 +	{
    1.38 +	const static TFormatId KInitialClientFormat = 512; 
    1.39 +	const static TFormatId KMaxFormatId = KMaxTUint16;		// 0xFFFF
    1.40 +
    1.41 +	enum TClassificationAll
    1.42 +		{
    1.43 +		EPanic = 192,
    1.44 +		EError = 193,
    1.45 +		EWarning = 194, 
    1.46 +		EBorder = 195, 
    1.47 +		EState = 196, 
    1.48 +		EInternals = 197, 
    1.49 +		EDump = 198, 
    1.50 +		EFlow = 199, 
    1.51 +		ESystemCharacteristicMetrics = 200, 
    1.52 +		EAdhoc = 201,
    1.53 +		EClassificationAllHighWaterMark, 
    1.54 +		};
    1.55 +	}	// namespace UTF
    1.56 +
    1.57 +
    1.58 +enum TF32TraceFormatUids
    1.59 +	{
    1.60 +	EF32TraceUidEfsrv		=	0x100039e4,	// 268450276
    1.61 +	EF32TraceUidFirst		=	0x10286575,	// 271082869
    1.62 +	EF32TraceUidLast		=	0x10286594,	// 271082900
    1.63 +	
    1.64 +	EF32TraceUidFileSys		=	0x10286575,	// 271082869
    1.65 +	EF32TraceUidProxyDrive	=	0x10286576,	// 271082870
    1.66 +
    1.67 +    // Provided to allow the following compile time assert.
    1.68 +    ETraceUidHighWaterMark,
    1.69 +    };
    1.70 +    __ASSERT_COMPILE(ETraceUidHighWaterMark <= (EF32TraceUidLast + 1));
    1.71 +	
    1.72 +
    1.73 +#endif
    1.74 +