#include #include "dataflow.h" void print_isd_info(unsigned int baseaddr) { volatile unsigned int *regs; int neps; int nbytes; int i, j; int offset; unsigned int ack_count, nack_count, cur_status; regs = (unsigned int *)baseaddr; if((regs[0] != 0x6a) || (regs[1] != 0xb4)) { printf("Incorrect magic number\n"); return; } neps = regs[2]; nbytes = (regs[3] + 7)/8; // regs[4] is reset offset = 5; for(i=0;i