Bewerken

Delen via


UFS_UNIT_CONFIG_DESCRIPTOR_V3_1 structure (ufs.h)

The UFS_UNIT_CONFIG_DESCRIPTOR_V3_1 structure describes the user-configurable parameters within the UFS_CONFIG_DESCRIPTOR_V3_1 structure.

Syntax

typedef struct {
  UCHAR  bLUEnable;
  UCHAR  bBootLunID;
  UCHAR  bLUWriteProtect;
  UCHAR  bMemoryType;
  UCHAR  dNumAllocUnits[4];
  UCHAR  bDataReliability;
  UCHAR  bLogicalBlockSize;
  UCHAR  bProvisioningType;
  UCHAR  wContextCapabilities[2];
  UCHAR  Reserved[3];
  USHORT wLUMaxActiveHPBRegions;
  USHORT wHPBPinnedRegionStartIdx;
  USHORT wNumHPBPinnedRegions;
  ULONG  dLUNumWriteBoosterBufferAllocUnits;
} UFS_UNIT_CONFIG_DESCRIPTOR_V3_1, *PUFS_UNIT_CONFIG_DESCRIPTOR_V3_1;

Members

bLUEnable

Specifies whether the logical unit is enabled.

bBootLunID

Specifies whether the logical unit is a bootable logical unit.

bLUWriteProtect

Specifies whether the Logical Unit is write protected.

bMemoryType

Specifies the Memory type of the device. Can be one of the following values.

Value Description
0x00 Normal Memory type
0x01 System code memory type
0x02 Non-Persistent memory type
0x03 Enhanced memory type 1
0x04 Enhanced memory type 2
0x05 Enhanced memory type 3
0x06 Enhanced memory type 4
All other values Reserved for future use.

dNumAllocUnits[4]

Specifies the number of allocation units assigned to the logical unit.

bDataReliability

bDataReliability defines the device behavior when a power failure occurs during a write operation to the logical unit. Can be one of the following values.

Value Description
0x00 The logical unit is not protected; thus its entire data may be lost as a result of a power failure during a write operation.
0x01 The logical unit is protected; thus its data is protected against power failure.
All other values Reserved for future use.

bLogicalBlockSize

Specifies the logical block size.

bProvisioningType

Specifies the provisioning type.

wContextCapabilities[2]

Specifies the number of contexts to be supported in each logical unit.

Reserved[3]

Reserved for future use.

wLUMaxActiveHPBRegions

Specifies the maximum number of HPB regions assigned to the HPB logical unit.

wHPBPinnedRegionStartIdx

Specifies the HPB pinned region start offset.

wNumHPBPinnedRegions

Specifies the number of HPB pinned regions assigned to the HPB logical unit.

dLUNumWriteBoosterBufferAllocUnits

Specifies the number of logical unit WriteBooster buffer allocation units.

Requirements

Requirement Value
Header ufs.h

See also