Get TPCM Measurement Status
更新时间: 2025/06/26
在Gitcode上查看源码59h-获取TPCM度量开关值(Get-TPCM-Measurement-Status)
修订记录
| openUBMC版本号 | 修订日期 | 修订内容 |
|---|---|---|
| 25.06 | 2025/06/26 | 初稿,新增命令详情 |
基本信息
功能说明
获取TPCM度量开关值。
权限
UserMgmt
命令信息
请求信息
| 字节顺序 | 域取值说明 |
|---|---|
| NetFn | 30h |
| CMD | 92h |
| 1:3 | Manufacturer ID,LS Byte first。长度固定3个字节,例如,某厂家ID是2011,对应十六进制为0x0007DB,则字节序为第1个字节为DBh、第2个字节为07h、第3个字节为00h。 |
| 4 | Sub command,子命令=59h |
| 5 | Firmware Type 0: 由BIOS侧发起的度量 1: 由SHIM侧发起的度量 2: 由GRUB侧发起的度量 |
| 6 | Firmware Detail Type Firmware Type:0 0: 由BIOS侧发起的度量 1: reserved1 2: reserved2 Firmware Type:1 0: 由SHIM侧发起的度量 1: reserved1 2: reserved2 Firmware Type:2 0: grub.cfg 1: kernel 2: initrd |
响应信息
| 字节顺序 | 域取值说明 |
|---|---|
| 1 | Completion Code |
| 2:4 | Manufacturer ID,LS Byte first。长度固定3个字节,例如,某厂家ID是2011,对应十六进制为0x0007DB,则字节序为第1个字节为DBh、第2个字节为07h、第3个字节为00h。 |
| 5 | Action type 1: measure enable & control enable 2: measure disable 3: measure enable & control disable |
命令样例
请求:
ipmitool raw 0x30 0x92 0xdb 0x07 0x00 0x59 0x00 0x00响应:
db 07 00 01