X hits on this document

PDF document

February 10, 2006 - page 163 / 238

1150 views

0 shares

0 downloads

0 comments

163 / 238

9.2. WATCHDOG TIMER

151

unsigned int

transition);

int ipmi

_

c o n t r o l _ g e t _ l i g h t _ c o l o r _ t i m e ( i p m i _ c o n t r o l _ t * c o n t r o l ,

unsigned int

light,

unsigned int

value,

unsigned int

transition);

9.1.5 Display The function of a display is TBD until the author of OpenIPMI gets a system that supports one :-).

9.1.6 Identifier

unsigned char

*val,

int

length,

_ ipmi control_op_cb handler,

void

_ *cb data);

Controls

The IPMI standard supports two basic controls if the system supports chassis control. OpenIPMI automat- ically detects these and creates controls for them. The controls created are created on the chassis entity id (id 23.1) and are named:

_ _ _ _ _ _ typedef void (*ipmi control identifier val cb)(ipmi control t *control,

int

err,

unsigned char

*val,

int

length,

void

*cb_data);

9.1.7

Chassis

reset power

A one-shot reset that can reset the processor in the chassis. A binary power control that can turn on and turn off power to a chassis.

TBD - determine if we really need watchdog timer support, write it and document it if so. Currently the OpenIPMI library does not support the watchdog timer, but the Linux IPMI driver does support it through the standard watchdog timer interface.

An identifier control holds some type of information about the system, the specific type of something, a serial number or other identifier, or things of that nature. They are represented as an array of bytes. To find the maximum number of bytes a control may be set to or will return, use the function:

u n s i g n e d i n t i p m i _ c o n t r o l _ i d e n t i f i e r _ g e t _ m a x _ l e n g t h ( i p m i _ c o n t r o l _ t * c o n t r To set and get the value of a control, use: o l ) ;

9.2

Watchdog Timer

i n t i p m i _ c o n t r o l _ i d e n t i f i e r _ g e t _ v a l ( i p m i _ c o n t *control, r o l _ t i p m i _ c o n t r o l _ i d e n t i f i e r _ v a l _ c b h a n d l e r ,

i n void t i p m i _ c o n t r o l _ i d e n t i f i e r _ s e t _ v a l ( i p m i _ c o n t r o l _ t

*control,

* c b _ d a t a ) ;

Document info
Document views1150
Page views1150
Page last viewedMon Jan 23 23:37:27 UTC 2017
Pages238
Paragraphs8090
Words85809

Comments