Get Watchdog Timer 命令详情
更新时间:2025/06/26
在Gitcode上查看源码

修订记录

openUBMC版本号修订日期修订人修订内容
25.062025/06/26pengqiang-gs初稿,新增命令详情

基本信息

功能说明

标准命令,获取看门狗的计数器。 This command retrieves the current settings and present countdown of the watchdog timer.

权限

ReadOnly

命令信息

请求信息

无请求参数

响应信息

字节顺序域取值说明
1Completion Code
2Timer Use
[7] - 1b = don’t log
[6]
 1b = don’t stop timer on Set Watchdog Timer command (new for IPMI v1.5) new parameters take effect immediately. If timer is already running, countdown value will get set to given value and countdown will continue from that point. If timer is already stopped, it will remain stopped. If the pre-timeout interrupt bit is set, it will get cleared.
 0b = timer stops automatically when Set Watchdog Timer command is received
[5:3] - reserved
[2:0] - timer use (logged on expiration when “don’t log” bit = 0b)
 000b = reserved
 001b = BIOS FRB2
 010b = BIOS/POST
 011b = OS Load
 100b = SMS/OS
 101b = OEM
 110b -111b = reserved
3Timer Actions
[7] - reserved
[6:4] - pre-timeout interrupt (logged on expiration when “don’t log” bit = 0b)
 000b = none
 001b = SMI (optional)
 010b = NMI / Diagnostic Interrupt (optional)
 011b = Messaging Interrupt (this is the same interrupt as allocated to the messaging interface, if communications interrupts are supported for the system interface)
 100b,111b = reserved
[3] - reserved
[2:0] - timeout action
 000b = no action
 001b = Hard Reset
 010b = Power Down
 011b = Power Cycle
 100b,111b = reserved
4Pre-timeout interval in seconds. ‘1’ based.
5Timer Use Expiration flags clear (0b = leave alone, 1b = clear timer use expiration bit)
[7] - reserved
[6] - reserved
[5] - OEM
[4] - SMS/OS
[3] - OS Load
[2] - BIOS/POST
[1] - BIOS FRB2
[0] - reserved
6Initial countdown value, lsbyte (100 ms/count)
7Initial countdown value, msbyte
8Present countdown value, lsbyte. The initial countdown value and present countdown values should match immediately after the countdown is initialized via a Set Watchdog Timer command and after a Reset Watchdog Timer has been executed.
Note that internal delays in the BMC may require software to delay up to 100ms before seeing the countdown value change and be reflected in the Get Watchdog Timer command.
9Present countdown value, msbyte

命令样例

样例1:获取看门狗的计数器

  • 请求:ipmitool raw 0x06 0x023
  • 响应:

返回到索引