代码仓
中
Get SEL Entry
更新时间: 2025/06/26
在AtomGit上查看源码

43h-获取SEL条目(Get-SEL-Entry) ​

修订记录 ​

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

基本信息 ​

功能说明 ​

获取SEL条目。

权限 ​

ReadOnly

命令信息 ​

请求信息 ​

字节顺序域取值说明
NetFnStorage 0Ah
CMD43h
1:2Reservation ID, LS Byte first. Only required for partial Get. Use 0000h otherwise.[1]
3:4SEL Record ID, LS Byte first.
0000h=GET FIRST ENTRY
FFFFh=GET LAST ENTRY
5Offset into record
6Bytes to read. FFh means read entire record.
The reservation ID should be set to 0000h for implementations that don't implement the Reserve SEL command.

响应信息 ​

字节顺序域取值说明
1Completion Code
Return an error completion code if the SEL is empty.
81h=cannot execute command, SEL erase in progress.
2:3Next SEL Record ID, LS Byte first (return FFFFh if the record just returned is the last record.)
Note: FFFFh is not allowed as the record ID for an actual record. I.e. the Record ID in the Record Data for the last record should not be FFFFh.
4:NRecord Data, 16 bytes for entire record

命令样例 ​

获取SEL条目 ​

请求:

ipmicmd -k "0f 00 0A 43 00 00 00 00 00 ff" smi 0

响应:

0f 0b 00 43 00 02 00 01 00 02 5b 0b ef 61 20 00 04 10 4e 6f
             02 ff ff

返回到索引 ​