/device/linaro/bootloader/edk2/MdeModulePkg/Core/PiSmmCore/ |
D | PiSmmIpl.c | 355 *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 …]
|
D | Pool.c | 93 SmramRanges[Index].PhysicalSize, in SmmInitializeMemoryServices() 108 SmramRanges[Index].PhysicalSize, in SmmInitializeMemoryServices()
|
/device/linaro/bootloader/edk2/OvmfPkg/SmmAccess/ |
D | SmramInternal.c | 163 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()
|
D | SmmAccessPei.c | 364 SmramMap[Idx].PhysicalStart, SmramMap[Idx].PhysicalSize, in SmmAccessPeiEntryPoint()
|
/device/linaro/bootloader/edk2/QuarkSocPkg/QuarkNorthCluster/Smm/Dxe/SmmAccessDxe/ |
D | SmmAccessDriver.c | 104 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/ |
D | AcpiVariableHobOnSmramReserveHobThunk.c | 118 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/ |
D | PlatformEarlyInit.c | 851 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/ |
D | SmmAccessPei.c | 353 …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/ |
D | FileInfo.h | 39 UINT64 PhysicalSize; member
|
/device/linaro/bootloader/edk2/MdePkg/Include/Guid/ |
D | FileInfo.h | 37 UINT64 PhysicalSize; member
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Framework/Guid/SmramMemoryReserve/ |
D | SmramMemoryReserve.h | 41 UINT64 PhysicalSize; member
|
/device/linaro/bootloader/edk2/UefiCpuPkg/PiSmmCpuDxeSmm/ |
D | PiSmmCpuDxeSmm.c | 1000 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/ |
D | PiMultiPhase.h | 126 UINT64 PhysicalSize; member
|
/device/linaro/bootloader/edk2/StdLib/Include/sys/ |
D | dirent.h | 72 UINT64 PhysicalSize; // The amount of physical space the file consumes member
|
/device/linaro/bootloader/edk2/FatPkg/EnhancedFatDxe/ |
D | FileSpace.c | 694 UINT64 PhysicalSize; in FatPhysicalFileSize() local 696 PhysicalSize = (RealSize + ClusterSizeMask) & (~((UINT64) ClusterSizeMask)); in FatPhysicalFileSize() 697 return PhysicalSize; in FatPhysicalFileSize()
|
D | DirectoryManage.c | 478 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/ |
D | SemihostFs.c | 285 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/ |
D | SmmMemLib.c | 136 …mMemLibInternalSmramRanges[Index].CpuStart + mSmmMemLibInternalSmramRanges[Index].PhysicalSize)) || in SmmIsBufferOutsideSmmValid() 148 mSmmMemLibInternalSmramRanges[Index].PhysicalSize in SmmIsBufferOutsideSmmValid()
|
/device/linaro/bootloader/edk2/ArmPlatformPkg/FileSystem/BootMonFs/ |
D | BootMonFsOpenClose.c | 416 Info->PhysicalSize = BootMonFsGetPhysicalSize (File); in BootMonFsFlushFile() 693 Info->PhysicalSize = BootMonFsGetPhysicalSize (File); in BootMonFsOpenFile()
|
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/FspSupport/Library/PeiFspHobProcessLibVlv2/ |
D | FspHobProcessLibVlv2.c | 374 SmramHobDescriptorBlock->Descriptor[0].PhysicalSize = TsegSize; in FspHobProcessForMemoryResource()
|
/device/linaro/bootloader/edk2/MdePkg/Library/SmmMemoryAllocationLib/ |
D | MemoryAllocationLib.c | 130 …CAL_ADDRESS) (UINTN) Buffer < (mSmramRanges[Index].CpuStart + mSmramRanges[Index].PhysicalSize))) { in BufferInSmram()
|
/device/linaro/bootloader/edk2/UefiCpuPkg/Library/SmmCpuFeaturesLib/ |
D | SmmStm.c | 168 if (SmramDescriptor->PhysicalSize > 0) { in SmmCpuFeaturesLibStmConstructor() 170 mMsegSize = (UINTN)SmramDescriptor->PhysicalSize; in SmmCpuFeaturesLibStmConstructor()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/FvSimpleFileSystemDxe/ |
D | FvSimpleFileSystemEntryPoint.c | 212 FvFileInfo->FileInfo.PhysicalSize = FvFileInfo->FileInfo.FileSize; in FvSimpleFileSystemOpenVolume()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Library/PiSmmCoreMemoryAllocationLib/ |
D | MemoryAllocationLib.c | 56 …oryAllocLibSmramRanges[Index].CpuStart + mSmmCoreMemoryAllocLibSmramRanges[Index].PhysicalSize))) { in BufferInSmram()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Library/SmmMemoryAllocationProfileLib/ |
D | MemoryAllocationLib.c | 132 …CAL_ADDRESS) (UINTN) Buffer < (mSmramRanges[Index].CpuStart + mSmramRanges[Index].PhysicalSize))) { in BufferInSmram()
|