Home
last modified time | relevance | path

Searched refs:PhysicalAddressBits (Results 1 – 24 of 24) sorted by relevance

/device/linaro/bootloader/edk2/MdeModulePkg/Core/DxeIplPeim/X64/
DVirtualMemory.c158 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/
DAcpiS3ContextSave.c336 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/
DSaveLongModeContext.c117 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/
DUefiCapsule.c89 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/
DSmmMemLib.c65 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/
DSetIdtEntry.c59 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/
DS3Resume.c603 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/
DX64Entry.c68 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/
DPageTbl.c101 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/
DCbSupportPei.c234 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/
DDxeLoadFunc.c75 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/
DCpuDxe.c464 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/
DSmiException.asm67 DB 0 ; PhysicalAddressBits
DSmiException.S72 .byte 0 # PhysicalAddressBits
DSmiException.nasm74 DB 0 ; PhysicalAddressBits
/device/linaro/bootloader/edk2/UefiCpuPkg/Library/SmmCpuFeaturesLib/
DSmmStm.c351 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/
DSmiException.S72 .byte 0 # PhysicalAddressBits
DSmiException.nasm73 DB 0 ; PhysicalAddressBits
DSmiException.asm72 DB 0 ; PhysicalAddressBits
/device/linaro/bootloader/edk2/UefiCpuPkg/Include/Register/
DStmApi.h949 UINT8 PhysicalAddressBits; member
DCpuid.h3523 UINT32 PhysicalAddressBits:8; member
/device/linaro/bootloader/edk2/QuarkSocPkg/QuarkNorthCluster/Library/MtrrLib/
DMtrrLib.c1031 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/
DMtrrLib.c1055 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/
DCpuid.c1454 PRINT_BIT_FIELD (Eax, PhysicalAddressBits); in CpuidVirPhyAddressSize()