DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

mca_info(D4)


mca_info -- machine check information structure

Syntax

   #include <sys/types.h>
   #include <sys/f_ddi.h>

Description

The mca_info structure gives information about a machine check (hardware error) condition, and is passed to machine check handlers that have been registered with the MCA_ATTACH option to the drv_callback(D3) function. This information is extracted from the CPU's machine check reporting registers.

Usage

Drivers must not make any assumptions about the size of mca_info structures, and must not allocate these structures themselves, and should treat all structure members as read-only.

Structure definitions

The mca_info structure contains the following members:
   short	flags;
   short	bank;
   ulong_t	mci_addr[2];
   ulong_t	mci_misc[2];
The mca_info structure members that the driver can read are:

flags
contains flags that describe the rest of the structure:


MCA_INFO_ADDRV
if set, the address value in mci_addr is valid.

MCA_INFO_MISCV
if set, the value in mci_misc is valid.


bank
contains the number of the hardware error-reporting bank that reported the error.

mci_addr
contains the physical address of the location that caused the check condition, if the MCA_INFO_ADDRV flag is set.

mci_misc
contains the hardware-specific miscellaneous value that accompanies the check condition, if the MCA_INFO_MISCV flag is set.

Applicable hardware

All

Version applicability

ddi: 7.1, 7.1mp, 8, 8mp

References

drv_callback(D3)
19 June 2005
© 2005 The SCO Group, Inc. All rights reserved.
OpenServer 6 and UnixWare (SVR5) HDK - June 2005