Home
last modified time | relevance | path

Searched refs:MemoryAddress (Results 1 – 13 of 13) sorted by relevance

/device/linaro/bootloader/edk2/IntelFsp2Pkg/Library/BaseCacheLib/
DCacheLib.c35 IN EFI_PHYSICAL_ADDRESS MemoryAddress,
174 IN EFI_PHYSICAL_ADDRESS MemoryAddress, in EfiProgramMtrr() argument
192 TempQword = (MemoryAddress & ValidMtrrAddressMask) | MemoryCacheType; in EfiProgramMtrr()
215 IN UINT64 MemoryAddress, in Power2MaxMemory() argument
233 if (MemoryAddress == 0) { in Power2MaxMemory()
240 while (CheckMtrrAlignment (MemoryAddress, Result) != 0) { in Power2MaxMemory()
378 IN EFI_PHYSICAL_ADDRESS MemoryAddress, in SetCacheAttributes() argument
404 if ((MemoryAddress & ~ValidMtrrAddressMask) != 0 || (MemoryLength & ~ValidMtrrAddressMask) != 0) { in SetCacheAttributes()
427 if ((MemoryAddress + MemoryLength) <= (1 << 20)) { in SetCacheAttributes()
431 Status = ProgramFixedMtrr (MemoryCacheType, &MemoryAddress, &MemoryLength); in SetCacheAttributes()
[all …]
/device/linaro/bootloader/edk2/IntelFspPkg/Library/BaseCacheLib/
DCacheLib.c35 IN EFI_PHYSICAL_ADDRESS MemoryAddress,
174 IN EFI_PHYSICAL_ADDRESS MemoryAddress, in EfiProgramMtrr() argument
192 TempQword = (MemoryAddress & ValidMtrrAddressMask) | MemoryCacheType; in EfiProgramMtrr()
215 IN UINT64 MemoryAddress, in Power2MaxMemory() argument
233 if (MemoryAddress == 0) { in Power2MaxMemory()
240 while (CheckMtrrAlignment (MemoryAddress, Result) != 0) { in Power2MaxMemory()
378 IN EFI_PHYSICAL_ADDRESS MemoryAddress, in SetCacheAttributes() argument
404 if ((MemoryAddress & ~ValidMtrrAddressMask) != 0 || (MemoryLength & ~ValidMtrrAddressMask) != 0) { in SetCacheAttributes()
427 if ((MemoryAddress + MemoryLength) <= (1 << 20)) { in SetCacheAttributes()
431 Status = ProgramFixedMtrr (MemoryCacheType, &MemoryAddress, &MemoryLength); in SetCacheAttributes()
[all …]
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Csm/LegacyBiosDxe/Ipf/
DIpfBootSupport.c186 EFI_PHYSICAL_ADDRESS MemoryAddress; in RelocateImageUnder4GIfNeeded() local
207 &MemoryAddress in RelocateImageUnder4GIfNeeded()
224 ImageContext.ImageAddress = (PHYSICAL_ADDRESS)MemoryAddress; in RelocateImageUnder4GIfNeeded()
236 gBS->FreePages (MemoryAddress, NumberOfPages); in RelocateImageUnder4GIfNeeded()
245 gBS->FreePages (MemoryAddress, NumberOfPages); in RelocateImageUnder4GIfNeeded()
267 gBS->FreePages (MemoryAddress, NumberOfPages); in RelocateImageUnder4GIfNeeded()
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Csm/LegacyBiosDxe/
DLegacyBios.c788 EFI_PHYSICAL_ADDRESS MemoryAddress; in LegacyBiosInstall() local
957 &MemoryAddress in LegacyBiosInstall()
959 ASSERT (MemoryAddress == 0x000000000); in LegacyBiosInstall()
980 &MemoryAddress in LegacyBiosInstall()
984 ZeroMem ((VOID *) ((UINTN) MemoryAddress), MemorySize); in LegacyBiosInstall()
991 EbdaReservedBaseAddress = MemoryAddress; in LegacyBiosInstall()
992 MemoryAddress = PcdGet32 (PcdOpromReservedMemoryBase); in LegacyBiosInstall()
997 ASSERT ((MemoryAddress & 0xFFF) == 0); in LegacyBiosInstall()
1002 …ASSERT ((MemoryAddress < EbdaReservedBaseAddress) && ((MemoryAddress + MemorySize - 1) < EbdaReser… in LegacyBiosInstall()
1003 for (MemStart = MemoryAddress; MemStart < MemoryAddress + MemorySize; MemStart += 0x1000) { in LegacyBiosInstall()
[all …]
DThunk.c364 EFI_PHYSICAL_ADDRESS MemoryAddress; in LegacyBiosInitializeThunk() local
367 MemoryAddress = (EFI_PHYSICAL_ADDRESS) (UINTN) Private->IntThunk; in LegacyBiosInitializeThunk()
369 …mThunkContext.RealModeBuffer = (VOID *) (UINTN) (MemoryAddress + ((sizeof (LOW_MEMORY_THUNK) /… in LegacyBiosInitializeThunk()
/device/linaro/bootloader/edk2/SecurityPkg/Tcg/TcgSmm/
DTcgSmm.c312 EFI_PHYSICAL_ADDRESS MemoryAddress; in AssignOpRegion() local
314 MemoryAddress = SIZE_4GB - 1; in AssignOpRegion()
327 …gBS->AllocatePages(AllocateMaxAddress, EfiACPIMemoryNVS, EFI_SIZE_TO_PAGES (Size), &MemoryAddress); in AssignOpRegion()
329 ZeroMem ((VOID *)(UINTN)MemoryAddress, Size); in AssignOpRegion()
330 OpRegion->RegionOffset = (UINT32) (UINTN) MemoryAddress; in AssignOpRegion()
336 return (VOID *) (UINTN) MemoryAddress; in AssignOpRegion()
/device/linaro/bootloader/edk2/SecurityPkg/Tcg/TrEESmm/
DTrEESmm.c308 EFI_PHYSICAL_ADDRESS MemoryAddress; in AssignOpRegion() local
310 MemoryAddress = SIZE_4GB - 1; in AssignOpRegion()
323 …gBS->AllocatePages(AllocateMaxAddress, EfiACPIMemoryNVS, EFI_SIZE_TO_PAGES (Size), &MemoryAddress); in AssignOpRegion()
325 ZeroMem ((VOID *)(UINTN)MemoryAddress, Size); in AssignOpRegion()
326 OpRegion->RegionOffset = (UINT32) (UINTN) MemoryAddress; in AssignOpRegion()
332 return (VOID *) (UINTN) MemoryAddress; in AssignOpRegion()
/device/linaro/bootloader/edk2/SecurityPkg/Tcg/Tcg2Smm/
DTcg2Smm.c243 EFI_PHYSICAL_ADDRESS MemoryAddress; in AssignOpRegion() local
245 MemoryAddress = SIZE_4GB - 1; in AssignOpRegion()
258 …gBS->AllocatePages(AllocateMaxAddress, EfiACPIMemoryNVS, EFI_SIZE_TO_PAGES (Size), &MemoryAddress); in AssignOpRegion()
260 ZeroMem ((VOID *)(UINTN)MemoryAddress, Size); in AssignOpRegion()
261 OpRegion->RegionOffset = (UINT32) (UINTN) MemoryAddress; in AssignOpRegion()
267 return (VOID *) (UINTN) MemoryAddress; in AssignOpRegion()
/device/linaro/bootloader/edk2/IntelFsp2Pkg/Include/Library/
DCacheLib.h56 IN EFI_PHYSICAL_ADDRESS MemoryAddress,
/device/linaro/bootloader/edk2/IntelFspPkg/Include/Library/
DCacheLib.h56 IN EFI_PHYSICAL_ADDRESS MemoryAddress,
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Compatibility/BootScriptSaveOnS3SaveStateThunk/
DScriptSave.c859 EFI_PHYSICAL_ADDRESS MemoryAddress; in InitializeScriptSaveOnS3SaveState() local
901 MemoryAddress = SIZE_4GB - 1; in InitializeScriptSaveOnS3SaveState()
911 &MemoryAddress in InitializeScriptSaveOnS3SaveState()
914 ImageContext.ImageAddress = (PHYSICAL_ADDRESS)(UINTN)MemoryAddress; in InitializeScriptSaveOnS3SaveState()
/device/linaro/bootloader/edk2/EmulatorPkg/Unix/Host/
DHost.h339 IN VOID *MemoryAddress
DHost.c684 IN VOID *MemoryAddress in EfiSystemMemoryRange() argument
690 MemoryBase = (EFI_PHYSICAL_ADDRESS)(UINTN)MemoryAddress; in EfiSystemMemoryRange()