Home
last modified time | relevance | path

Searched refs:PhysicalSize (Results 1 – 25 of 35) sorted by relevance

12

/device/linaro/bootloader/edk2/MdeModulePkg/Core/PiSmmCore/
DPiSmmIpl.c355 *SmramCacheSize = SmramRange->PhysicalSize; in GetSmramCacheRange()
361 RangePhysicalSize = gSmmCorePrivate->SmramRanges[Index].PhysicalSize; in GetSmramCacheRange()
988 ASSERT ((SmramRange->PhysicalSize & EFI_PAGE_MASK) == 0); in ExecuteSmmCoreFromSmram()
989 ASSERT (SmramRange->PhysicalSize > EFI_PAGES_TO_SIZE (PageCount)); in ExecuteSmmCoreFromSmram()
991 SmramRange->PhysicalSize -= EFI_PAGES_TO_SIZE (PageCount); in ExecuteSmmCoreFromSmram()
992 SmramRangeSmmCore->CpuStart = SmramRange->CpuStart + SmramRange->PhysicalSize; in ExecuteSmmCoreFromSmram()
993 SmramRangeSmmCore->PhysicalStart = SmramRange->PhysicalStart + SmramRange->PhysicalSize; in ExecuteSmmCoreFromSmram()
995 SmramRangeSmmCore->PhysicalSize = EFI_PAGES_TO_SIZE (PageCount); in ExecuteSmmCoreFromSmram()
1009 ASSERT ((SmramRange->PhysicalSize & EFI_PAGE_MASK) == 0); in ExecuteSmmCoreFromSmram()
1010 ASSERT (SmramRange->PhysicalSize > EFI_PAGES_TO_SIZE (PageCount)); in ExecuteSmmCoreFromSmram()
[all …]
DPool.c93 SmramRanges[Index].PhysicalSize, in SmmInitializeMemoryServices()
108 SmramRanges[Index].PhysicalSize, in SmmInitializeMemoryServices()
/device/linaro/bootloader/edk2/OvmfPkg/SmmAccess/
DSmramInternal.c163 SmramMap[DescIdxSmmS3ResumeState].PhysicalSize = in SmramAccessGetCapabilities()
179 SmramMap[DescIdxSmmS3ResumeState].PhysicalSize; in SmramAccessGetCapabilities()
181 SmramMap[DescIdxMain].PhysicalSize = in SmramAccessGetCapabilities()
184 SIZE_1MB) - SmramMap[DescIdxSmmS3ResumeState].PhysicalSize; in SmramAccessGetCapabilities()
DSmmAccessPei.c364 SmramMap[Idx].PhysicalStart, SmramMap[Idx].PhysicalSize, in SmmAccessPeiEntryPoint()
/device/linaro/bootloader/edk2/QuarkSocPkg/QuarkNorthCluster/Smm/Dxe/SmmAccessDxe/
DSmmAccessDriver.c104 mSmmAccess.SmramDesc[Index].PhysicalSize = DescriptorBlock->Descriptor[Index].PhysicalSize; in SmmAccessDriverEntryPoint()
107 mSmmAccess.SmramDesc[Index].PhysicalSize)); in SmmAccessDriverEntryPoint()
131 …FO, "SMM Size: %08X\n", (UINT32)(mSmmAccess.SmramDesc[mSmmAccess.NumberRegions-1].PhysicalSize))); in SmmAccessDriverEntryPoint()
133 mSmmAccess.TsegSize = (UINT8)(mSmmAccess.SmramDesc[mSmmAccess.NumberRegions-1].PhysicalSize); in SmmAccessDriverEntryPoint()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Compatibility/AcpiVariableHobOnSmramReserveHobThunk/
DAcpiVariableHobOnSmramReserveHobThunk.c118 NewDescriptorBlock->Descriptor[SmramRanges - 1].PhysicalSize = EFI_PAGE_SIZE; in SplitSmramReserveHob()
126 NewDescriptorBlock->Descriptor[SmramRanges].PhysicalSize -= EFI_PAGE_SIZE; in SplitSmramReserveHob()
134 if (NewDescriptorBlock->Descriptor[Index].PhysicalSize == 0) { in SplitSmramReserveHob()
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/PlatformInitPei/
DPlatformEarlyInit.c851 DescriptorBlock->Descriptor[Index].PhysicalSize, in PlatformEarlyInitEntry()
875 …Block->Descriptor[Index].CpuStart + DescriptorBlock->Descriptor[Index].PhysicalSize) >= BASE_4GB) { in PlatformEarlyInitEntry()
881 …if (DescriptorBlock->Descriptor[Index].PhysicalSize >= DescriptorBlock->Descriptor[MaxIndex].Physi… in PlatformEarlyInitEntry()
890 Size = DescriptorBlock->Descriptor[MaxIndex].PhysicalSize; in PlatformEarlyInitEntry()
893 … (DescriptorBlock->Descriptor[Index].CpuStart + DescriptorBlock->Descriptor[Index].PhysicalSize)) { in PlatformEarlyInitEntry()
895 Size += DescriptorBlock->Descriptor[Index].PhysicalSize; in PlatformEarlyInitEntry()
897 Size += DescriptorBlock->Descriptor[Index].PhysicalSize; in PlatformEarlyInitEntry()
918 …lock->Descriptor[Index].CpuStart + DescriptorBlock->Descriptor[Index].PhysicalSize) == (Base + Siz… in PlatformEarlyInitEntry()
920 DescriptorBlock->Descriptor[Index].PhysicalSize += (NewSize - Size); in PlatformEarlyInitEntry()
961 NewDescriptorBlock->Descriptor[Index - 1].PhysicalSize = NewSize - Size; in PlatformEarlyInitEntry()
[all …]
/device/linaro/bootloader/edk2/QuarkSocPkg/QuarkNorthCluster/Smm/Pei/SmmAccessPei/
DSmmAccessPei.c353 …SmmAccessPrivate->SmramDesc[Index].PhysicalSize = DescriptorBlock->Descriptor[Index].PhysicalSize; in SmmAccessPeiEntryPoint()
375 (UINTN)(SmmAccessPrivate->SmramDesc[SmmAccessPrivate->NumberRegions-1].PhysicalSize) in SmmAccessPeiEntryPoint()
378 …e->TsegSize = (UINT8)(SmmAccessPrivate->SmramDesc[SmmAccessPrivate->NumberRegions-1].PhysicalSize); in SmmAccessPeiEntryPoint()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Efi/Protocol/FileInfo/
DFileInfo.h39 UINT64 PhysicalSize; member
/device/linaro/bootloader/edk2/MdePkg/Include/Guid/
DFileInfo.h37 UINT64 PhysicalSize; member
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Framework/Guid/SmramMemoryReserve/
DSmramMemoryReserve.h41 UINT64 PhysicalSize; member
/device/linaro/bootloader/edk2/UefiCpuPkg/PiSmmCpuDxeSmm/
DPiSmmCpuDxeSmm.c1000 if ((SmramRanges[Index].CpuStart + SmramRanges[Index].PhysicalSize) <= BASE_4GB) { in FindSmramInfo()
1001 if (SmramRanges[Index].PhysicalSize >= MaxSize) { in FindSmramInfo()
1002 MaxSize = SmramRanges[Index].PhysicalSize; in FindSmramInfo()
1012 *SmrrSize = (UINT32)CurrentSmramRange->PhysicalSize; in FindSmramInfo()
1017 …tart < *SmrrBase && *SmrrBase == (SmramRanges[Index].CpuStart + SmramRanges[Index].PhysicalSize)) { in FindSmramInfo()
1019 *SmrrSize = (UINT32)(*SmrrSize + SmramRanges[Index].PhysicalSize); in FindSmramInfo()
1021 …f ((*SmrrBase + *SmrrSize) == SmramRanges[Index].CpuStart && SmramRanges[Index].PhysicalSize > 0) { in FindSmramInfo()
1022 *SmrrSize = (UINT32)(*SmrrSize + SmramRanges[Index].PhysicalSize); in FindSmramInfo()
/device/linaro/bootloader/edk2/MdePkg/Include/Pi/
DPiMultiPhase.h126 UINT64 PhysicalSize; member
/device/linaro/bootloader/edk2/StdLib/Include/sys/
Ddirent.h72 UINT64 PhysicalSize; // The amount of physical space the file consumes member
/device/linaro/bootloader/edk2/FatPkg/EnhancedFatDxe/
DFileSpace.c694 UINT64 PhysicalSize; in FatPhysicalFileSize() local
696 PhysicalSize = (RealSize + ClusterSizeMask) & (~((UINT64) ClusterSizeMask)); in FatPhysicalFileSize()
697 return PhysicalSize; in FatPhysicalFileSize()
DDirectoryManage.c478 Info->PhysicalSize = FatPhysicalDirSize (Volume, Cluster); in FatGetDirEntInfo()
479 Info->FileSize = Info->PhysicalSize; in FatGetDirEntInfo()
482 Info->PhysicalSize = FatPhysicalFileSize (Volume, Entry->FileSize); in FatGetDirEntInfo()
/device/linaro/bootloader/edk2/ArmPkg/Filesystem/SemihostFs/Arm/
DSemihostFs.c285 FileFcb->Info.PhysicalSize = Length; in FileOpen()
424 if (Fcb->Info.FileSize < Fcb->Info.PhysicalSize) { in FileClose()
657 Fcb->Info.PhysicalSize = Length; in FileWrite()
1028 Fcb->Info.PhysicalSize = Length; in SetFileInfo()
/device/linaro/bootloader/edk2/MdePkg/Library/SmmMemLib/
DSmmMemLib.c136 …mMemLibInternalSmramRanges[Index].CpuStart + mSmmMemLibInternalSmramRanges[Index].PhysicalSize)) || in SmmIsBufferOutsideSmmValid()
148 mSmmMemLibInternalSmramRanges[Index].PhysicalSize in SmmIsBufferOutsideSmmValid()
/device/linaro/bootloader/edk2/ArmPlatformPkg/FileSystem/BootMonFs/
DBootMonFsOpenClose.c416 Info->PhysicalSize = BootMonFsGetPhysicalSize (File); in BootMonFsFlushFile()
693 Info->PhysicalSize = BootMonFsGetPhysicalSize (File); in BootMonFsOpenFile()
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/FspSupport/Library/PeiFspHobProcessLibVlv2/
DFspHobProcessLibVlv2.c374 SmramHobDescriptorBlock->Descriptor[0].PhysicalSize = TsegSize; in FspHobProcessForMemoryResource()
/device/linaro/bootloader/edk2/MdePkg/Library/SmmMemoryAllocationLib/
DMemoryAllocationLib.c130 …CAL_ADDRESS) (UINTN) Buffer < (mSmramRanges[Index].CpuStart + mSmramRanges[Index].PhysicalSize))) { in BufferInSmram()
/device/linaro/bootloader/edk2/UefiCpuPkg/Library/SmmCpuFeaturesLib/
DSmmStm.c168 if (SmramDescriptor->PhysicalSize > 0) { in SmmCpuFeaturesLibStmConstructor()
170 mMsegSize = (UINTN)SmramDescriptor->PhysicalSize; in SmmCpuFeaturesLibStmConstructor()
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/FvSimpleFileSystemDxe/
DFvSimpleFileSystemEntryPoint.c212 FvFileInfo->FileInfo.PhysicalSize = FvFileInfo->FileInfo.FileSize; in FvSimpleFileSystemOpenVolume()
/device/linaro/bootloader/edk2/MdeModulePkg/Library/PiSmmCoreMemoryAllocationLib/
DMemoryAllocationLib.c56 …oryAllocLibSmramRanges[Index].CpuStart + mSmmCoreMemoryAllocLibSmramRanges[Index].PhysicalSize))) { in BufferInSmram()
/device/linaro/bootloader/edk2/MdeModulePkg/Library/SmmMemoryAllocationProfileLib/
DMemoryAllocationLib.c132 …CAL_ADDRESS) (UINTN) Buffer < (mSmramRanges[Index].CpuStart + mSmramRanges[Index].PhysicalSize))) { in BufferInSmram()

12