1 extern uchar debug[]; 2 3 enum { 4 DXFlush = 'x', /* special markers for debugging on the commands, disrupts behaviour*/ 5 6 DFile = 'f', /* Reads, writes, flushes*/ 7 DPath = 'p', /* path for state transitions for tap debugging */ 8 DState = 's', /* state calculation and changes on tap interface */ 9 Dinst = 'i', /* mpsse instruction assembling debug */ 10 Dassln = 'a', /* print instructions before assembling */ 11 Dmach = 'm', /* print mpsse machine code and op results */ 12 Djtag = 'j', /* print jtag level operations */ 13 Dice = 'e', /* print icert level operations */ 14 Dchain = 'h', /* print icert chains */ 15 Dmmu = 'u', /* print MMU ops */ 16 Dctxt = 'c', /* dump context in and out */ 17 Darm = 'w', /* arm insts and so */ 18 Dmem = 'y', /* memory ops */ 19 Dfs = 'k', /* filesystem ops */ 20 DAll = 'A' 21 }; 22 23 extern int dprint(char d, char *fmt, ...); 24 extern void dumpbuf(char d, uchar *buf, int bufsz); 25