Lines Matching refs:PcdGet32

1032       && ((HEADER_ALIGN (VarSize) + mVariableModuleGlobal->HwErrVariableTotalSize) > PcdGet32 (PcdHwErrStorageSize)))
1034 && ((HEADER_ALIGN (VarSize) + mVariableModuleGlobal->CommonVariableTotalSize) > NonVolatileVarableStoreSize - sizeof (VARIABLE_STORE_HEADER) - PcdGet32 (PcdHwErrStorageSize)))) {
1441 // the DataSize is limited to maximum size of PcdGet32 (PcdMaxHardwareErrorVariableSize)
1442 // bytes for HwErrRec, and PcdGet32 (PcdMaxVariableSize) bytes for the others.
1445 if ((DataSize > PcdGet32 (PcdMaxHardwareErrorVariableSize)) ||
1446 (sizeof (VARIABLE_HEADER) + StrSize (VariableName) + DataSize > PcdGet32 (PcdMaxHardwareErrorVariableSize))) {
1458 // the DataSize is limited to maximum size of PcdGet32 (PcdMaxVariableSize) bytes.
1460 if ((DataSize > PcdGet32 (PcdMaxVariableSize)) ||
1461 (sizeof (VARIABLE_HEADER) + StrSize (VariableName) + DataSize > PcdGet32 (PcdMaxVariableSize))) {
1581 *MaximumVariableStorageSize = PcdGet32 (PcdHwErrStorageSize);
1582 *MaximumVariableSize = PcdGet32 (PcdMaxHardwareErrorVariableSize) - sizeof (VARIABLE_HEADER);
1585 ASSERT (PcdGet32 (PcdHwErrStorageSize) < VariableStoreHeader->Size);
1586 *MaximumVariableStorageSize = VariableStoreHeader->Size - sizeof (VARIABLE_STORE_HEADER) - PcdGet32 (PcdHwErrStorageSize);
1590 // Let *MaximumVariableSize be PcdGet32 (PcdMaxVariableSize) with the exception of the variable header size.
1592 *MaximumVariableSize = PcdGet32 (PcdMaxVariableSize) - sizeof (VARIABLE_HEADER);
1677 ASSERT (PcdGet32 (PcdHwErrStorageSize) <= PcdGet32 (PcdVariableStoreSize));
1683 VariableStore = (VARIABLE_STORE_HEADER *) AllocateRuntimePool (PcdGet32 (PcdVariableStoreSize));
1694 (VariableStore->Size == PcdGet32 (PcdVariableStoreSize)) &&
1712 SetMem (VariableStore, PcdGet32 (PcdVariableStoreSize), 0xff);
1722 VariableStore->Size = PcdGet32 (PcdVariableStoreSize);