Searched defs:MemoryLength (Results 1 - 14 of 14) sorted by relevance

/device/linaro/bootloader/edk2/EmbeddedPkg/TemplateSec/
H A DTemplateSec.c39 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 DAcpiVariableThunkPlatform.c81 UINT64 MemoryLength; local
99 MemoryLength = 0x100000;
108 MemoryLength += Hob.ResourceDescriptor->ResourceLength;
117 mAcpiVariableSetCompatibility->SystemMemoryLength = MemoryLength;
/device/linaro/bootloader/edk2/QuarkPlatformPkg/Platform/Pei/PlatformInit/
H A DMemoryCallback.c103 UINT64 MemoryLength; local
124 MemoryLength = ((UINT64) RmuMainBaseAddress) + 0x10000;
137 Status = MtrrSetMemoryAttributeInMtrrSettings (&MtrrSettings, 0, MemoryLength, CacheWriteBack);
H A DMrcWrapper.c722 PeiMemoryLength // MemoryLength
765 MemoryMap[Index].RangeLength // MemoryLength
800 MemoryMap[Index].RangeLength // MemoryLength
1384 IN UINT64 MemoryLength,
1399 ASSERT (BeginAddress + MemoryLength < MAX_ADDRESS);
1419 while (TempAddress < BeginAddress + MemoryLength) {
1427 while (TempAddress < BeginAddress + MemoryLength) {
1381 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 DMemoryPeim.c93 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 DHob.c184 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/IntelFspPkg/Library/BaseCacheLib/
H A DCacheLib.c24 @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 DDxeMain.c244 UINT64 MemoryLength; local
270 CoreInitializeMemoryServices (&HobStart, &MemoryBaseAddress, &MemoryLength);
303 Status = CoreInitializeGcdServices (&HobStart, MemoryBaseAddress, MemoryLength);
370 Hob.MemoryAllocation->AllocDescriptor.MemoryBaseAddress + Hob.MemoryAllocation->AllocDescriptor.MemoryLength - 1));
/device/linaro/bootloader/edk2/QuarkPlatformPkg/Acpi/DxeSmm/AcpiSmm/
H A DAcpiSmmPlatform.c302 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 DPeiHob.h72 UINT64 MemoryLength; member in struct:__anon4443
/device/linaro/bootloader/edk2/MdePkg/Include/Pi/
H A DPiHob.h130 UINT64 MemoryLength; member in struct:__anon7744
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Include/
H A DEfiPxe.h1305 // 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 DUefiPxe.h1258 /// 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 DE100b.h602 UINT32 MemoryLength; member in struct:s_data_instance

Completed in 339 milliseconds