Searched refs:SIZE_2MB (Results 1 – 13 of 13) sorted by relevance
/device/linaro/bootloader/edk2/UefiCpuPkg/PiSmmCpuDxeSmm/ |
D | SmmProfile.c | 410 …if (((ProtectBaseAddress & (SIZE_2MB - 1)) != 0) || ((ProtectEndAddress & (SIZE_2MB - 1)) != 0)) { in InitProtectedMemRange() 415 Top2MBAlignedAddress = ProtectEndAddress & ~(SIZE_2MB - 1); in InitProtectedMemRange() 416 Base2MBAlignedAddress = (ProtectBaseAddress + SIZE_2MB - 1) & ~(SIZE_2MB - 1); in InitProtectedMemRange() 418 ((Top2MBAlignedAddress - Base2MBAlignedAddress) >= SIZE_2MB)) { in InitProtectedMemRange() 422 …High4KBPageSize = ((ProtectEndAddress + SIZE_2MB - 1) & ~(SIZE_2MB - 1)) - (ProtectEndAddress & ~(… in InitProtectedMemRange() 423 …Low4KBPageSize = ((ProtectBaseAddress + SIZE_2MB - 1) & ~(SIZE_2MB - 1)) - (ProtectBaseAddress & … in InitProtectedMemRange() 428 mSplitMemRange[NumberOfSpliteRange].Base = ProtectEndAddress & ~(SIZE_2MB - 1); in InitProtectedMemRange() 429 … mSplitMemRange[NumberOfSpliteRange].Top = (ProtectEndAddress + SIZE_2MB - 1) & ~(SIZE_2MB - 1); in InitProtectedMemRange() 436 mSplitMemRange[NumberOfSpliteRange].Base = ProtectBaseAddress & ~(SIZE_2MB - 1); in InitProtectedMemRange() 437 … mSplitMemRange[NumberOfSpliteRange].Top = (ProtectBaseAddress + SIZE_2MB - 1) & ~(SIZE_2MB - 1); in InitProtectedMemRange() [all …]
|
D | MpService.c | 758 Low2MBoundary = (mSmmStackArrayBase + EFI_PAGE_SIZE) & ~(SIZE_2MB-1); in Gen4GPageTable() 763 High2MBoundary = (mSmmStackArrayEnd - mSmmStackSize + EFI_PAGE_SIZE * 2) & ~(SIZE_2MB-1); in Gen4GPageTable() 764 PagesNeeded = ((High2MBoundary - Low2MBoundary) / SIZE_2MB) + 1; in Gen4GPageTable() 799 for (PageIndex = Low2MBoundary; PageIndex <= High2MBoundary; PageIndex += SIZE_2MB) { in Gen4GPageTable()
|
D | SmmCpuMemoryManagement.c | 28 {Page2M, SIZE_2MB, PAGING_2M_ADDRESS_MASK_64}, 263 if (((BaseAddress & PAGING_2M_MASK) != 0) || (Length < SIZE_2MB)) { in NeedSplitPage() 328 …NewPageEntry[Index] = BaseAddress + SIZE_2MB * Index + IA32_PG_PS + ((*PageEntry) & PAGE_PROGATE_B… in SplitPage()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Core/DxeIplPeim/X64/ |
D | VirtualMemory.c | 122 …ntries < 512; IndexOfPageDirectoryEntries++, PageDirectoryEntry++, PhysicalAddress2M += SIZE_2MB) { in Split1GPageTo2M() 123 … if ((PhysicalAddress2M < StackBase + StackSize) && ((PhysicalAddress2M + SIZE_2MB) > StackBase)) { in Split1GPageTo2M() 287 …ctoryEntries < 512; IndexOfPageDirectoryEntries++, PageDirectoryEntry++, PageAddress += SIZE_2MB) { in CreateIdentityMappingPageTables() 288 …etNxForStack) && (PageAddress < StackBase + StackSize) && ((PageAddress + SIZE_2MB) > StackBase)) { in CreateIdentityMappingPageTables()
|
/device/linaro/bootloader/edk2/OvmfPkg/PciHotPlugInitDxe/ |
D | PciHotPlugInit.c | 75 SIZE_2MB - 1, // AddrRangeMax: 79 SIZE_2MB // AddrLen:
|
/device/linaro/bootloader/edk2/ArmPlatformPkg/ArmJunoPkg/Include/ |
D | ArmPlatform.h | 38 #define ARM_VE_SMB_PERIPH_SZ (SIZE_64MB + SIZE_2MB)
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Compatibility/SmmBaseHelper/ |
D | SmmBaseHelper.c | 356 if (((UINTN)mFrameworkSmst->CpuSaveState & ~(SIZE_2MB-1)) == (PFAddress & ~(SIZE_2MB-1))) { in PageFaultHandler() 471 ASSERT ((Pde & mPhyMask) == (HookAddress & ~(SIZE_2MB-1))); // 2MB Page Point to HookAddress in InitCpuStatePageTable() 474 Address = HookAddress & ~(SIZE_2MB-1); in InitCpuStatePageTable() 568 …ACHINE_TYPE_SUPPORTED(EFI_IMAGE_MACHINE_X64) && NumCpuStatePages <= EFI_SIZE_TO_PAGES (SIZE_2MB)) { in InitHook() 574 Bottom2MPage = CpuStatePage & ~(SIZE_2MB-1); in InitHook() 575 Top2MPage = (CpuStatePage + EFI_PAGES_TO_SIZE (NumCpuStatePages * 2) - 1) & ~(SIZE_2MB-1); in InitHook()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Core/DxeIplPeim/Ia32/ |
D | DxeLoadFunc.c | 117 …yEntries < 512; IndexOfPageDirectoryEntries++, PageDirectoryEntry++, PhysicalAddress += SIZE_2MB) { in Create4GPageTablesIa32Pae() 118 if ((PhysicalAddress < StackBase + StackSize) && ((PhysicalAddress + SIZE_2MB) > StackBase)) { in Create4GPageTablesIa32Pae()
|
/device/linaro/bootloader/edk2/OvmfPkg/SmmAccess/ |
D | SmramInternal.c | 183 TsegSizeBits == MCH_ESMRAMC_TSEG_2MB ? SIZE_2MB : in SmramAccessGetCapabilities()
|
/device/linaro/bootloader/edk2/MdePkg/Include/ |
D | Base.h | 441 #define SIZE_2MB 0x00200000 macro
|
/device/linaro/bootloader/edk2/UefiCpuPkg/PiSmmCpuDxeSmm/X64/ |
D | PageTbl.c | 219 …ctoryEntries < 512; IndexOfPageDirectoryEntries++, PageDirectoryEntry++, PageAddress += SIZE_2MB) { in SetStaticPageTable()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/CapsulePei/ |
D | UefiCapsule.c | 222 …ctoryEntries < 512; IndexOfPageDirectoryEntries++, PageDirectoryEntry++, PageAddress += SIZE_2MB) { in Create4GPageTables()
|
/device/linaro/bootloader/edk2/UefiCpuPkg/Universal/Acpi/S3Resume2Pei/ |
D | S3Resume.c | 731 …ctoryEntries < 512; IndexOfPageDirectoryEntries++, PageDirectoryEntry++, PageAddress += SIZE_2MB) { in RestoreS3PageTables()
|