sl@0: /* sl@0: * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). sl@0: * All rights reserved. sl@0: * This component and the accompanying materials are made available sl@0: * under the terms of the License "Eclipse Public License v1.0" sl@0: * which accompanies this distribution, and is available sl@0: * at the URL "http://www.eclipse.org/legal/epl-v10.html". sl@0: * sl@0: * Initial Contributors: sl@0: * Nokia Corporation - initial contribution. sl@0: * sl@0: * Contributors: sl@0: * sl@0: * Description: sl@0: * sl@0: * WARNING: This file contains some APIs which are internal and are subject sl@0: * to change without notice. Such APIs should therefore not be used sl@0: * outside the Kernel and Hardware Services package. sl@0: */ sl@0: // F32TRACEDEF.H sl@0: // sl@0: sl@0: #if !defined(__F32TRACEDEF_H__) sl@0: #define __F32TRACEDEF_H__ sl@0: sl@0: //********************************* sl@0: // from e32utrace_basic_types.h sl@0: //********************************* sl@0: typedef TUint8 TClassification; // same as BTrace::TCategory sl@0: typedef TUint32 TModuleUid; sl@0: typedef TUint16 TFormatId; // 2 bytes occupying first 32-bit word of data sl@0: sl@0: namespace UTF sl@0: { sl@0: const static TFormatId KInitialClientFormat = 512; sl@0: const static TFormatId KMaxFormatId = KMaxTUint16; // 0xFFFF sl@0: sl@0: enum TClassificationAll sl@0: { sl@0: EPanic = 192, sl@0: EError = 193, sl@0: EWarning = 194, sl@0: EBorder = 195, sl@0: EState = 196, sl@0: EInternals = 197, sl@0: EDump = 198, sl@0: EFlow = 199, sl@0: ESystemCharacteristicMetrics = 200, sl@0: EAdhoc = 201, sl@0: EClassificationAllHighWaterMark, sl@0: }; sl@0: } // namespace UTF sl@0: sl@0: sl@0: enum TF32TraceFormatUids sl@0: { sl@0: EF32TraceUidEfsrv = 0x100039e4, // 268450276 sl@0: EF32TraceUidFirst = 0x10286575, // 271082869 sl@0: EF32TraceUidLast = 0x10286594, // 271082900 sl@0: sl@0: EF32TraceUidFileSys = 0x10286575, // 271082869 sl@0: EF32TraceUidProxyDrive = 0x10286576, // 271082870 sl@0: sl@0: // Provided to allow the following compile time assert. sl@0: ETraceUidHighWaterMark, sl@0: }; sl@0: __ASSERT_COMPILE(ETraceUidHighWaterMark <= (EF32TraceUidLast + 1)); sl@0: sl@0: sl@0: #endif sl@0: