Get Watchdog Timer
更新时间: 2025/06/26
在Gitcode上查看源码25h-获取看门狗定时器(Get-Watchdog-Timer)
修订记录
| openUBMC版本号 | 修订日期 | 修订内容 |
|---|---|---|
| 25.06 | 2025/06/26 | 初稿,新增命令详情 |
基本信息
功能说明
获取看门狗定时器。
权限
ReadOnly
命令信息
请求信息
| 字节顺序 | 域取值说明 |
|---|---|
| NetFn | App 06h |
| CMD | 25h |
响应信息
| 字节顺序 | 域取值说明 |
|---|---|
| 1 | Completion Code |
| 2 | Timer Use [7]-1b =don't log [6]-1b=timer is started (running) 0b=timer is stopped [5:3]-reserved [2:0]-timer use (logged on expiration if don't log bit=0b) 000b=reserved 001b=BIOS FRB2 010b=BIOS/POST 011b=OS Load 100b=SMS/OS 101b=OEM 110b,111b=reserved |
| 3 | Timer Actions [7]-reserved [6:4]-pre-timeout interrupt 000b=none 001b=SMI (if implemented) 010b=NMI/Diagnostic Interrupt (if implemented) 011b=Messaging Interrupt (this would be the same interrupt as allocated to the messaging 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 |
| 4 | Pre-timeout interval in seconds. '1' based. |
| 5 | Timer Use Expiration flags (1b=timer expired while associated 'use' was selected.) [7]-reserved [6]-reserved [5]-OEM [4]-SMS/OS [3]-OS Load [2]-BIOS/POST [1]-BIOS FRB2 [0]-reserved |
| 6 | Initial countdown value, lsbyte (100 ms/count) |
| 7 | Initial countdown, msbyte |
| 8 | Present 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 100 ms before seeing the countdown value change and be reflected in the Get Watchdog Timer command. |
| 9 | Present countdown value, msbyte |
命令样例
获取看门狗定时器
请求:
ipmicmd -k "0f 00 06 25" smi 0响应:
0f 07 00 25 00 00 00 00 00 00 00 00 00