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