userlibandfileserver/fileserver/inc/f32tracedef.h
changeset 0 a41df078684a
equal deleted inserted replaced
-1:000000000000 0:a41df078684a
       
     1 /*
       
     2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of the License "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:
       
    15 *
       
    16 * WARNING: This file contains some APIs which are internal and are subject
       
    17 *          to change without notice. Such APIs should therefore not be used
       
    18 *          outside the Kernel and Hardware Services package.
       
    19 */
       
    20 // F32TRACEDEF.H
       
    21 //
       
    22 
       
    23 #if !defined(__F32TRACEDEF_H__)
       
    24 #define __F32TRACEDEF_H__
       
    25 
       
    26 //*********************************
       
    27 // from e32utrace_basic_types.h
       
    28 //*********************************
       
    29 typedef TUint8  TClassification;	// same as BTrace::TCategory
       
    30 typedef TUint32 TModuleUid;			
       
    31 typedef TUint16 TFormatId;			// 2 bytes occupying first 32-bit word of data
       
    32 
       
    33 namespace UTF
       
    34 	{
       
    35 	const static TFormatId KInitialClientFormat = 512; 
       
    36 	const static TFormatId KMaxFormatId = KMaxTUint16;		// 0xFFFF
       
    37 
       
    38 	enum TClassificationAll
       
    39 		{
       
    40 		EPanic = 192,
       
    41 		EError = 193,
       
    42 		EWarning = 194, 
       
    43 		EBorder = 195, 
       
    44 		EState = 196, 
       
    45 		EInternals = 197, 
       
    46 		EDump = 198, 
       
    47 		EFlow = 199, 
       
    48 		ESystemCharacteristicMetrics = 200, 
       
    49 		EAdhoc = 201,
       
    50 		EClassificationAllHighWaterMark, 
       
    51 		};
       
    52 	}	// namespace UTF
       
    53 
       
    54 
       
    55 enum TF32TraceFormatUids
       
    56 	{
       
    57 	EF32TraceUidEfsrv		=	0x100039e4,	// 268450276
       
    58 	EF32TraceUidFirst		=	0x10286575,	// 271082869
       
    59 	EF32TraceUidLast		=	0x10286594,	// 271082900
       
    60 	
       
    61 	EF32TraceUidFileSys		=	0x10286575,	// 271082869
       
    62 	EF32TraceUidProxyDrive	=	0x10286576,	// 271082870
       
    63 
       
    64     // Provided to allow the following compile time assert.
       
    65     ETraceUidHighWaterMark,
       
    66     };
       
    67     __ASSERT_COMPILE(ETraceUidHighWaterMark <= (EF32TraceUidLast + 1));
       
    68 	
       
    69 
       
    70 #endif
       
    71