perfsrv/memspy/memspy_plat/memspy_api/include/memspy/driver/kernel/MemSpyDriverPanics.h
changeset 48 516af714ebb4
child 52 c2f44e33b468
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/perfsrv/memspy/memspy_plat/memspy_api/include/memspy/driver/kernel/MemSpyDriverPanics.h	Fri Sep 17 08:38:31 2010 +0300
@@ -0,0 +1,56 @@
+/*
+* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). 
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description:
+*
+*/
+
+#ifndef MEMSPYDRIVERPANICS_H
+#define MEMSPYDRIVERPANICS_H
+
+// System includes
+#include <e32cmn.h>
+
+
+/**
+ * Mem spy driver client panic category
+ */
+_LIT( KMemSpyClientPanic, "MemSpyDriver" );
+
+
+/**
+ * Panic codes
+ */
+enum TMemSpyDriverPanic
+	{
+	EPanicBadDescriptor = 0,
+	EPanicHeapWalkPending,
+	EPanicHeapWalkNotInitialised,
+    EPanicThreadsInProcessNotSuspended,
+    EPanicWrongProcessSuspended,
+    EPanicAttemptingToSuspendMultipleProcesses,
+    EPanicAttemptingToResumeNonSuspendedProcess,
+    EPanicHeapInfoNotYetSeeded,
+    EPanicHeapChunkAlreadyCloned,
+    EPanicForcedKill,
+    EPanicForcedTerminate,
+    EPanicForcedPanic,
+    EPanicKernelHeapDataInitError,
+    EPanicKernelHeapDataFetchError,
+    EPanicHeapFreeCellStreamNotClosed,
+    EPanicHeapFreeCellStreamNotOpen
+	};
+
+
+	
+#endif