
Publication No. 500-657806-000 Rev. G
IPMI Firmware and OEM Extensions 89
E.3.13 Get SDR Repository Info
This command returns the SDR command version for the SDR Repository.
E.3.14 Reserve SDR Repository Command
This command is used to set the present ‘owner’ of the repository, as identified by
the ‘Software ID’ or by the Requester’s Slave Address from the command. The
reservation process provides a limited amount of protection on repository access
from the IPMB when records are being incrementally read.
E.3.15 Get SDR Command
This command returns the sensor record specified by ‘Record ID’. The command
also accepts a ‘byte range’ specification that allows just a selected portion of the
record to be retrieved. The Requester must first reserve the SDR Repository using
the “Reserver SDR Repository’ command in order for an incremental read to an
offset other than 0000h to be accepted.
If ‘Record ID’ is specified as 0000h, this command returns the Record Header for
the ‘first’ SDR in the repository. FFFFh specifies that the ‘last’ SDR in the
repository should be listed. If ‘Record ID’ is non-zero, the command returns the
information from the matching record, and the Record ID for the
next
SDR in the
repository.
Table E-15 NetFn 0x0A, Cmd 0x20
Byte
Value
Data Field
Comments
Request-data
-
-
Response-data
1
00h
Completion code
2
51h
SDR Version.
3
XXh
Record count LS Byte.
4
XXh
Record count MS Byte.
5:6
XXXXh
Free space in bytes. LS Byte
first. 000h indicates ‘full’ FFFEh
indicates 64KB-2 or more,
FFFFh indicates ‘unspecified’.
7:10
00000000h
Most recent addition
timestamp. LS Byte first.
Add SDR or Partial-Add SDR
command not supported,
always returns 00000000.
11:14
00000000h
Most recent erase (delete or
clear) timestamp. LS Byte first.
Delete SDR or Clear SDR
command not supported,
always returns 00000000.
15
02h
Operation Support
[7] – Overflow flag =1
Only Reserve SDR Repository
command supported.
Table E-16 NetFn 0x0A, Cmd 0x22
Byte
Value
Data Field
Comments
Request-data
-
-
Response-data
1
00h
Completion Code.
2
XXh
Reservation ID, LS Byte.
3
XXh
Reservation ID, MS Byte.