00001 /************************************************************************************ 00002 * 00003 * listProc.h: Defines states of the primitive list processing state machines and the 00004 * indicies of the primitive and reply list buffer structures. 00005 * 00006 * 00007 * Damon Fasching, UW Madison (510)486-5230 fasching@wisconsin.cern.ch 00008 ************************************************************************************/ 00009 #ifndef LIST_PROC 00010 #define LIST_PROC 00011 00012 /* states of list processing state machine: */ 00013 #define IDLE 0 /* not processing a list, waiting for a list to process */ 00014 #define EXECUTING 1 /* processing a primitive list */ 00015 #define ACKNOWLEDGED 2 /* processing done, dspAck set, wait for host to respond */ 00016 #define PAUSED 3 /* execution has been paused */ 00017 00018 /* primitive and reply buffer indices: */ 00019 00020 /* list index number */ 00021 #define HOST_LIST 0 00022 #define INTR_DSP_LIST_PRC 1 00023 #define INTR_DSP_LIST_SND 2 00024 00025 /* primitive vs. reply index */ 00026 #define PRM 0 00027 #define REP 1 00028 00029 #endif