Get SDR Repository Info
更新时间: 2025/06/26
在Gitcode上查看源码20h-获取SDR存储库信息(Get-SDR-Repository-Info)
修订记录
| openUBMC版本号 | 修订日期 | 修订内容 |
|---|---|---|
| 25.06 | 2025/06/26 | 初稿,新增命令详情 |
基本信息
功能说明
获取SDR存储库信息。
权限
ReadOnly
命令信息
请求信息
| 字节顺序 | 域取值说明 |
|---|---|
| NetFn | Storage 0Ah |
| CMD | 20h |
响应信息
| 字节顺序 | 域取值说明 |
|---|---|
| 1 | Completion Code |
| 2 | SDR Version-version number of the SDR command set for the SDR Device. 51h for this specification. (BCD encoded with bits 7:4 holding the Least Significant digit of the revision and bits 3:0 holding the Most Significant bits.) |
| 3 | Record count LS Byte-number of records in the SDR Repository |
| 4 | Record count MS Byte-number of records in the SDR Repository |
| 5:6 | Free Space in bytes, LS Byte first. 0000h indicates 'full', FFFEh indicates 64KB-2 or more available. FFFFh indicates 'unspecified'. |
| 7:10 | Most recent addition timestamp. LS byte first. |
| 11:14 | Most recent erase (delete or clear) timestamp. LS byte first. |
| 15 | Operation Support [7]-Overflow Flag. 1=SDR could not be written due to lack of space in the SDR Repository. [6:5]-00b=modal/non-modal SDR Repository Update operation unspecified 01b=non-modal SDR Repository Update operation supported 10b=modal SDR Repository Update operation supported 11b=both modal and non-modal SDR Repository Update supported [4]-reserved. Write as 0b [3]-1b=Delete SDR command supported [2]-1b=Partial Add SDR command supported [1]-1b=Reserve SDR Repository command supported [0]-1b=Get SDR Repository Allocation Information command supported |
命令样例
获取SDR存储库信息
请求:
ipmicmd -k "0f 00 0a 20" smi 0响应:
0f 51 86 00 80 1e 00 00 00 00 00 00 00 00 47