view sw/sniff-dec/state.h @ 57:eb4274e7f4da

simsniff-dec: decode SELECT file IDs
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 04 Oct 2023 03:54:00 +0000
parents b0524d1dc6ef
children
line wrap: on
line source

/*
 * 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
#define	STATE_CMD_PROC		8
#define	STATE_CMD_DATA		9
#define	STATE_CMD_SW		10