diff sw/sniff-dec/state.h @ 41:118a12e9483b

simtrace3-sniff-dec started
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 31 Aug 2023 08:46:23 +0000
parents
children b0524d1dc6ef
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/sw/sniff-dec/state.h	Thu Aug 31 08:46:23 2023 +0000
@@ -0,0 +1,13 @@
+/*
+ * This header file defines our little state machine for SIMtrace session
+ * log analysis.
+ */
+
+#define	STATE_UNDEF		0
+#define	STATE_ERROR		1
+#define	STATE_RSTLOW		2
+#define	STATE_ATR_TS		3
+#define	STATE_ATR_CONT		4
+#define	STATE_READY_FOR_CMD	5
+#define	STATE_PPS_MSG		6
+#define	STATE_CMD_HDR		7