/* * Environmental subpacket. Data used for el packets: * class PAL (14), type AMBIENT_TEMPERATURE (10) * class PAL (14), type AIRMOVER_FAN (11) * class PAL (14), type VOLTAGE (12) * class PAL (14), type INTRUSION (13) * class PAL (14), type POWER_SUPPLY (14) * class PAL (14), type LAN (15) * class PAL (14), type HOT_PLUG (16)
*/ struct ev7_pal_environmental_subpacket {
u16 cabinet;
u16 drawer;
u16 reserved1[2];
u8 module_type;
u8 unit_id; /* unit reporting condition */
u8 reserved2;
u8 condition; /* condition reported */
};
/* * Convert environmental type to index
*/ staticinlineint ev7_lf_env_index(int type)
{
BUG_ON((type < EL_TYPE__PAL__ENV__AMBIENT_TEMPERATURE)
|| (type > EL_TYPE__PAL__ENV__HOT_PLUG));
return type - EL_TYPE__PAL__ENV__AMBIENT_TEMPERATURE;
}
/* * Data for generic el packet class PAL.
*/ struct ev7_pal_subpacket { union { struct ev7_pal_logout_subpacket logout; /* Type 1 */ struct ev7_pal_processor_subpacket ev7; /* Type 4 */ struct ev7_pal_zbox_subpacket zbox; /* Type 5 */ struct ev7_pal_rbox_subpacket rbox; /* Type 6 */ struct ev7_pal_io_subpacket io; /* Type 7 */ struct ev7_pal_environmental_subpacket env; /* Type 10-16 */
u64 as_quad[1]; /* Raw u64 */
} by_type;
};
/* * Struct to contain collected logout from subpackets.
*/ struct ev7_lf_subpackets { struct ev7_pal_logout_subpacket *logout; /* Type 1 */ struct ev7_pal_processor_subpacket *ev7; /* Type 4 */ struct ev7_pal_zbox_subpacket *zbox; /* Type 5 */ struct ev7_pal_rbox_subpacket *rbox; /* Type 6 */ struct ev7_pal_io_subpacket *io; /* Type 7 */ struct ev7_pal_environmental_subpacket *env[7]; /* Type 10-16 */
unsignedint io_pid;
};
#endif/* __ALPHA_ERR_EV7_H */
Messung V0.5
¤ Dauer der Verarbeitung: 0.9 Sekunden
(vorverarbeitet)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.