Download RadiSys ARTIC960 Programmer`s Reference
Transcript
RegisterAsyncHandler—Register an Async Handler
Ad Field
The Ad field in AsyncEvent has the following definition.
struct RIC_AdapterEvent
{
void
*CodeAddr;
void
*MemAddr;
struct RIC_PCIError PCIError;
};
where:
CodeAddr
Code address after and near the faulting instruction.
MemAddr
Memory address that the code was attempting to access. If the value is
0xFFFFFFFF, the address is unknown.
PCIError
Structure of information related to the PCI bus error. The PCIError field in
AsyncEvent has the following definition. For a definition of RPInfo and
HxInfo, refer to the ARTIC960 Programmer’s Guide. This information should
be checked to determine the specific cause of the interrupt.
struct RIC_PCIError
{
union
{
struct RIC_RPErrInfo RPInfo;
struct RIC_HxErrInfo HxInfo;
} TermErrInfo;
RIC_ULONG
TermErrCode;
RIC_ULONG
ReturnCode;
}
where:
TermErrInfo
A union containing the exception data that will be posted after
all asynchronous handlers have been called.
ARTIC960RxD information will be filled in the RPInfo
field.
TermErrCode
The exception code to be posted (either
TERMERR_PLX_INTERRUPT or TERMERR_NMI_INTERRUPT).
ReturnCode
A field that the asynchronous handler may set to 1 to force the
kernel not to generate a terminal error. Otherwise, handlers
should not modify this field.
Chapter 3: Base Kernel Services
143
Related documents
Software and software architecture for a student satellite
AIX 4.3 Guide de gestion du système - Support On Line
User Manual - Axel Technology
AIX IPL progress codes
Wolf 2MS User Manual
THMAGDELUXE Instructions
Medi-Minder\Medi-Minder Installation Manual Rev1.2
Novell Open Enterprise Server 2 User's Manual
Oracle Procedural Gateway Visual Workbench For WebSphere MQ
Introductory User Guide - Computer Services for Academic Research