Searched refs:PcdGet32 (Results 1 - 25 of 90) sorted by relevance

1234

/vbox/src/VBox/Devices/EFI/Firmware/OvmfPkg/PlatformPei/
H A DFv.c40 PcdGet32 (PcdOvmfMemFvBase),
41 PcdGet32 (PcdOvmfMemFvSize)
45 BuildFvHob (PcdGet32 (PcdOvmfMemFvBase), PcdGet32 (PcdOvmfMemFvSize));
51 PcdGet32 (PcdOvmfMemFvBase),
52 PcdGet32 (PcdOvmfMemFvSize),
H A DMemDetect.c114 MemoryBase = PcdGet32 (PcdOvmfMemFvBase) + PcdGet32 (PcdOvmfMemFvSize);
/vbox/src/VBox/Devices/EFI/Firmware/VBoxPkg/PlatformPei/
H A DFv.c66 PcdGet32 (PcdOvmfMemFvBase),
67 PcdGet32 (PcdOvmfMemFvSize)
71 BuildFvHob (PcdGet32 (PcdOvmfMemFvBase), PcdGet32 (PcdOvmfMemFvSize));
77 PcdGet32 (PcdOvmfMemFvBase),
78 PcdGet32 (PcdOvmfMemFvSize),
H A DMemDetect.c140 MemoryBase = PcdGet32 (PcdOvmfMemFvBase) + PcdGet32 (PcdOvmfMemFvSize);
/vbox/src/VBox/Devices/EFI/Firmware/MdePkg/Library/BaseDebugPrintErrorLevelLib/
H A DBaseDebugPrintErrorLevelLib.c36 return PcdGet32 (PcdDebugPrintErrorLevel);
/vbox/src/VBox/Devices/EFI/Firmware/StdLib/Include/
H A Dlimits.h94 #if (PcdGet32(PcdMaximumAsciiStringLength) > 0)
96 #define ASCII_STRING_MAX PcdGet32(PcdMaximumAsciiStringLength)
102 #if (PcdGet32(PcdMaximumUnicodeStringLength) > 0)
104 #define UNICODE_STRING_MAX PcdGet32(PcdMaximumUnicodeStringLength)
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Application/HelloWorld/
H A DHelloWorld.c48 for (Index = 0; Index < PcdGet32 (PcdHelloWorldPrintTimes); Index ++) {
/vbox/src/VBox/Devices/EFI/Firmware/SourceLevelDebugPkg/Library/DebugCommunicationLibUsb/
H A DDebugCommunicationLibUsb.c175 VendorId = PciRead16 (PcdGet32(PcdUsbEhciPciAddress) + PCI_VENDOR_ID_OFFSET);
176 DeviceId = PciRead16 (PcdGet32(PcdUsbEhciPciAddress) + PCI_DEVICE_ID_OFFSET);
182 ProgInterface = PciRead8 (PcdGet32(PcdUsbEhciPciAddress) + PCI_CLASSCODE_OFFSET);
183 SubClassCode = PciRead8 (PcdGet32(PcdUsbEhciPciAddress) + PCI_CLASSCODE_OFFSET + 1);
184 BaseCode = PciRead8 (PcdGet32(PcdUsbEhciPciAddress) + PCI_CLASSCODE_OFFSET + 2);
193 PciStatus = PciRead16 (PcdGet32(PcdUsbEhciPciAddress) + PCI_PRIMARY_STATUS_OFFSET);
205 CapabilityPtr = PciRead8(PcdGet32(PcdUsbEhciPciAddress) + PCI_CAPBILITY_POINTER_OFFSET);
211 CapabilityId = PciRead8(PcdGet32(PcdUsbEhciPciAddress) + CapabilityPtr);
215 CapabilityPtr = PciRead8(PcdGet32(PcdUsbEhciPciAddress) + CapabilityPtr + 1);
228 *DebugPortOffset = (UINT16)(PciRead16(PcdGet32(PcdUsbEhciPciAddres
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/PcAtChipsetPkg/Library/BaseIoApicLib/
H A DIoApicLib.c45 MmioWrite8 (PcdGet32 (PcdIoApicBaseAddress) + IOAPIC_INDEX_OFFSET, (UINT8)Index);
46 return MmioRead32 (PcdGet32 (PcdIoApicBaseAddress) + IOAPIC_DATA_OFFSET);
67 MmioWrite8 (PcdGet32 (PcdIoApicBaseAddress) + IOAPIC_INDEX_OFFSET, (UINT8)Index);
68 return MmioWrite32 (PcdGet32 (PcdIoApicBaseAddress) + IOAPIC_DATA_OFFSET, Value);
/vbox/src/VBox/Devices/EFI/Firmware/SourceLevelDebugPkg/Library/DebugAgent/DebugAgentCommon/
H A DDebugTimer.c36 PcdGet32(PcdFSBClock) / (UINT32)ApicTimerDivisor,
/vbox/src/VBox/Devices/EFI/Firmware/MdePkg/Library/UefiUsbLib/
H A DHid.c76 PcdGet32 (PcdUsbTransferTimeoutValue),
136 PcdGet32 (PcdUsbTransferTimeoutValue),
191 PcdGet32 (PcdUsbTransferTimeoutValue),
245 PcdGet32 (PcdUsbTransferTimeoutValue),
298 PcdGet32 (PcdUsbTransferTimeoutValue),
353 PcdGet32 (PcdUsbTransferTimeoutValue),
416 PcdGet32 (PcdUsbTransferTimeoutValue),
481 PcdGet32 (PcdUsbTransferTimeoutValue),
H A DUsbDxeLib.c76 PcdGet32 (PcdUsbTransferTimeoutValue),
136 PcdGet32 (PcdUsbTransferTimeoutValue),
193 PcdGet32 (PcdUsbTransferTimeoutValue),
246 PcdGet32 (PcdUsbTransferTimeoutValue),
300 PcdGet32 (PcdUsbTransferTimeoutValue),
350 PcdGet32 (PcdUsbTransferTimeoutValue),
427 PcdGet32 (PcdUsbTransferTimeoutValue),
505 PcdGet32 (PcdUsbTransferTimeoutValue),
584 PcdGet32 (PcdUsbTransferTimeoutValue),
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Bus/Usb/UsbBusPei/
H A DHubPeim.c60 PcdGet32 (PcdUsbTransferTimeoutValue),
105 PcdGet32 (PcdUsbTransferTimeoutValue),
149 PcdGet32 (PcdUsbTransferTimeoutValue),
190 PcdGet32 (PcdUsbTransferTimeoutValue),
231 PcdGet32 (PcdUsbTransferTimeoutValue),
272 PcdGet32 (PcdUsbTransferTimeoutValue),
316 PcdGet32 (PcdUsbTransferTimeoutValue),
H A DPeiUsbLib.c61 PcdGet32 (PcdUsbTransferTimeoutValue),
101 PcdGet32 (PcdUsbTransferTimeoutValue),
158 PcdGet32 (PcdUsbTransferTimeoutValue),
193 PcdGet32 (PcdUsbTransferTimeoutValue),
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Bus/Usb/UsbBotPei/
H A DPeiUsbLib.c61 PcdGet32 (PcdUsbTransferTimeoutValue),
101 PcdGet32 (PcdUsbTransferTimeoutValue),
158 PcdGet32 (PcdUsbTransferTimeoutValue),
193 PcdGet32 (PcdUsbTransferTimeoutValue),
/vbox/src/VBox/Devices/EFI/Firmware/MdePkg/Library/BaseLib/
H A DLinkedList.c75 if (PcdGet32 (PcdMaximumLinkedListLength) > 0) {
80 ASSERT (Count < PcdGet32 (PcdMaximumLinkedListLength));
85 if (Count >= PcdGet32 (PcdMaximumLinkedListLength)) {
96 if (PcdGet32 (PcdMaximumLinkedListLength) > 0) {
104 } while ((Ptr != List) && (Count < PcdGet32 (PcdMaximumLinkedListLength)));
109 ASSERT (Count < PcdGet32 (PcdMaximumLinkedListLength));
H A DString.c126 if (PcdGet32 (PcdMaximumUnicodeStringLength) != 0) {
127 ASSERT (Length <= PcdGet32 (PcdMaximumUnicodeStringLength));
174 if (PcdGet32 (PcdMaximumUnicodeStringLength) != 0) {
175 ASSERT (Length < PcdGet32 (PcdMaximumUnicodeStringLength));
307 if (PcdGet32 (PcdMaximumUnicodeStringLength) != 0) {
308 ASSERT (Length <= PcdGet32 (PcdMaximumUnicodeStringLength));
1170 if (PcdGet32 (PcdMaximumAsciiStringLength) != 0) {
1171 ASSERT (Length <= PcdGet32 (PcdMaximumAsciiStringLength));
1217 if (PcdGet32 (PcdMaximumAsciiStringLength) != 0) {
1218 ASSERT (Length < PcdGet32 (PcdMaximumAsciiStringLengt
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/MdePkg/Library/PeiExtractGuidedSectionLib/
H A DPeiExtractGuidedSectionLib.c65 PcdGet32 (PcdMaximumGuidedExtractHandler) * sizeof (GUID)
69 PcdGet32 (PcdMaximumGuidedExtractHandler) *
90 PcdGet32 (PcdMaximumGuidedExtractHandler) *
108 PcdGet32 (PcdMaximumGuidedExtractHandler) * sizeof (GUID)
112 PcdGet32 (PcdMaximumGuidedExtractHandler) *
235 if (HandlerInfo->NumberOfExtractHandler >= PcdGet32 (PcdMaximumGuidedExtractHandler)) {
/vbox/src/VBox/Devices/EFI/Firmware/IntelFrameworkModulePkg/Universal/Acpi/AcpiS3SaveDxe/
H A DAcpiVariableThunkPlatform.c84 AcpiMemoryBase = (EFI_PHYSICAL_ADDRESS)(UINTN)AllocateAcpiNvsMemoryBelow4G (PcdGet32 (PcdS3AcpiReservedMemorySize));
86 AcpiMemorySize = PcdGet32 (PcdS3AcpiReservedMemorySize);
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Universal/Variable/EmuRuntimeDxe/
H A DEmuVariable.c993 && ((HEADER_ALIGN (VarSize) + mVariableModuleGlobal->HwErrVariableTotalSize) > PcdGet32 (PcdHwErrStorageSize)))
995 && ((HEADER_ALIGN (VarSize) + mVariableModuleGlobal->CommonVariableTotalSize) > NonVolatileVarableStoreSize - sizeof (VARIABLE_STORE_HEADER) - PcdGet32 (PcdHwErrStorageSize)))) {
1402 // the DataSize is limited to maximum size of PcdGet32 (PcdMaxHardwareErrorVariableSize)
1403 // bytes for HwErrRec, and PcdGet32 (PcdMaxVariableSize) bytes for the others.
1406 if ((DataSize > PcdGet32 (PcdMaxHardwareErrorVariableSize)) ||
1407 (sizeof (VARIABLE_HEADER) + StrSize (VariableName) + DataSize > PcdGet32 (PcdMaxHardwareErrorVariableSize))) {
1419 // the DataSize is limited to maximum size of PcdGet32 (PcdMaxVariableSize) bytes.
1421 if ((DataSize > PcdGet32 (PcdMaxVariableSize)) ||
1422 (sizeof (VARIABLE_HEADER) + StrSize (VariableName) + DataSize > PcdGet32 (PcdMaxVariableSize))) {
1542 *MaximumVariableStorageSize = PcdGet32 (PcdHwErrStorageSiz
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/VBoxPkg/VBoxVariable/
H A DEmuVariable.c1032 && ((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 (PcdHwErrStorageSiz
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/SecurityPkg/VariableAuthenticated/RuntimeDxe/
H A DVariable.c1443 ScratchSize = MAX (PcdGet32 (PcdMaxVariableSize), PcdGet32 (PcdMaxHardwareErrorVariableSize));
1558 RevBufSize = MIN (PcdGet32 (PcdMaxVariableSize), ScratchDataSize);
1698 && ((VarSize + mVariableModuleGlobal->HwErrVariableTotalSize) > PcdGet32 (PcdHwErrStorageSize)))
1700 && ((VarSize + mVariableModuleGlobal->CommonVariableTotalSize) > NonVolatileVarableStoreSize - sizeof (VARIABLE_STORE_HEADER) - PcdGet32 (PcdHwErrStorageSize)))) {
1717 && ((VarSize + mVariableModuleGlobal->HwErrVariableTotalSize) > PcdGet32 (PcdHwErrStorageSize)))
1719 && ((VarSize + mVariableModuleGlobal->CommonVariableTotalSize) > NonVolatileVarableStoreSize - sizeof (VARIABLE_STORE_HEADER) - PcdGet32 (PcdHwErrStorageSize)))) {
2194 // the DataSize is limited to maximum size of PcdGet32 (PcdMaxHardwareErrorVariableSize)
2195 // bytes for HwErrRec, and PcdGet32 (PcdMaxVariableSize) bytes for the others.
2198 if ((PayloadSize > PcdGet32 (PcdMaxHardwareErrorVariableSiz
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Universal/Variable/RuntimeDxe/
H A DVariable.c1530 ScratchSize = MAX (PcdGet32 (PcdMaxVariableSize), PcdGet32 (PcdMaxHardwareErrorVariableSize));
1574 && ((VarSize + mVariableModuleGlobal->HwErrVariableTotalSize) > PcdGet32 (PcdHwErrStorageSize)))
1576 && ((VarSize + mVariableModuleGlobal->CommonVariableTotalSize) > NonVolatileVarableStoreSize - sizeof (VARIABLE_STORE_HEADER) - PcdGet32 (PcdHwErrStorageSize)))) {
1593 && ((VarSize + mVariableModuleGlobal->HwErrVariableTotalSize) > PcdGet32 (PcdHwErrStorageSize)))
1595 && ((VarSize + mVariableModuleGlobal->CommonVariableTotalSize) > NonVolatileVarableStoreSize - sizeof (VARIABLE_STORE_HEADER) - PcdGet32 (PcdHwErrStorageSize)))) {
2045 // the DataSize is limited to maximum size of PcdGet32 (PcdMaxHardwareErrorVariableSize)
2046 // bytes for HwErrRec, and PcdGet32 (PcdMaxVariableSize) bytes for the others.
2049 if ((DataSize > PcdGet32 (PcdMaxHardwareErrorVariableSize)) ||
2050 (sizeof (VARIABLE_HEADER) + StrSize (VariableName) + DataSize > PcdGet32 (PcdMaxHardwareErrorVariableSiz
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Universal/PCD/Pei/
H A DService.c91 CallbackTable = CallbackTable + (TokenNumber * PcdGet32 (PcdMaxPeiPcdCallBackNumberPerPcdEntry));
97 for (Idx = 0; Idx < PcdGet32 (PcdMaxPeiPcdCallBackNumberPerPcdEntry); Idx++) {
130 SizeOfCallbackFnTable = PEI_LOCAL_TOKEN_NUMBER * sizeof (PCD_PPI_CALLBACK) * PcdGet32 (PcdMaxPeiPcdCallBackNumberPerPcdEntry);
304 CallbackTable += (TokenNumber * PcdGet32 (PcdMaxPeiPcdCallBackNumberPerPcdEntry));
306 for (Idx = 0; Idx < PcdGet32 (PcdMaxPeiPcdCallBackNumberPerPcdEntry); Idx++) {
637 return (VOID *) (UINTN) (PcdGet32 (PcdVpdBaseAddress) + VpdHead->Offset);
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Library/BaseSerialPortLib16550/
H A DBaseSerialPortLib16550.c136 if (Divisor != 115200 / PcdGet32 (PcdSerialBaudRate)) {
146 Divisor = 115200 / PcdGet32 (PcdSerialBaudRate);

Completed in 279 milliseconds

1234