/device/linaro/bootloader/edk2/MdeModulePkg/Core/DxeIplPeim/X64/ |
D | VirtualMemory.c | 158 UINT8 PhysicalAddressBits; in CreateIdentityMappingPageTables() local 191 PhysicalAddressBits = ((EFI_HOB_CPU *) Hob)->SizeOfMemorySpace; in CreateIdentityMappingPageTables() 196 PhysicalAddressBits = (UINT8) RegEax; in CreateIdentityMappingPageTables() 198 PhysicalAddressBits = 36; in CreateIdentityMappingPageTables() 205 ASSERT (PhysicalAddressBits <= 52); in CreateIdentityMappingPageTables() 206 if (PhysicalAddressBits > 48) { in CreateIdentityMappingPageTables() 207 PhysicalAddressBits = 48; in CreateIdentityMappingPageTables() 213 if (PhysicalAddressBits <= 39 ) { in CreateIdentityMappingPageTables() 215 NumberOfPdpEntriesNeeded = (UINT32)LShiftU64 (1, (PhysicalAddressBits - 30)); in CreateIdentityMappingPageTables() 217 NumberOfPml4EntriesNeeded = (UINT32)LShiftU64 (1, (PhysicalAddressBits - 39)); in CreateIdentityMappingPageTables()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Acpi/S3SaveStateDxe/ |
D | AcpiS3ContextSave.c | 336 UINT8 PhysicalAddressBits; in S3AllocatePageTablesBuffer() local 360 PhysicalAddressBits = ((EFI_HOB_CPU *) Hob)->SizeOfMemorySpace; in S3AllocatePageTablesBuffer() 365 PhysicalAddressBits = (UINT8) RegEax; in S3AllocatePageTablesBuffer() 367 PhysicalAddressBits = 36; in S3AllocatePageTablesBuffer() 374 ASSERT (PhysicalAddressBits <= 52); in S3AllocatePageTablesBuffer() 375 if (PhysicalAddressBits > 48) { in S3AllocatePageTablesBuffer() 376 PhysicalAddressBits = 48; in S3AllocatePageTablesBuffer() 385 PhysicalAddressBits = 32; in S3AllocatePageTablesBuffer() 392 if (PhysicalAddressBits <= 39 ) { in S3AllocatePageTablesBuffer() 394 NumberOfPdpEntriesNeeded = (UINT32)LShiftU64 (1, (PhysicalAddressBits - 30)); in S3AllocatePageTablesBuffer() [all …]
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/CapsuleRuntimeDxe/X64/ |
D | SaveLongModeContext.c | 117 UINT8 PhysicalAddressBits; in PrepareContextForCapsulePei() local 143 PhysicalAddressBits = 32; in PrepareContextForCapsulePei() 149 if (PhysicalAddressBits <= 39 ) { in PrepareContextForCapsulePei() 151 NumberOfPdpEntriesNeeded = (UINT32)LShiftU64 (1, (PhysicalAddressBits - 30)); in PrepareContextForCapsulePei() 153 NumberOfPml4EntriesNeeded = (UINT32)LShiftU64 (1, (PhysicalAddressBits - 39)); in PrepareContextForCapsulePei()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/CapsulePei/ |
D | UefiCapsule.c | 89 UINT8 PhysicalAddressBits; in CalculatePageTableSize() local 97 PhysicalAddressBits = 32; in CalculatePageTableSize() 103 if (PhysicalAddressBits <= 39 ) { in CalculatePageTableSize() 105 NumberOfPdpEntriesNeeded = (UINT32)LShiftU64 (1, (PhysicalAddressBits - 30)); in CalculatePageTableSize() 107 NumberOfPml4EntriesNeeded = (UINT32)LShiftU64 (1, (PhysicalAddressBits - 39)); in CalculatePageTableSize() 135 UINT8 PhysicalAddressBits; in Create4GPageTables() local 153 PhysicalAddressBits = 32; in Create4GPageTables() 158 if (PhysicalAddressBits <= 39 ) { in Create4GPageTables() 160 NumberOfPdpEntriesNeeded = (UINT32)LShiftU64 (1, (PhysicalAddressBits - 30)); in Create4GPageTables() 162 NumberOfPml4EntriesNeeded = (UINT32)LShiftU64 (1, (PhysicalAddressBits - 39)); in Create4GPageTables() [all …]
|
/device/linaro/bootloader/edk2/MdePkg/Library/SmmMemLib/ |
D | SmmMemLib.c | 65 UINT8 PhysicalAddressBits; in SmmMemLibInternalCalculateMaximumSupportAddress() local 72 PhysicalAddressBits = ((EFI_HOB_CPU *) Hob)->SizeOfMemorySpace; in SmmMemLibInternalCalculateMaximumSupportAddress() 77 PhysicalAddressBits = (UINT8) RegEax; in SmmMemLibInternalCalculateMaximumSupportAddress() 79 PhysicalAddressBits = 36; in SmmMemLibInternalCalculateMaximumSupportAddress() 85 ASSERT (PhysicalAddressBits <= 52); in SmmMemLibInternalCalculateMaximumSupportAddress() 86 if (PhysicalAddressBits > 48) { in SmmMemLibInternalCalculateMaximumSupportAddress() 87 PhysicalAddressBits = 48; in SmmMemLibInternalCalculateMaximumSupportAddress() 93 …ernalMaximumSupportAddress = (EFI_PHYSICAL_ADDRESS)(UINTN)(LShiftU64 (1, PhysicalAddressBits) - 1); in SmmMemLibInternalCalculateMaximumSupportAddress()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/X64/ |
D | SetIdtEntry.c | 59 UINT8 PhysicalAddressBits; in HookPageFaultHandler() local 65 PhysicalAddressBits = (UINT8) RegEax; in HookPageFaultHandler() 67 PhysicalAddressBits = 36; in HookPageFaultHandler() 69 mPhyMask = LShiftU64 (1, PhysicalAddressBits) - 1; in HookPageFaultHandler()
|
/device/linaro/bootloader/edk2/UefiCpuPkg/Universal/Acpi/S3Resume2Pei/ |
D | S3Resume.c | 603 UINT8 PhysicalAddressBits; in RestoreS3PageTables() local 648 PhysicalAddressBits = ((EFI_HOB_CPU *) Hob)->SizeOfMemorySpace; in RestoreS3PageTables() 653 PhysicalAddressBits = (UINT8) RegEax; in RestoreS3PageTables() 655 PhysicalAddressBits = 36; in RestoreS3PageTables() 662 ASSERT (PhysicalAddressBits <= 52); in RestoreS3PageTables() 663 if (PhysicalAddressBits > 48) { in RestoreS3PageTables() 664 PhysicalAddressBits = 48; in RestoreS3PageTables() 672 PhysicalAddressBits = 32; in RestoreS3PageTables() 678 if (PhysicalAddressBits <= 39) { in RestoreS3PageTables() 680 NumberOfPdpEntriesNeeded = (UINT32)LShiftU64 (1, (PhysicalAddressBits - 30)); in RestoreS3PageTables() [all …]
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/CapsulePei/X64/ |
D | X64Entry.c | 68 UINT8 PhysicalAddressBits; in HookPageFaultHandler() local 74 PhysicalAddressBits = (UINT8) RegEax; in HookPageFaultHandler() 76 PhysicalAddressBits = 36; in HookPageFaultHandler() 78 PageFaultContext->PhyMask = LShiftU64 (1, PhysicalAddressBits) - 1; in HookPageFaultHandler()
|
/device/linaro/bootloader/edk2/UefiCpuPkg/PiSmmCpuDxeSmm/X64/ |
D | PageTbl.c | 101 UINT8 PhysicalAddressBits; in CalculateMaximumSupportAddress() local 109 PhysicalAddressBits = ((EFI_HOB_CPU *) Hob)->SizeOfMemorySpace; in CalculateMaximumSupportAddress() 114 PhysicalAddressBits = (UINT8) RegEax; in CalculateMaximumSupportAddress() 116 PhysicalAddressBits = 36; in CalculateMaximumSupportAddress() 123 ASSERT (PhysicalAddressBits <= 52); in CalculateMaximumSupportAddress() 124 if (PhysicalAddressBits > 48) { in CalculateMaximumSupportAddress() 125 PhysicalAddressBits = 48; in CalculateMaximumSupportAddress() 127 return PhysicalAddressBits; in CalculateMaximumSupportAddress()
|
/device/linaro/bootloader/edk2/CorebootModulePkg/CbSupportPei/ |
D | CbSupportPei.c | 234 UINT8 PhysicalAddressBits; in CbPeiEntryPoint() local 340 PhysicalAddressBits = (UINT8) RegEax; in CbPeiEntryPoint() 342 PhysicalAddressBits = 36; in CbPeiEntryPoint() 347 BuildCpuHob (PhysicalAddressBits, 16); in CbPeiEntryPoint()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Core/DxeIplPeim/Ia32/ |
D | DxeLoadFunc.c | 75 UINT8 PhysicalAddressBits; in Create4GPageTablesIa32Pae() local 86 PhysicalAddressBits = 32; in Create4GPageTablesIa32Pae() 91 NumberOfPdpEntriesNeeded = (UINT32) LShiftU64 (1, (PhysicalAddressBits - 30)); in Create4GPageTablesIa32Pae()
|
/device/linaro/bootloader/edk2/UefiCpuPkg/CpuDxe/ |
D | CpuDxe.c | 464 UINT8 PhysicalAddressBits; in InitializeMtrrMask() local 471 PhysicalAddressBits = (UINT8) RegEax; in InitializeMtrrMask() 473 mValidMtrrBitsMask = LShiftU64 (1, PhysicalAddressBits) - 1; in InitializeMtrrMask()
|
/device/linaro/bootloader/edk2/UefiCpuPkg/Library/SmmCpuFeaturesLib/Ia32/ |
D | SmiException.asm | 67 DB 0 ; PhysicalAddressBits
|
D | SmiException.S | 72 .byte 0 # PhysicalAddressBits
|
D | SmiException.nasm | 74 DB 0 ; PhysicalAddressBits
|
/device/linaro/bootloader/edk2/UefiCpuPkg/Library/SmmCpuFeaturesLib/ |
D | SmmStm.c | 351 Psd->PhysicalAddressBits = ((EFI_HOB_CPU *) Hob)->SizeOfMemorySpace; in SmmCpuFeaturesInstallSmiHandler() 356 Psd->PhysicalAddressBits = (UINT8) RegEax; in SmmCpuFeaturesInstallSmiHandler() 358 Psd->PhysicalAddressBits = 36; in SmmCpuFeaturesInstallSmiHandler()
|
/device/linaro/bootloader/edk2/UefiCpuPkg/Library/SmmCpuFeaturesLib/X64/ |
D | SmiException.S | 72 .byte 0 # PhysicalAddressBits
|
D | SmiException.nasm | 73 DB 0 ; PhysicalAddressBits
|
D | SmiException.asm | 72 DB 0 ; PhysicalAddressBits
|
/device/linaro/bootloader/edk2/UefiCpuPkg/Include/Register/ |
D | StmApi.h | 949 UINT8 PhysicalAddressBits; member
|
D | Cpuid.h | 3523 UINT32 PhysicalAddressBits:8; member
|
/device/linaro/bootloader/edk2/QuarkSocPkg/QuarkNorthCluster/Library/MtrrLib/ |
D | MtrrLib.c | 1031 UINT8 PhysicalAddressBits; in MtrrLibInitializeMtrrMask() local 1038 PhysicalAddressBits = (UINT8) RegEax; in MtrrLibInitializeMtrrMask() 1040 *MtrrValidBitsMask = LShiftU64 (1, PhysicalAddressBits) - 1; in MtrrLibInitializeMtrrMask()
|
/device/linaro/bootloader/edk2/UefiCpuPkg/Library/MtrrLib/ |
D | MtrrLib.c | 1055 UINT8 PhysicalAddressBits; in MtrrLibInitializeMtrrMask() local 1062 PhysicalAddressBits = (UINT8) RegEax; in MtrrLibInitializeMtrrMask() 1064 *MtrrValidBitsMask = LShiftU64 (1, PhysicalAddressBits) - 1; in MtrrLibInitializeMtrrMask()
|
/device/linaro/bootloader/edk2/UefiCpuPkg/Application/Cpuid/ |
D | Cpuid.c | 1454 PRINT_BIT_FIELD (Eax, PhysicalAddressBits); in CpuidVirPhyAddressSize()
|