NvdimmRegionInfo

NvdimmRegionInfo
NvdimmRegionInfo

\brief NVDIMM region information.

This represents a region which is a part of NVDIMM.

AllOf
This class requires all of the following:
JSON Example
{
    "_typeName": "string",
    "regionId": 0,
    "setId": 0,
    "rangeType": "string",
    "startAddr": 0,
    "size": 0,
    "offset": 0
}
integer As int32 As int32
regionId
Required

NVDIMM region ID

integer As int32 As int32
setId
Required

Interleave set ID.

Interleave set to which this region belongs. A value of 0 indicates that this region is not a part of any interleave set.

string
rangeType
Required

Type of region.

Must be one of the values of NvdimmRangeTypeEnum

integer As int64 As int64
startAddr
Required

Region start address.

This represents the address within the NVDIMM to which this NVDIMM region belongs (Dimm physical address). If setId is 0, this field is not valid.

integer As int64 As int64
size
Required

Size of region in bytes.

If this region is part of interleave set (represented by non zero setId) and the region is interleaved across multiple dimms (represented by more that one element in deviceList for assosiated set id setId), this size represents part of the interleave set size - (total interleave set size / number of dimms in deviceList). Example: If Interleave set with set id 5, has a size of 2TB and has 2 NVDIMMs contributing to it (size of deviceList is 2), then this size parameter is 2TB/2 = 1TB. If setId is 0, this field is not valid.

integer As int64 As int64
offset
Required

Offset of nvdimm within interleave set.

This represents offset with respect to base address in baseAddress. If setId is 0, this field is not valid.