Field Sensor type
Event data 1 low nib- ble values
Event data 1 AND mask
Event data 1 compare 1
Event data 1 compare
Event data 2 fields
CHAPTER 3. IPMI INTERFACES
Table 3.37: PEF Table Entry
Description This matches the sensor type field in the event. It must be an exact match. Use FFh to ignore this field when comparing events. This matches the sensor number field in the event. It must be an exact match. Use FFh to ignore this field when comparing events. This matches the event direction and event type byte (byte 13) in the event. It must be an exact match. Use FFh to ignore this field when comparing events. This field is a bitmask specifying which values in the low 4 bits of the event data 1 field will match. If a bit is set, then the corresponding value will match for this filter. For instance, if bits 2 and 7 are set, then a value of 2 or 7 in the low nibble of event data 1 will cause a filter match (if everything else matches too, of course).
byte 9 - bit positions 0-7 byte 10 - bit positions 8-15
This bit indicates which bits in event data 1 are used for comparison. If a bit in the mask is zero, then the bit is not used for comparison. if a bit is one, then the corresponding bit in event data 1 is used for comparison using the next two bytes of the table. This byte tells how the bits in event data 1 are compared. For every bit set to one in this byte and one in the AND mask, the corresponding bit in event data 1 must exactly match the data in the compare 2 field. For all bits set to zero in this byte and one in the AND mask, if any of those bits must be set to the same value as the bit in the compare 2 field, it is considered a match for that byte. For instance, if the AND mask is 00001111b, the compare 1 field is 00001100b, and the compare 2 field is 00001010b, then the event data 1 byte matches this comparison if:
((bit0 == 0) || (bit1 == 1)) && (bit2 == 0) && (bit3 == 1)
Because there are zeroes in bits 4-7, those are not used in the mask. Exact matches are required in bits 2 and 3 to compare 2, and one of bits 0 and 1 must be set the same as compare 2. Setting bytes 11-13 to all zero will cause event data 1 to be ignored for comparison (it will always match). This byte is used to compare the values of event data 1. See byte 12 for more details on how this works. These bytes work the same a bytes 11-13, but apply to event data 2. See those fields for details.