
UDI Developer’s Toolkit
6-6
Universal Debugger Interface Specification
The Sample IPC Sources in src/udi
This section describes the individual files in the
udi
directory. The
src/udi
directory contains the include files that TIPs and DFEs use to define the UDI
procedural interface, and it also includes the IPC implementation code for the
two hosts, UNIX and DOS. Note that because the IPC mechanism under UDI
is host–specific, many of the files in this directory are host–specific. In
addition, some IPC files are used only with DFEs and others are used only
with TIPs. The makefiles in
src/minimon/host
show how
mondfe
and
montip
make use of the various files in the
udi
directory. The makefiles in
src/uditools
also show how the
udi
files are used.
Files Common to all Hosts
udiproc.h
Defines the procedural interface for all of the UDI functions and defines all of
the UDI data types. The
udiproc.h
file is the only include file that a DFE or
TIP needs to include. The
udiproc.h
file is actually independent of the host
and target architecture. The host–specific and target architecture–specific
features are broken out into the subsidiary include files listed below. In the
current implementation, two host types exist (UNIX and DOS) and one target
architecture (29K).
udiphcfg.h
Included by
udiproc.h
. Includes either
udiphdos.h
or
udiphsun.h
.
udiptcfg.h
Included by
udiproc.h
. For now, always includes
udipt29k.h
.
udipt29k.h
Defines UDI data types specific to the 29K Family architecture.
udiids.h
Is optional and can be included by your DFE or TIP to help build the ID codes
that are sent in the
UDICapabilities
call. The
udiids.h
file is described in
more detail below.