gEfiMdeModulePkgTokenSpaceGuid.PcdMaxUserNvVariableSpaceSize

The size of maximum user NV variable space.


Note that this value must be less than (PcdFlashNvStorageVariableSize - EFI_FIRMWARE_VOLUME_HEADER.HeaderLength - sizeof (VARIABLE_STORE_HEADER) - PcdHwErrStorageSize).

If the value is 0, it means user variable share the same NV storage with system variable,
this is designed to keep the compatibility for the platform that does not allocate special region for user variable.

If the value is non-0, the below 4 types of variables will be regarded as System Variable after EndOfDxe, their property could be got by VarCheck protocol,
otherwise the variable will be regarded as user variable.

1) UEFI defined variables (gEfiGlobalVariableGuid and gEfiImageSecurityDatabaseGuid(auth variable) variables at least).

2) Variables managed by Variable driver internally.

3) Variables need to be locked, they MUST be set by VariableLock protocol.

4) Important variables during platform boot, their property SHOULD be set by VarCheck protocol.

The PCD is used to guarantee the space of system variable and not populated by user variable.

Maximum user NV variable space size.

PCD Information

NameToken SpaceToken numberData TypeDefault Value
PcdMaxUserNvVariableSpaceSizegEfiMdeModulePkgTokenSpaceGuid0x00000009UINT320x00

Generated on Thu Sep 24 23:30:15 2015 for MdeModulePkg[ALL] by  doxygen 1.5.7.1