CHAPTER 4. THE MC
int reset_type, i p m i _ m c _ d o n e _ c b d o n e ,
* c b _ d a t a ) ;
Note that this resets the MC, not the main processor on the board the MC is located on. There are two types of reset, cold and warm. Not all systems support resetting the MC and the effects of the reset are system-dependent.
An MC has a global event enable. If events are disabled, then all events from the MC are disabled. If events are enabled, then the sending of events depends on more specific event settings on the sensors. The value is a true-false, setting it to true enables events. False disables events. The functions are:
_ _ _ ipmi mc done cb done,
_ *cb data);
The setting is fetched and held locally, so the “get” function is immediate. The “set” function requires sending a message and thus it has a callback.
i n t i p m i _ m c _ g e t _ e v e n t s _ e n a b l e ( i p m i _ m c _ t * m c ) ; i n t i p m i _ m c _ s e t _ e v e n t s _ e n a b l e ( i p m i _ m c _ t