X hits on this document

PDF document

February 10, 2006 - page 74 / 238

881 views

0 shares

0 downloads

0 comments

74 / 238

IPMI CHANNEL ACCESS MODE DISABLED (0) IPMI CHANNEL ACCESS MODE PRE BOOT (1)

Channel is never available. Channel is only available when the firmware is running, not

IPMI CHANNEL ACCESS MODE ALWAYS (2) IPMI CHANNEL ACCESS MODE SHARED (3)

when an OS is running. Channel is always available. Channel is always available for multiple simultaneous users.

62

CHAPTER 3. IPMI INTERFACES

unsigned int

channel,

_ _ enum ipmi_set dest e

dest,

_ _ _ ipmi channel access cb handler,

void

*cb_data);

Table 3.27: Channel access modes in IPMI

unsigned int

channel,

enum ipmi_set_dest_e dest,

_ ipmi channel_access_t *access,

_ _ _ ipmi mc done cb

handler,

void

*cb_data);

i n t i p m i _ m c _ c h a n n e l _ s e t _ a c c e s s ( i p m i _ m c _ t

*mc,

Once you have a channel access type, you can get/set information in it with the following functions:

i n t i p m i _ c h a n n e l _ a c c e s s _ g e t _ c h a n n e l ( i p m i _ c h a n n e l _ a c c e s s _ t * a c c e s s ,

unsigned int

*channel);

i n t i p m i _ c h a n n e l _ a c c e s s _ g e t _ a l e r t i n g _ e n a b l e d ( i p m i _ c h a n n e l _ a c c e s s _ t * a c c e s s ,

unsigned int

*enab);

i n t i p m i _ c h a n n e l _ a c c e s s _ s e t _ a l e r t i n g _ e n a b l e d ( i p m i _ c h a n n e l _ a c c e s s _ t * a c c e s s ,

unsigned int

enab);

i n t i p m i _ c h a n n e l _ a c c e s s _ g e t _ p e r _ m s g _ a u t h ( i p m i _ c h a n n e l _ a c c e s s _ t * a c c e s s ,

unsigned int

*msg_auth);

int ipmi

_

int ipmi

_

channel

channel

_

_

a c c e s s _ s e t _ p e r _ m s g _ a u t h ( i p m i _ c h a n n e l _ a c c e s s _ t * a c c e s s ,

unsigned int

msg_auth);

a c c e s s _ g e t _ u s e r _ a u t h ( i p m i _ c h a n n e l _ a c c e s s _ t * a c c e s s ,

unsigned int

* u s e r _ a u t h ) ;

int ipmi

_

channel

_

a c c e s s _ s e t _ u s e r _ a u t h ( i p m i _ c h a n n e l _ a c c e s s _ t * a c c e s s ,

unsigned int

u s e r _ a u t h ) ;

int ipmi

_

channel

_

a c c e s s _ g e t _ a c c e s s _ m o d e ( i p m i _ c h a n n e l _ a c c e s s _ t * a c c e s s ,

unsigned int

* a c c e s s _ m o d e ) ;

int ipmi

_

channel

_

a c c e s s _ s e t _ a c c e s s _ m o d e ( i p m i _ c h a n n e l _ a c c e s s _ t * a c c e s s ,

unsigned int

a c c e s s _ m o d e ) ;

int ipmi

_

channel

_

a c c e s s _ g e t _ p r i v _ l i m i t ( i p m i _ c h a n n e l _ a c c e s s _ t * a c c e s s ,

unsigned int

_ *priv limit);

_ _ _ _ _ access set_priv limit(ipmi channel access t *access,

unsigned int

_ priv limit);

i n t i p m i _ c h a n n e l

_

Table 3.18 on page gives the modes the

54 gives the privilege levels that the privilege limits used in this command. Table 3.27 channel can run in. Not that not all channel types can support all modes.

Document info
Document views881
Page views881
Page last viewedSat Dec 10 14:44:19 UTC 2016
Pages238
Paragraphs8090
Words85809

Comments