/device/linaro/bootloader/edk2/EmbeddedPkg/TemplateSec/ |
H A D | TemplateSec.c | 39 UINT64 MemoryLength;
local 46 MemoryLength = (UINT64)MemorySize;
51 MemoryLength = (UINT64)StackSize;
52 UpdateStackHob (MemoryBegin, MemoryLength);
|
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Universal/Acpi/AcpiS3SaveDxe/ |
H A D | AcpiVariableThunkPlatform.c | 79 UINT64 MemoryLength;
local 97 MemoryLength = 0x100000;
106 MemoryLength += Hob.ResourceDescriptor->ResourceLength;
115 mAcpiVariableSetCompatibility->SystemMemoryLength = MemoryLength;
|
/device/linaro/bootloader/edk2/QuarkPlatformPkg/Platform/Pei/PlatformInit/ |
H A D | MemoryCallback.c | 103 UINT64 MemoryLength;
local 127 MemoryLength = ((UINT64) RmuMainBaseAddress) + 0x10000;
140 Status = MtrrSetMemoryAttributeInMtrrSettings (&MtrrSettings, 0, MemoryLength, CacheWriteBack);
|
H A D | MrcWrapper.c | 753 PeiMemoryLength // MemoryLength
796 MemoryMap[Index].RangeLength // MemoryLength
831 MemoryMap[Index].RangeLength // MemoryLength
1349 IN UINT64 MemoryLength,
1364 ASSERT (BeginAddress + MemoryLength < MAX_ADDRESS);
1384 while (TempAddress < BeginAddress + MemoryLength) {
1392 while (TempAddress < BeginAddress + MemoryLength) {
1346 BaseMemoryTest( IN EFI_PEI_SERVICES **PeiServices, IN EFI_PHYSICAL_ADDRESS BeginAddress, IN UINT64 MemoryLength, IN PEI_MEMORY_TEST_OP Operation, OUT EFI_PHYSICAL_ADDRESS *ErrorAddress ) argument
|
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/PlatformInitPei/ |
H A D | MemoryPeim.c | 93 UINT64 MemoryLength;
184 MemoryLength = MaxMemoryLength - MemOverflow;
185 MemoryLength = GetPowerOfTwo64 (MemoryLength);
186 MtrrSetting.Variables.Mtrr[Index].Mask = ((~(MemoryLength - 1)) & MTRR_LIB_CACHE_VALID_ADDRESS) | MTRR_LIB_CACHE_MTRR_ENABLED;
188 MemOverflow += MemoryLength;
192 MemoryLength = LowMemoryLength;
194 while (MaxMemoryLength != MemoryLength) {
195 MemoryLengthUc = GetPowerOfTwo64 (MaxMemoryLength - MemoryLength);
206 MemoryLength 84 UINT64 MemoryLength; local [all...] |
/device/linaro/bootloader/edk2/EmbeddedPkg/Library/PrePiHobLib/ |
H A D | Hob.c | 184 IN UINTN MemoryLength,
192 Hob = HobConstructor (MemoryBegin,MemoryLength,HobBase,StackBase);
207 BuildResourceDescriptorHob (EFI_RESOURCE_SYSTEM_MEMORY, Attributes, (UINTN)MemoryBegin, MemoryLength);
209 BuildStackHob ((EFI_PHYSICAL_ADDRESS)(UINTN)StackBase, ((UINTN)MemoryBegin + MemoryLength) - (UINTN)StackBase);
455 Hob->MemoryAllocationHeader.MemoryLength = ModuleLength;
690 Hob->AllocDescriptor.MemoryLength = Length;
724 Hob.MemoryAllocationStack->AllocDescriptor.MemoryLength,
731 Hob.MemoryAllocationStack->AllocDescriptor.MemoryLength = Length;
770 Hob->AllocDescriptor.MemoryLength = Length;
182 CreateHobList( IN VOID *MemoryBegin, IN UINTN MemoryLength, IN VOID *HobBase, IN VOID *StackBase ) argument
|
/device/linaro/bootloader/edk2/IntelFsp2Pkg/Library/BaseCacheLib/ |
H A D | CacheLib.c | 24 @param[in] MemoryLength the length of target memory
36 IN UINT64 MemoryLength,
166 @param[in] MemoryLength the length of target memory
175 IN UINT64 MemoryLength,
183 if (MemoryLength == 0) {
198 TempQword = ~(MemoryLength - 1);
205 Calculate the maximum value which is a power of 2, but less the MemoryLength.
208 @param[in] MemoryLength The number to pass in.
210 @return The maximum value which is align to power of 2 and less the MemoryLength
216 IN UINT64 MemoryLength
172 EfiProgramMtrr( IN UINTN MtrrNumber, IN EFI_PHYSICAL_ADDRESS MemoryAddress, IN UINT64 MemoryLength, IN EFI_MEMORY_CACHE_TYPE MemoryCacheType, IN UINT64 ValidMtrrAddressMask ) argument 377 SetCacheAttributes( IN EFI_PHYSICAL_ADDRESS MemoryAddress, IN UINT64 MemoryLength, IN EFI_MEMORY_CACHE_TYPE MemoryCacheType ) argument 644 SearchForExactMtrr( IN EFI_PHYSICAL_ADDRESS MemoryAddress, IN UINT64 MemoryLength, IN UINT64 ValidMtrrAddressMask, OUT UINT32 *UsedMsrNum, OUT EFI_MEMORY_CACHE_TYPE *UsedMemoryCacheType ) argument [all...] |
/device/linaro/bootloader/edk2/IntelFspPkg/Library/BaseCacheLib/ |
H A D | CacheLib.c | 24 @param[in] MemoryLength the length of target memory
36 IN UINT64 MemoryLength,
166 @param[in] MemoryLength the length of target memory
175 IN UINT64 MemoryLength,
183 if (MemoryLength == 0) {
198 TempQword = ~(MemoryLength - 1);
205 Calculate the maximum value which is a power of 2, but less the MemoryLength.
208 @param[in] MemoryLength The number to pass in.
210 @return The maximum value which is align to power of 2 and less the MemoryLength
216 IN UINT64 MemoryLength
172 EfiProgramMtrr( IN UINTN MtrrNumber, IN EFI_PHYSICAL_ADDRESS MemoryAddress, IN UINT64 MemoryLength, IN EFI_MEMORY_CACHE_TYPE MemoryCacheType, IN UINT64 ValidMtrrAddressMask ) argument 377 SetCacheAttributes( IN EFI_PHYSICAL_ADDRESS MemoryAddress, IN UINT64 MemoryLength, IN EFI_MEMORY_CACHE_TYPE MemoryCacheType ) argument 644 SearchForExactMtrr( IN EFI_PHYSICAL_ADDRESS MemoryAddress, IN UINT64 MemoryLength, IN UINT64 ValidMtrrAddressMask, OUT UINT32 *UsedMsrNum, OUT EFI_MEMORY_CACHE_TYPE *UsedMemoryCacheType ) argument [all...] |
/device/linaro/bootloader/edk2/MdeModulePkg/Core/Dxe/DxeMain/ |
H A D | DxeMain.c | 245 UINT64 MemoryLength;
local 272 CoreInitializeMemoryServices (&HobStart, &MemoryBaseAddress, &MemoryLength);
297 Status = CoreInitializeGcdServices (&HobStart, MemoryBaseAddress, MemoryLength);
379 Hob.MemoryAllocation->AllocDescriptor.MemoryBaseAddress + Hob.MemoryAllocation->AllocDescriptor.MemoryLength - 1));
|
/device/linaro/bootloader/edk2/QuarkPlatformPkg/Acpi/DxeSmm/AcpiSmm/ |
H A D | AcpiSmmPlatform.c | 302 UINTN MemoryLength;
local 319 MemoryLength = 0x100000;
328 MemoryLength += (UINTN)Hob.ResourceDescriptor->ResourceLength;
335 ReservedS3Memory(MemoryLength);
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Framework/Include/ |
H A D | PeiHob.h | 72 UINT64 MemoryLength;
member in struct:__anon4715
|
/device/linaro/bootloader/edk2/MdePkg/Include/Pi/ |
H A D | PiHob.h | 130 UINT64 MemoryLength;
member in struct:__anon8826
|
/device/linaro/bootloader/edk2/SecurityPkg/Tcg/Opal/OpalPasswordSmm/ |
H A D | OpalPasswordSmm.c | 278 @param[in] MemoryLength - Memory size
286 IN UINT32 MemoryLength
291 DEBUG ((DEBUG_INFO, "ConfigureRootPortForPcieNand, BusNumber: %x, MemoryBase: %x, MemoryLength: %x\n",
292 BusNumber, MemoryBase, MemoryLength));
294 if (MemoryLength == 0) {
297 MemoryLimit = MemoryBase + MemoryLength + 0xFFFFF; // 1M
350 UINTN MemoryLength;
local 379 MemoryLength = 0;
380 ConfigureRootPortForPcieNand (RpBase, OpalDev->BusNum, (UINT32) MemoryBase, (UINT32) MemoryLength);
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Include/ |
H A D | EfiPxe.h | 1305 // MemoryLength must be greater than or equal to MemoryRequired
1308 UINT32 MemoryLength;
member in struct:s_pxe_cpb_initialize 1319 // allocate. If MemoryAddr and MemoryLength are non-zero, this
1321 // and MemoryLength are zero, this allocation comes out of memory
|
/device/linaro/bootloader/edk2/MdePkg/Include/Uefi/ |
H A D | UefiPxe.h | 1258 /// MemoryLength must be greater than or equal to MemoryRequired
1261 PXE_UINT32 MemoryLength;
member in struct:s_pxe_cpb_initialize 1272 /// allocate. If MemoryAddr and MemoryLength are non-zero, this
1274 /// and MemoryLength are zero, this allocation comes out of memory
|
/device/linaro/bootloader/edk2/OptionRomPkg/UndiRuntimeDxe/ |
H A D | E100b.h | 602 UINT32 MemoryLength;
member in struct:s_data_instance
|