Alert Standard Format (ASF) Specification

Alert Standard Format (ASF) Specification v2.0 DMTF Document DSP0136
DSP0136 23 April 2003 Page 53 of 94
4.1.2.2 ASF_ALRT
Legacy sensor devices might be used in a system to provide ASF-compatible alert capabilities.
This (optional) data block provides the alert-sending device’s OS-present configuration software
with the information needed to poll those devices over the SMBus to determine if an alert-
condition has been met. This structure is associated with an ASF Information Record Header of
the following format:
Type = 01h or 81h
Reserved = 00h
Length = 4 + 4 + n*m for ASF Version 1.0. Note that this length might increase for future
versions of this specification
Offset Name Length Value Description
00h
Assertion
Event Bit
Mask
BYTE Varies
A series of bit flags that are set to 0b to identify that
the associated legacy-device alert's assertion event
is to be transmitted. Bit 0 is set to 0b to indicate
that the first (at offset 04h) device's assertion event
is to be sent, bit 1 is set to 0b to indicate that the
second device's assertion event is to be sent, and
so on. If a bit is set to 1b, then the assertion event
for the associated legacy-device alert is ignored
and not transmitted by the alert-sending device.
01h
De-assertion
Event Bit
Mask
BYTE Varies
A series of bit flags that are set to 0b to identify that
the associated legacy-device alert's de-assertion
event is to be transmitted. Bit 0 is set to 0b to
indicate that the first (at offset 04h) device's de-
assertion event is to be sent, bit 1 is set to 0b to
indicate that the second device's de-assertion
event is to be sent, and so on. If a bit is set to 1b,
then the de-assertion event for the associated
legacy-device alert is ignored and not transmitted
by the alert-sending device.
02h
Number of
Alerts (n)
BYTE Varies
Identifies the number of m-byte legacy-device alert
entries that follow, in the range 1 to 8.
03h
Array
Element
Length (m)
BYTE 0Ch
Identifies the size (in bytes) of each Device Array
element. For ASF version 1.0 and later, this field is
set to a minimum of 0Ch (12).
04h+
m*(n-1)
Device Array Varies Varies
An array of m-byte ASF_ALERTDATA structures
describing the alert-capable legacy devices present
on the system’s SMBus.
The following is a ‘C’-style definition of the ASF_ALRT structure.
#define ANYSIZE_ARRAY 1
struct ASF_ALRT {
BYTE AssertionEventMask;
BYTE DeassertionEventMask;
BYTE NumberOfAlerts;
BYTE ArrayElementLength;
struct ASF_ALERTDATA[ANYSIZE_ARRAY];
};
The use of the ANYSIZE_ARRAY is simply for ‘C’ syntactical correctness.