VxWorks Reference Manual : Libraries
ncr710CommLib - common library for ncr710Lib.c and ncr710Lib2.c
ncr710SingleStep( ) - perform a single-step
ncr710StepEnable( ) - enable/disable script single-step
Contains ncr710Lib and ncr710Lib2 common driver interfaces which can be called from user code.
ncr710CommLib, ncr710Lib.c, ncr710Lib2.c, NCR 53C710 SCSI I/O Processor Programming Guide, VxWorks Programmer's Guide: I/O System
ncr710SingleStep( ) - perform a single-step
void ncr710SingleStep ( SIOP * pSiop, /* pointer to SIOP info */ BOOL verbose /* show all registers */ )
This routine performs a single-step by writing the STD bit in the DCNTL register. The pSiop parameter is a pointer to the SIOP information. Before executing, enable the single-step facility by calling ncr710StepEnable( ).
N/A
ncr710CommLib, ncr710StepEnable( )
ncr710StepEnable( ) - enable/disable script single-step
void ncr710StepEnable ( SIOP * pSiop, /* pointer to SIOP info */ BOOL boolValue /* TRUE/FALSE to enable/disable single step */ )
This routine enables/disables the single-step facility on the chip. It also unmasks/masks the single-step interrupt in the Dien register. Before executing any SCSI routines, enable the single-step facility by calling ncr710StepEnable( ) with boolValue set to TRUE. To disable, call it with boolValue set to FALSE.
N/A