Get SDR Repository Allocation Info 命令详情
更新时间:2025/06/26
在Gitcode上查看源码

修订记录

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

基本信息

功能说明

标准命令,获取 SDR 的容量信息。 The command returns the number of possible allocation units, the amount of usable free space (in allocation units), the allocation unit size (in bytes), and the size of the largest contiguous free region (in allocation units).

权限

ReadOnly

命令信息

请求信息

无请求信息

响应信息

字节顺序域取值说明
1Completion Code
2:3Number of possible allocation units, LS Byte first

This number indicates whether the total number of possible allocation units is equal to, or some number less than the log size divided by the allocation unit size. 0000h indicates ‘unspecified’.
4:5Allocation unit size in bytes. 0000h indicates ‘unspecified’.
6:7Number of free allocation units, LS Byte first
8:9Largest free block in allocation units, LS Byte first
10Maximum record size in allocation units.

命令样例

样例1:

  • 请求:
  • 响应:

返回到索引