Specifications

8 Completing an I/O Request and Handling Timeouts
8.1 I/O Postprocessing . . . ........................................ 8–1
8.1.1 EXE_STD$PRIMITIVE_FORK............................... 8–1
8.1.2 Completing an I/O Request . ................................ 8–2
8.1.2.1 Releasing the Controller ................................ 8–2
8.1.2.2 Saving Status, Count, and Device-Dependent Status ........... 8–2
8.1.2.3 Returning Control to the Operating System. . . ............... 8–3
8.2 Timeout Handling Routines .................................... 8–3
8.2.1 Retrying an I/O Operation . . ................................ 8–5
8.2.2 Aborting an I/O Request . . . ................................ 8–5
8.2.3 Sending a Message to the Operator ........................... 8–6
9 Linking a Device Driver
9.1 Linker Options File for OpenVMS AXP Device Drivers ............... 9–2
9.2 Resolving CRTL References at Link-Time . . ....................... 9–4
10 Loading an OpenVMS AXP Device Driver
10.1 Manually Connecting Devices and Loading Drivers . . . ............... 10–1
10.1.1 Obtaining the Adapters TR Number . . . ....................... 10–1
10.1.2 Obtaining the Adapters CSR Address . . ....................... 10–2
10.1.3 Locating the Adapters Interrupt Vectors ....................... 10–2
10.2 I/O Configuration Support in SYSMAN ........................... 10–3
AUTOCONFIGURE . . ........................................ 10–4
CONNECT . ................................................ 10–5
SET PREFIX ............................................... 10–8
SHOW BUS ................................................ 10–9
SHOW DEVICE ............................................. 10–10
SHOW PREFIX ............................................. 10–12
10.3 Loading Sliced Executive Images ................................ 10–13
10.3.1 Controlling Executive Image Slicing . . . ....................... 10–14
10.3.1.1 XDELTA Support for Executive Image Slicing . ............... 10–14
10.3.1.2 Locating Source Modules with Image Slicing Enabled.......... 10–14
11 Debugging a Device Driver
11.1 Using the Delta/XDelta Debugger ............................... 11–1
11.2 Using the OpenVMS AXP System-Code Debugger ................... 11–2
11.2.1 User-interface Options ..................................... 11–2
11.2.2 Building a System Image to Be Debugged ...................... 11–3
11.2.3 Setting Up the Target System for Connections . . . ............... 11–3
11.2.3.1 Making Connections Between the Target Kernel and the
System-Code Debugger . ................................ 11–6
11.2.3.2 Interactions between XDELTA and the Target Kernel/System-Code
Debugger ............................................ 11–6
11.2.4 Setting Up the Host System. ................................ 11–7
11.2.5 Starting the System-Code Debugger . . . ....................... 11–8
11.2.6 Summary of OpenVMS Debugger Commands ................... 11–8
11.2.7 System-Code Debugger Network Information ................... 11–11
11.3 Troubleshooting Checklist ..................................... 11–11
11.4 Troubleshooting Network Failures ............................... 11–11
vii