XenevaOS
Loading...
Searching...
No Matches
IpmiNetFnChassis.h
Go to the documentation of this file.
1
20#ifndef _IPMI_NET_FN_CHASSIS_H_
21#define _IPMI_NET_FN_CHASSIS_H_
22
23#pragma pack (1)
24//
25// Net function definition for Chassis command
26//
27#define IPMI_NETFN_CHASSIS 0x00
28
29//
30// Below is Definitions for Chassis commands (Chapter 28)
31//
32
33//
34// Definitions for Get Chassis Capabilities command
35//
36#define IPMI_CHASSIS_GET_CAPABILITIES 0x00
37
38//
39// Constants and Structure definitions for "Get Chassis Capabilities" command to follow here
40//
50
51//
52// Definitions for Get Chassis Status command
53//
54#define IPMI_CHASSIS_GET_STATUS 0x01
55
56//
57// Constants and Structure definitions for "Get Chassis Status" command to follow here
58//
66
67//
68// Definitions for Chassis Control command
69//
70#define IPMI_CHASSIS_CONTROL 0x02
71
72//
73// Constants and Structure definitions for "Chassis Control" command to follow here
74//
82
86
87//
88// Definitions for Chassis Reset command
89//
90#define IPMI_CHASSIS_RESET 0x03
91
92//
93// Constants and Structure definitions for "Chassis Reset" command to follow here
94//
95
96//
97// Definitions for Chassis Identify command
98//
99#define IPMI_CHASSIS_IDENTIFY 0x04
100
101//
102// Constants and Structure definitions for "Chassis Identify" command to follow here
103//
104
105//
106// Definitions for Set Chassis Capabilities command
107//
108#define IPMI_CHASSIS_SET_CAPABILITIES 0x05
109
110//
111// Constants and Structure definitions for "Set Chassis Capabilities" command to follow here
112//
113
114//
115// Definitions for Set Power Restore Policy command
116//
117#define IPMI_CHASSIS_SET_POWER_RESTORE_POLICY 0x06
118
119//
120// Constants and Structure definitions for "Set Power Restore Policy" command to follow here
121//
129
133
138
139//
140// Definitions for Get System Restart Cause command
141//
142#define IPMI_CHASSIS_GET_SYSTEM_RESTART_CAUSE 0x07
143
144//
145// Constants and Structure definitions for "Get System Restart Cause" command to follow here
146//
147#define IPMI_SYSTEM_RESTART_CAUSE_UNKNOWN 0x0
148#define IPMI_SYSTEM_RESTART_CAUSE_CHASSIS_CONTROL_COMMAND 0x1
149#define IPMI_SYSTEM_RESTART_CAUSE_PUSHBUTTON_RESET 0x2
150#define IPMI_SYSTEM_RESTART_CAUSE_PUSHBUTTON_POWERUP 0x3
151#define IPMI_SYSTEM_RESTART_CAUSE_WATCHDOG_EXPIRE 0x4
152#define IPMI_SYSTEM_RESTART_CAUSE_OEM 0x5
153#define IPMI_SYSTEM_RESTART_CAUSE_AUTO_POWER_ALWAYS_RESTORE 0x6
154#define IPMI_SYSTEM_RESTART_CAUSE_AUTO_POWER_RESTORE_PREV 0x7
155#define IPMI_SYSTEM_RESTART_CAUSE_PEF_RESET 0x8
156#define IPMI_SYSTEM_RESTART_CAUSE_PEF_POWERCYCLE 0x9
157#define IPMI_SYSTEM_RESTART_CAUSE_SOFT_RESET 0xA
158#define IPMI_SYSTEM_RESTART_CAUSE_RTC_POWERUP 0xB
159
167
173
174//
175// Definitions for Set System BOOT options command
176//
177#define IPMI_CHASSIS_SET_SYSTEM_BOOT_OPTIONS 0x08
178
179//
180// Constants and Structure definitions for "Set System boot options" command to follow here
181//
189
194
195//
196// Definitions for Get System Boot options command
197//
198#define IPMI_CHASSIS_GET_SYSTEM_BOOT_OPTIONS 0x09
199
200//
201// Constants and Structure definitions for "Get System boot options" command to follow here
202//
210
216
226
235
236//
237// Definitions for boot option parameter selector
238//
239#define IPMI_BOOT_OPTIONS_PARAMETER_SELECTOR_SET_IN_PROGRESS 0x0
240#define IPMI_BOOT_OPTIONS_PARAMETER_SELECTOR_SERVICE_PARTITION_SELECTOR 0x1
241#define IPMI_BOOT_OPTIONS_PARAMETER_SELECTOR_SERVICE_PARTITION_SCAN 0x2
242#define IPMI_BOOT_OPTIONS_PARAMETER_SELECTOR_BMC_BOOT_FLAG 0x3
243#define IPMI_BOOT_OPTIONS_PARAMETER_BOOT_INFO_ACK 0x4
244#define IPMI_BOOT_OPTIONS_PARAMETER_BOOT_FLAGS 0x5
245#define IPMI_BOOT_OPTIONS_PARAMETER_BOOT_INITIATOR_INFO 0x6
246#define IPMI_BOOT_OPTIONS_PARAMETER_BOOT_INITIATOR_MAILBOX 0x7
247#define IPMI_BOOT_OPTIONS_PARAMETER_OEM_BEGIN 0x60
248#define IPMI_BOOT_OPTIONS_PARAMETER_OEM_END 0x7F
249
250//
251// Response Parameters for IPMI Get Boot Options
252//
260
264
273
281
286
287//
288// Definitions for the 'Boot device selector' field of Boot Option Parameters #5
289//
290#define IPMI_BOOT_DEVICE_SELECTOR_NO_OVERRIDE 0x0
291#define IPMI_BOOT_DEVICE_SELECTOR_PXE 0x1
292#define IPMI_BOOT_DEVICE_SELECTOR_HARDDRIVE 0x2
293#define IPMI_BOOT_DEVICE_SELECTOR_HARDDRIVE_SAFE_MODE 0x3
294#define IPMI_BOOT_DEVICE_SELECTOR_DIAGNOSTIC_PARTITION 0x4
295#define IPMI_BOOT_DEVICE_SELECTOR_CD_DVD 0x5
296#define IPMI_BOOT_DEVICE_SELECTOR_BIOS_SETUP 0x6
297#define IPMI_BOOT_DEVICE_SELECTOR_REMOTE_FLOPPY 0x7
298#define IPMI_BOOT_DEVICE_SELECTOR_REMOTE_CD_DVD 0x8
299#define IPMI_BOOT_DEVICE_SELECTOR_PRIMARY_REMOTE_MEDIA 0x9
300#define IPMI_BOOT_DEVICE_SELECTOR_REMOTE_HARDDRIVE 0xB
301#define IPMI_BOOT_DEVICE_SELECTOR_FLOPPY 0xF
302
303#define BOOT_OPTION_HANDLED_BY_BIOS 0x01
304
305//
306// Constant definitions for the 'BIOS Mux Control Override' field of Boot Option Parameters #5
307//
308#define BIOS_MUX_CONTROL_OVERRIDE_RECOMMEND_SETTING 0x00
309#define BIOS_MUX_CONTROL_OVERRIDE_FORCE_TO_BMC 0x01
310#define BIOS_MUX_CONTROL_OVERRIDE_FORCE_TO_SYSTEM 0x02
311
321
332
344
353
361
369
377
383
388
399
407
415
422
423//
424// Definitions for Set front panel button enables command
425//
426#define IPMI_CHASSIS_SET_FRONT_PANEL_BUTTON_ENABLES 0x0A
427
428//
429// Constants and Structure definitions for "Set front panel button enables" command to follow here
430//
441
445
446//
447// Definitions for Set Power Cycle Interval command
448//
449#define IPMI_CHASSIS_SET_POWER_CYCLE_INTERVALS 0x0B
450
451//
452// Constants and Structure definitions for "Set Power Cycle Interval" command to follow here
453//
454
455//
456// Definitions for Get POH Counter command
457//
458#define IPMI_CHASSIS_GET_POH_COUNTER 0x0F
459
460//
461// Constants and Structure definitions for "Get POH Counter" command to follow here
462//
463#pragma pack()
464#endif
unsigned int UINT32
Definition ProcessorBind.h:102
PACKED struct @21::@35 Bits
UINT8 Reserved
Definition Acpi30.h:40
unsigned char UINT8
Definition actypes.h:236
Definition IpmiNetFnChassis.h:227
UINT32 TimeStamp
Definition IpmiNetFnChassis.h:232
UINT8 ParameterValid
Definition IpmiNetFnChassis.h:229
UINT8 ChannelNumber
Definition IpmiNetFnChassis.h:230
UINT32 SessionId
Definition IpmiNetFnChassis.h:231
UINT8 ParameterVersion
Definition IpmiNetFnChassis.h:228
Definition IpmiNetFnChassis.h:261
UINT8 ServicePartitionSelector
Definition IpmiNetFnChassis.h:262
Definition IpmiNetFnChassis.h:282
UINT8 WriteMask
Definition IpmiNetFnChassis.h:283
UINT8 BootInitiatorAcknowledgeData
Definition IpmiNetFnChassis.h:284
Definition IpmiNetFnChassis.h:362
IPMI_BOOT_OPTIONS_RESPONSE_PARAMETER_5_DATA_5 Data5
Definition IpmiNetFnChassis.h:367
IPMI_BOOT_OPTIONS_RESPONSE_PARAMETER_5_DATA_1 Data1
Definition IpmiNetFnChassis.h:363
IPMI_BOOT_OPTIONS_RESPONSE_PARAMETER_5_DATA_4 Data4
Definition IpmiNetFnChassis.h:366
IPMI_BOOT_OPTIONS_RESPONSE_PARAMETER_5_DATA_3 Data3
Definition IpmiNetFnChassis.h:365
IPMI_BOOT_OPTIONS_RESPONSE_PARAMETER_5_DATA_2 Data2
Definition IpmiNetFnChassis.h:364
Definition IpmiNetFnChassis.h:378
IPMI_BOOT_OPTIONS_CHANNEL_NUMBER ChannelNumber
Definition IpmiNetFnChassis.h:379
Definition IpmiNetFnChassis.h:384
UINT8 SetSelector
Definition IpmiNetFnChassis.h:385
Definition IpmiNetFnChassis.h:83
IPMI_CHASSIS_CONTROL_CHASSIS_CONTROL ChassisControl
Definition IpmiNetFnChassis.h:84
IPMI_FRONT_PANEL_BUTTON_ENABLES FrontPanelButtonEnables
Definition IpmiNetFnChassis.h:443
Definition IpmiNetFnChassis.h:211
IPMI_GET_BOOT_OPTIONS_PARAMETER_SELECTOR ParameterSelector
Definition IpmiNetFnChassis.h:212
UINT8 SetSelector
Definition IpmiNetFnChassis.h:213
UINT8 BlockSelector
Definition IpmiNetFnChassis.h:214
Definition IpmiNetFnChassis.h:416
IPMI_GET_BOOT_OPTIONS_PARAMETER_VERSION ParameterVersion
Definition IpmiNetFnChassis.h:418
UINT8 CompletionCode
Definition IpmiNetFnChassis.h:417
IPMI_GET_BOOT_OPTIONS_PARAMETER_VALID ParameterValid
Definition IpmiNetFnChassis.h:419
Definition IpmiNetFnChassis.h:41
UINT8 ChassisSDRDeviceAddress
Definition IpmiNetFnChassis.h:45
UINT8 CompletionCode
Definition IpmiNetFnChassis.h:42
UINT8 ChassisBridgeDeviceAddress
Definition IpmiNetFnChassis.h:48
UINT8 ChassisSystemManagementDeviceAddress
Definition IpmiNetFnChassis.h:47
UINT8 ChassisFruInfoDeviceAddress
Definition IpmiNetFnChassis.h:44
UINT8 CapabilitiesFlags
Definition IpmiNetFnChassis.h:43
UINT8 ChassisSELDeviceAddress
Definition IpmiNetFnChassis.h:46
Definition IpmiNetFnChassis.h:59
UINT8 CurrentPowerState
Definition IpmiNetFnChassis.h:61
UINT8 FrontPanelButtonCapabilities
Definition IpmiNetFnChassis.h:64
UINT8 LastPowerEvent
Definition IpmiNetFnChassis.h:62
UINT8 CompletionCode
Definition IpmiNetFnChassis.h:60
UINT8 MiscChassisState
Definition IpmiNetFnChassis.h:63
Definition IpmiNetFnChassis.h:168
IPMI_SYSTEM_RESTART_CAUSE RestartCause
Definition IpmiNetFnChassis.h:170
UINT8 ChannelNumber
Definition IpmiNetFnChassis.h:171
UINT8 CompletionCode
Definition IpmiNetFnChassis.h:169
Definition IpmiNetFnChassis.h:217
UINT8 Data4
Definition IpmiNetFnChassis.h:223
UINT8 Data2
Definition IpmiNetFnChassis.h:221
UINT8 Data1
Definition IpmiNetFnChassis.h:220
UINT8 Parameter
Definition IpmiNetFnChassis.h:218
UINT8 Data3
Definition IpmiNetFnChassis.h:222
UINT8 Valid
Definition IpmiNetFnChassis.h:219
UINT8 Data5
Definition IpmiNetFnChassis.h:224
Definition IpmiNetFnChassis.h:190
IPMI_SET_BOOT_OPTIONS_PARAMETER_VALID ParameterValid
Definition IpmiNetFnChassis.h:191
Definition IpmiNetFnChassis.h:130
IPMI_POWER_RESTORE_POLICY PowerRestorePolicy
Definition IpmiNetFnChassis.h:131
Definition IpmiNetFnChassis.h:134
UINT8 CompletionCode
Definition IpmiNetFnChassis.h:135
UINT8 PowerRestorePolicySupport
Definition IpmiNetFnChassis.h:136
Definition IpmiNetFnChassis.h:370
UINT8 ChannelNumber
Definition IpmiNetFnChassis.h:372
UINT8 Reserved
Definition IpmiNetFnChassis.h:373
UINT8 Uint8
Definition IpmiNetFnChassis.h:375
Definition IpmiNetFnChassis.h:389
IPMI_BOOT_OPTIONS_RESPONSE_PARAMETER_2 Parm2
Definition IpmiNetFnChassis.h:392
IPMI_BOOT_OPTIONS_RESPONSE_PARAMETER_5 Parm5
Definition IpmiNetFnChassis.h:395
IPMI_BOOT_OPTIONS_RESPONSE_PARAMETER_1 Parm1
Definition IpmiNetFnChassis.h:391
IPMI_BOOT_OPTIONS_RESPONSE_PARAMETER_4 Parm4
Definition IpmiNetFnChassis.h:394
IPMI_BOOT_OPTIONS_RESPONSE_PARAMETER_3 Parm3
Definition IpmiNetFnChassis.h:393
IPMI_BOOT_OPTIONS_RESPONSE_PARAMETER_6 Parm6
Definition IpmiNetFnChassis.h:396
IPMI_BOOT_OPTIONS_RESPONSE_PARAMETER_7 Parm7
Definition IpmiNetFnChassis.h:397
IPMI_BOOT_OPTIONS_RESPONSE_PARAMETER_0 Parm0
Definition IpmiNetFnChassis.h:390
Definition IpmiNetFnChassis.h:253
UINT8 Uint8
Definition IpmiNetFnChassis.h:258
UINT8 SetInProgress
Definition IpmiNetFnChassis.h:255
UINT8 Reserved
Definition IpmiNetFnChassis.h:256
Definition IpmiNetFnChassis.h:265
UINT8 ServicePartitionScanRequest
Definition IpmiNetFnChassis.h:268
UINT8 Uint8
Definition IpmiNetFnChassis.h:271
UINT8 Reserved
Definition IpmiNetFnChassis.h:269
UINT8 ServicePartitionDiscovered
Definition IpmiNetFnChassis.h:267
Definition IpmiNetFnChassis.h:274
UINT8 BmcBootFlagValid
Definition IpmiNetFnChassis.h:276
UINT8 Reserved
Definition IpmiNetFnChassis.h:277
UINT8 Uint8
Definition IpmiNetFnChassis.h:279
Definition IpmiNetFnChassis.h:312
UINT8 Uint8
Definition IpmiNetFnChassis.h:319
UINT8 PersistentOptions
Definition IpmiNetFnChassis.h:316
UINT8 Reserved
Definition IpmiNetFnChassis.h:314
UINT8 BiosBootType
Definition IpmiNetFnChassis.h:315
UINT8 BootFlagValid
Definition IpmiNetFnChassis.h:317
Definition IpmiNetFnChassis.h:322
UINT8 Uint8
Definition IpmiNetFnChassis.h:330
UINT8 ScreenBlank
Definition IpmiNetFnChassis.h:325
UINT8 CmosClear
Definition IpmiNetFnChassis.h:328
UINT8 LockReset
Definition IpmiNetFnChassis.h:324
UINT8 LockKeyboard
Definition IpmiNetFnChassis.h:327
UINT8 BootDeviceSelector
Definition IpmiNetFnChassis.h:326
Definition IpmiNetFnChassis.h:333
UINT8 ConsoleRedirection
Definition IpmiNetFnChassis.h:335
UINT8 LockPower
Definition IpmiNetFnChassis.h:340
UINT8 ForceProgressEventTrap
Definition IpmiNetFnChassis.h:338
UINT8 LockSleep
Definition IpmiNetFnChassis.h:336
UINT8 UserPasswordBypass
Definition IpmiNetFnChassis.h:337
UINT8 BiosVerbosity
Definition IpmiNetFnChassis.h:339
UINT8 Uint8
Definition IpmiNetFnChassis.h:342
Definition IpmiNetFnChassis.h:345
UINT8 BiosSharedModeOverride
Definition IpmiNetFnChassis.h:348
UINT8 BiosMuxControlOverride
Definition IpmiNetFnChassis.h:347
UINT8 Reserved
Definition IpmiNetFnChassis.h:349
UINT8 Uint8
Definition IpmiNetFnChassis.h:351
Definition IpmiNetFnChassis.h:354
UINT8 Uint8
Definition IpmiNetFnChassis.h:359
UINT8 Reserved
Definition IpmiNetFnChassis.h:357
UINT8 DeviceInstanceSelector
Definition IpmiNetFnChassis.h:356
Definition IpmiNetFnChassis.h:75
UINT8 ChassisControl
Definition IpmiNetFnChassis.h:77
UINT8 Uint8
Definition IpmiNetFnChassis.h:80
UINT8 Reserved
Definition IpmiNetFnChassis.h:78
Definition IpmiNetFnChassis.h:431
UINT8 DisableDiagnosticInterruptButton
Definition IpmiNetFnChassis.h:435
UINT8 Reserved
Definition IpmiNetFnChassis.h:437
UINT8 DisablePoweroffButton
Definition IpmiNetFnChassis.h:433
UINT8 DisableResetButton
Definition IpmiNetFnChassis.h:434
UINT8 Uint8
Definition IpmiNetFnChassis.h:439
UINT8 DisableStandbyButton
Definition IpmiNetFnChassis.h:436
Definition IpmiNetFnChassis.h:203
UINT8 Reserved
Definition IpmiNetFnChassis.h:206
UINT8 Uint8
Definition IpmiNetFnChassis.h:208
UINT8 ParameterSelector
Definition IpmiNetFnChassis.h:205
Definition IpmiNetFnChassis.h:408
UINT8 Uint8
Definition IpmiNetFnChassis.h:413
UINT8 ParameterValid
Definition IpmiNetFnChassis.h:411
UINT8 ParameterSelector
Definition IpmiNetFnChassis.h:410
Definition IpmiNetFnChassis.h:400
UINT8 Reserved
Definition IpmiNetFnChassis.h:403
UINT8 Uint8
Definition IpmiNetFnChassis.h:405
UINT8 ParameterVersion
Definition IpmiNetFnChassis.h:402
Definition IpmiNetFnChassis.h:122
UINT8 PowerRestorePolicy
Definition IpmiNetFnChassis.h:124
UINT8 Uint8
Definition IpmiNetFnChassis.h:127
UINT8 Reserved
Definition IpmiNetFnChassis.h:125
Definition IpmiNetFnChassis.h:182
UINT8 MarkParameterInvalid
Definition IpmiNetFnChassis.h:185
UINT8 Uint8
Definition IpmiNetFnChassis.h:187
UINT8 ParameterSelector
Definition IpmiNetFnChassis.h:184
Definition IpmiNetFnChassis.h:160
UINT8 Cause
Definition IpmiNetFnChassis.h:162
UINT8 Uint8
Definition IpmiNetFnChassis.h:165
UINT8 Reserved
Definition IpmiNetFnChassis.h:163