Home
last modified time | relevance | path

Searched refs:PcdGet64 (Results 1 – 25 of 126) sorted by relevance

123456

/device/linaro/bootloader/edk2/ArmPlatformPkg/MemoryInitPei/
DMemoryInitPeiLib.c83 ASSERT (PcdGet64 (PcdSystemMemorySize) != 0); in MemoryPeim()
105 (PcdGet64 (PcdSystemMemoryBase) >= NextHob.ResourceDescriptor->PhysicalStart) && in MemoryPeim()
106 …alStart + NextHob.ResourceDescriptor->ResourceLength <= PcdGet64 (PcdSystemMemoryBase) + PcdGet64 in MemoryPeim()
119 PcdGet64 (PcdSystemMemoryBase), in MemoryPeim()
120 PcdGet64 (PcdSystemMemorySize) in MemoryPeim()
128 …SystemMemoryTop = (EFI_PHYSICAL_ADDRESS)PcdGet64 (PcdSystemMemoryBase) + (EFI_PHYSICAL_ADDRESS)Pcd… in MemoryPeim()
129 …FdTop = (EFI_PHYSICAL_ADDRESS)PcdGet64 (PcdFdBaseAddress) + (EFI_PHYSICAL_ADDRESS)PcdGet32 (PcdFdS… in MemoryPeim()
133 …if ((PcdGet64 (PcdFdBaseAddress) >= PcdGet64 (PcdSystemMemoryBase)) && (FdTop <= SystemMemoryTop))… in MemoryPeim()
140 (PcdGet64 (PcdFdBaseAddress) >= NextHob.ResourceDescriptor->PhysicalStart) && in MemoryPeim()
147 if (PcdGet64 (PcdFdBaseAddress) == NextHob.ResourceDescriptor->PhysicalStart) { in MemoryPeim()
[all …]
DMemoryInitPeim.c115 ASSERT (PcdGet64 (PcdSystemMemorySize) != 0); in InitializeMemory()
116 ASSERT (PcdGet64 (PcdSystemMemoryBase) < (UINT64)MAX_ADDRESS); in InitializeMemory()
118 SystemMemoryBase = (UINTN)PcdGet64 (PcdSystemMemoryBase); in InitializeMemory()
119 SystemMemoryTop = SystemMemoryBase + PcdGet64 (PcdSystemMemorySize); in InitializeMemory()
123 FdBase = (UINTN)PcdGet64 (PcdFdBaseAddress); in InitializeMemory()
/device/linaro/bootloader/edk2/ArmVirtPkg/Library/ArmVirtMemoryInitPeiLib/
DArmVirtMemoryInitPeiLib.c62 ASSERT (PcdGet64 (PcdSystemMemorySize) != 0); in MemoryPeim()
77 SystemMemoryTop = PcdGet64 (PcdSystemMemoryBase) + in MemoryPeim()
78 PcdGet64 (PcdSystemMemorySize); in MemoryPeim()
84 PcdGet64 (PcdSystemMemoryBase), in MemoryPeim()
85 (UINT64)MAX_ADDRESS - PcdGet64 (PcdSystemMemoryBase) + 1 in MemoryPeim()
97 PcdGet64 (PcdSystemMemoryBase), in MemoryPeim()
98 PcdGet64 (PcdSystemMemorySize) in MemoryPeim()
/device/linaro/bootloader/edk2/ArmPlatformPkg/Library/PL011SerialPortLib/
DPL011SerialPortLib.c46 BaudRate = (UINTN)PcdGet64 (PcdUartDefaultBaudRate); in SerialPortInitialize()
53 (UINTN)PcdGet64 (PcdSerialRegisterBase), in SerialPortInitialize()
74 return PL011UartWrite ((UINTN)PcdGet64 (PcdSerialRegisterBase), Buffer, NumberOfBytes); in SerialPortWrite()
94 return PL011UartRead ((UINTN)PcdGet64 (PcdSerialRegisterBase), Buffer, NumberOfBytes); in SerialPortRead()
111 return PL011UartPoll ((UINTN)PcdGet64 (PcdSerialRegisterBase)); in SerialPortPoll()
148 (UINTN)PcdGet64 (PcdSerialRegisterBase), in SerialPortSetAttributes()
188 return PL011UartSetControl ((UINTN)PcdGet64 (PcdSerialRegisterBase), Control); in SerialPortSetControl()
225 return PL011UartGetControl ((UINTN)PcdGet64 (PcdSerialRegisterBase), Control); in SerialPortGetControl()
/device/linaro/bootloader/edk2/ArmPlatformPkg/ArmJunoPkg/Library/ArmJunoLib/
DArmJunoMem.c118 VirtualMemoryTable[++Index].PhysicalBase = PcdGet64 (PcdPcieControlBaseAddress); in ArmPlatformGetVirtualMemoryMap()
119 VirtualMemoryTable[Index].VirtualBase = PcdGet64 (PcdPcieControlBaseAddress); in ArmPlatformGetVirtualMemoryMap()
126 VirtualMemoryTable[++Index].PhysicalBase = PcdGet64 (PcdPciConfigurationSpaceBaseAddress); in ArmPlatformGetVirtualMemoryMap()
127 VirtualMemoryTable[Index].VirtualBase = PcdGet64 (PcdPciConfigurationSpaceBaseAddress); in ArmPlatformGetVirtualMemoryMap()
128 VirtualMemoryTable[Index].Length = PcdGet64 (PcdPciConfigurationSpaceSize); in ArmPlatformGetVirtualMemoryMap()
142 VirtualMemoryTable[++Index].PhysicalBase = PcdGet64 (PcdPciMmio64Base); in ArmPlatformGetVirtualMemoryMap()
143 VirtualMemoryTable[Index].VirtualBase = PcdGet64 (PcdPciMmio64Base); in ArmPlatformGetVirtualMemoryMap()
144 VirtualMemoryTable[Index].Length = PcdGet64 (PcdPciMmio64Size); in ArmPlatformGetVirtualMemoryMap()
154 VirtualMemoryTable[++Index].PhysicalBase = PcdGet64 (PcdSystemMemoryBase); in ArmPlatformGetVirtualMemoryMap()
155 VirtualMemoryTable[Index].VirtualBase = PcdGet64 (PcdSystemMemoryBase); in ArmPlatformGetVirtualMemoryMap()
[all …]
/device/linaro/bootloader/edk2/ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressLibCTA15-A7/
DCTA15-A7Mem.c139 if (PcdGet64 (PcdSystemMemoryBase) != 0x80000000) { in ArmPlatformGetVirtualMemoryMap()
142 VirtualMemoryTable[Index].Length = PcdGet64 (PcdSystemMemoryBase) - 0x80000000; in ArmPlatformGetVirtualMemoryMap()
148 VirtualMemoryTable[++Index].PhysicalBase = PcdGet64 (PcdSystemMemoryBase); in ArmPlatformGetVirtualMemoryMap()
149 VirtualMemoryTable[Index].VirtualBase = PcdGet64 (PcdSystemMemoryBase); in ArmPlatformGetVirtualMemoryMap()
150 VirtualMemoryTable[Index].Length = PcdGet64 (PcdSystemMemorySize); in ArmPlatformGetVirtualMemoryMap()
162 PcdGet64 (PcdSystemMemoryBase) + PcdGet64 (PcdSystemMemorySize), in ArmPlatformGetVirtualMemoryMap()
167 …VirtualMemoryTable[++Index].PhysicalBase = PcdGet64 (PcdSystemMemoryBase) + PcdGet64 (PcdSystemMe… in ArmPlatformGetVirtualMemoryMap()
168 …VirtualMemoryTable[Index].VirtualBase = PcdGet64 (PcdSystemMemoryBase) + PcdGet64 (PcdSystemMe… in ArmPlatformGetVirtualMemoryMap()
/device/linaro/bootloader/edk2/QuarkPlatformPkg/Platform/Dxe/Setup/
DQNCRegTable.c58 S3MmioWrite16 ((UINTN)PcdGet64(PcdRcbaMmioBaseAddress) + R_QNC_RCRB_AGENT0IR, in PlatformInitQNCRegs()
61 S3MmioWrite16 ((UINTN)PcdGet64(PcdRcbaMmioBaseAddress) + R_QNC_RCRB_AGENT1IR, in PlatformInitQNCRegs()
64 S3MmioWrite16 ((UINTN)PcdGet64(PcdRcbaMmioBaseAddress) + R_QNC_RCRB_AGENT2IR, in PlatformInitQNCRegs()
67 S3MmioWrite16 ((UINTN)PcdGet64(PcdRcbaMmioBaseAddress) + R_QNC_RCRB_AGENT3IR, in PlatformInitQNCRegs()
83 QNCMmio32And (PcdGet64(PcdRcbaMmioBaseAddress), 0x04, 0xFF00FFFF); in PlatformInitQNCRegs()
/device/linaro/bootloader/edk2/ArmPlatformPkg/Library/DebugSecExtraActionLib/
DDebugSecExtraActionLib.c38 SecondaryStart = (VOID (*)())(UINTN)PcdGet64 (PcdFvBaseAddress); in NonSecureWaitForFirmware()
81 StartAddress = (UINTN*)(UINTN)PcdGet64 (PcdFvBaseAddress); in ArmPlatformSecExtraAction()
89 *JumpAddress = PcdGet64 (PcdFvBaseAddress); in ArmPlatformSecExtraAction()
111 *JumpAddress = PcdGet64 (PcdFvBaseAddress); in ArmPlatformSecExtraAction()
119 *JumpAddress = PcdGet64 (PcdFvBaseAddress); in ArmPlatformSecExtraAction()
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/Library/SerialPortLib/
DSerialPortLib.c152 Data = IoRead8 ((UINT16) PcdGet64 (PcdSerialRegisterBase) + LSR_OFFSET); in UARTDbgOut()
154 IoWrite8 ((UINT16) PcdGet64 (PcdSerialRegisterBase), *Buffer++); in UARTDbgOut()
215 Data = IoRead8 ((UINT16) PcdGet64 (PcdSerialRegisterBase) + LSR_OFFSET); in UARTDbgIn()
218 *Buffer++ = IoRead8 ((UINT16) PcdGet64 (PcdSerialRegisterBase)); in UARTDbgIn()
268 Data = IoRead8 ((UINT16) PcdGet64 (PcdSerialRegisterBase) + LSR_OFFSET); in SerialPortPoll()
/device/linaro/bootloader/edk2/EmulatorPkg/FlashMapPei/
DFlashMapPei.c78 PcdSet64 (PcdFlashNvStorageVariableBase64, PcdGet64 (PcdEmuFlashNvStorageVariableBase) + FdFixUp); in PeimInitializeFlashMap()
79 …PcdSet64 (PcdFlashNvStorageFtwWorkingBase64, PcdGet64 (PcdEmuFlashNvStorageFtwWorkingBase) + FdFix… in PeimInitializeFlashMap()
80 PcdSet64 (PcdFlashNvStorageFtwSpareBase64, PcdGet64 (PcdEmuFlashNvStorageFtwSpareBase) + FdFixUp); in PeimInitializeFlashMap()
/device/linaro/bootloader/OpenPlatformPkg/Platforms/Hisilicon/HiKey/Library/HiKeyLib/
DHiKeyMem.c106 PcdGet64 (PcdSystemMemoryBase), in ArmPlatformGetVirtualMemoryMap()
107 PcdGet64 (PcdSystemMemorySize) in ArmPlatformGetVirtualMemoryMap()
147 AdditionalMemorySize = MemorySize - PcdGet64 (PcdSystemMemorySize); in ArmPlatformGetVirtualMemoryMap()
188 VirtualMemoryTable[++Index].PhysicalBase = PcdGet64 (PcdSystemMemoryBase); in ArmPlatformGetVirtualMemoryMap()
189 VirtualMemoryTable[Index].VirtualBase = PcdGet64 (PcdSystemMemoryBase); in ArmPlatformGetVirtualMemoryMap()
190 VirtualMemoryTable[Index].Length = PcdGet64 (PcdSystemMemorySize); in ArmPlatformGetVirtualMemoryMap()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseIoLibIntrinsic/
DIoLibIpf.c53 Address += PcdGet64(PcdIoBlockBaseAddressForIpf); in IoRead8()
82 Address += PcdGet64(PcdIoBlockBaseAddressForIpf); in IoRead16()
111 Address += PcdGet64(PcdIoBlockBaseAddressForIpf); in IoRead32()
166 Address += PcdGet64(PcdIoBlockBaseAddressForIpf); in IoWrite8()
197 Address += PcdGet64(PcdIoBlockBaseAddressForIpf); in IoWrite16()
228 Address += PcdGet64(PcdIoBlockBaseAddressForIpf); in IoWrite32()
/device/linaro/bootloader/edk2/ArmVirtPkg/Library/ArmXenRelocatablePlatformLib/AARCH64/
DRelocatableVirtHelper.S69 adr x8, PcdGet64 (PcdFdBaseAddress)
70 adr x9, PcdGet64 (PcdFvBaseAddress)
84 adr x1, PcdGet64 (PcdSystemMemorySize)
85 adr x2, PcdGet64 (PcdSystemMemoryBase)
95 adr x8, PcdGet64 (PcdDeviceTreeInitialBaseAddress)
/device/linaro/bootloader/edk2/ArmVirtPkg/Library/ArmXenRelocatablePlatformLib/ARM/
DRelocatableVirtHelper.S66 ldr r8, =PcdGet64 (PcdFdBaseAddress)
67 ldr r7, =PcdGet64 (PcdFvBaseAddress)
81 ldr r1, =PcdGet64 (PcdSystemMemorySize)
82 ldr r2, =PcdGet64 (PcdSystemMemoryBase)
93 ldr r8, =PcdGet64 (PcdDeviceTreeInitialBaseAddress)
/device/linaro/bootloader/edk2/BeagleBoardPkg/Library/BeagleBoardLib/
DBeagleBoardMem.c58 VirtualMemoryTable[Index].PhysicalBase = PcdGet64 (PcdSystemMemoryBase); in ArmPlatformGetVirtualMemoryMap()
59 VirtualMemoryTable[Index].VirtualBase = PcdGet64 (PcdSystemMemoryBase); in ArmPlatformGetVirtualMemoryMap()
60 VirtualMemoryTable[Index].Length = PcdGet64 (PcdSystemMemorySize); in ArmPlatformGetVirtualMemoryMap()
/device/linaro/bootloader/OpenPlatformPkg/Platforms/TexasInstruments/BeagleBoard/Library/BeagleBoardLib/
DBeagleBoardMem.c58 VirtualMemoryTable[Index].PhysicalBase = PcdGet64 (PcdSystemMemoryBase); in ArmPlatformGetVirtualMemoryMap()
59 VirtualMemoryTable[Index].VirtualBase = PcdGet64 (PcdSystemMemoryBase); in ArmPlatformGetVirtualMemoryMap()
60 VirtualMemoryTable[Index].Length = PcdGet64 (PcdSystemMemorySize); in ArmPlatformGetVirtualMemoryMap()
/device/linaro/bootloader/edk2/QuarkPlatformPkg/Acpi/Dxe/AcpiPlatform/
DAcpiPlatform.c328 ApicPtr->AcpiIoApic.IoApicAddress = (UINT32)PcdGet64(PcdIoApicBaseAddress); in ApicTableUpdate()
454 = PcdGet64 (PcdHpetBaseAddress); in AcpiUpdateTable()
467 AllocationStructurePtr->BaseAddress = PcdGet64(PcdPciExpressBaseAddress); in AcpiUpdateTable()
621 mGlobalNvsArea.Area->HpetBaseAddress = (UINT32)PcdGet64(PcdHpetBaseAddress); in AcpiPlatformEntryPoint()
622 mGlobalNvsArea.Area->HpetSize = (UINT32)PcdGet64(PcdHpetSize); in AcpiPlatformEntryPoint()
623 mGlobalNvsArea.Area->PciExpressBaseAddress= (UINT32)PcdGet64(PcdPciExpressBaseAddress); in AcpiPlatformEntryPoint()
624 mGlobalNvsArea.Area->PciExpressSize = (UINT32)PcdGet64(PcdPciExpressSize); in AcpiPlatformEntryPoint()
625 mGlobalNvsArea.Area->RcbaMmioBaseAddress = (UINT32)PcdGet64(PcdRcbaMmioBaseAddress); in AcpiPlatformEntryPoint()
626 mGlobalNvsArea.Area->RcbaMmioSize = (UINT32)PcdGet64(PcdRcbaMmioSize); in AcpiPlatformEntryPoint()
627 mGlobalNvsArea.Area->IoApicBaseAddress = (UINT32)PcdGet64(PcdIoApicBaseAddress); in AcpiPlatformEntryPoint()
[all …]
/device/linaro/bootloader/edk2/ArmVirtPkg/Library/ArmVirtPlatformLib/
DVirt.c84 DeviceTreeBase = (VOID *)(UINTN)PcdGet64 (PcdDeviceTreeInitialBaseAddress); in ArmPlatformInitializeSystemMemory()
146 (((UINT64)PcdGet64 (PcdFdBaseAddress) + in ArmPlatformInitializeSystemMemory()
148 ((UINT64)PcdGet64 (PcdFdBaseAddress) >= (NewBase + NewSize))); in ArmPlatformInitializeSystemMemory()
DVirtMem.c76 VirtualMemoryTable[0].PhysicalBase = PcdGet64 (PcdSystemMemoryBase); in ArmPlatformGetVirtualMemoryMap()
78 VirtualMemoryTable[0].Length = PcdGet64 (PcdSystemMemorySize); in ArmPlatformGetVirtualMemoryMap()
/device/linaro/bootloader/edk2/ArmPlatformPkg/ArmVExpressPkg/Include/Platform/RTSM/
DArmPlatform.h48 #define ARM_VE_DRAM_BASE PcdGet64 (PcdSystemMemoryBase)
49 #define ARM_VE_DRAM_SZ PcdGet64 (PcdSystemMemorySize)
/device/linaro/bootloader/edk2/ArmPlatformPkg/ArmVExpressPkg/Include/Platform/CTA9x4/
DArmPlatform.h55 #define ARM_VE_DRAM_BASE PcdGet64 (PcdSystemMemoryBase)
56 #define ARM_VE_DRAM_SZ PcdGet64 (PcdSystemMemorySize)
/device/linaro/bootloader/edk2/ArmPlatformPkg/ArmJunoPkg/Drivers/PciHostBridgeDxe/
DXPressRich3.c95 …SetTranslationAddressEntry (CpuIo, TranslationTable, PcdGet64 (PcdSystemMemoryBase), PcdGet64 (Pcd… in HWPciRbInit()
96 PcdGet64 (PcdSystemMemorySize), PCI_ATR_TRSLID_AXIMEMORY); in HWPciRbInit()
/device/linaro/bootloader/edk2/ArmPlatformPkg/PrePeiCore/
DMainUniCore.c43 TemporaryRamBase = (UINTN)PcdGet64 (PcdCPUCoresStackBase) + PpiListSize; in PrimaryMain()
52 SecCoreData.BootFirmwareVolumeBase = (VOID *)(UINTN)PcdGet64 (PcdFvBaseAddress); in PrimaryMain()
/device/linaro/bootloader/edk2/ArmVirtPkg/PrePi/AArch64/
DModuleEntryPoint.S81 ldr x1, PcdGet64 (PcdSystemMemoryBase)
82 ldr x2, PcdGet64 (PcdSystemMemorySize)
89 ldr x2, PcdGet64 (PcdFdBaseAddress)
/device/linaro/bootloader/edk2/ArmVirtPkg/Library/QemuFwCfgLib/
DQemuFwCfgLib.c118 mFwCfgSelectorAddress = (UINTN)PcdGet64 (PcdFwCfgSelectorAddress); in QemuFwCfgInitialize()
119 mFwCfgDataAddress = (UINTN)PcdGet64 (PcdFwCfgDataAddress); in QemuFwCfgInitialize()
131 if (PcdGet64 (PcdFwCfgDmaAddress) != 0) { in QemuFwCfgInitialize()
137 mFwCfgDmaAddress = PcdGet64 (PcdFwCfgDmaAddress); in QemuFwCfgInitialize()

123456