Home
last modified time | relevance | path

Searched refs:RegEax (Results 1 – 25 of 43) sorted by relevance

12

/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/Library/CpuIA32Lib/
DEfiCpuVersion.c60 *SteppingId = (UINT8) (Register.RegEax & 0xF); in EfiCpuVersion()
64 *Processor = (UINT8) ((Register.RegEax >> 12) & 0x3); in EfiCpuVersion()
68 TempFamilyId = (UINT8) ((Register.RegEax >> 8) & 0xF); in EfiCpuVersion()
71 *Model = (UINT8) ((Register.RegEax >> 4) & 0xF); in EfiCpuVersion()
73 *Model = (UINT8) (*Model | ((Register.RegEax >> 12) & 0xF0)); in EfiCpuVersion()
80 *FamilyId = (UINT8 ) (*FamilyId + (UINT16) ((Register.RegEax >> 20) & 0xFF)); in EfiCpuVersion()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Cpu/Pentium/CpuIA32Lib/
DEfiCpuVersion.c50 *SteppingId = (UINT8) (Register.RegEax & 0xF); in EfiCpuVersion()
54 *Processor = (UINT8) ((Register.RegEax >> 12) & 0x3); in EfiCpuVersion()
58 TempFamilyId = (UINT8) ((Register.RegEax >> 8) & 0xF); in EfiCpuVersion()
61 *Model = (UINT8) ((Register.RegEax >> 4) & 0xF); in EfiCpuVersion()
63 *Model = (UINT8) (*Model | ((Register.RegEax >> 12) & 0xF0)); in EfiCpuVersion()
70 *FamilyId = (UINT8 ) (*FamilyId + (UINT16) ((Register.RegEax >> 20) & 0xFF)); in EfiCpuVersion()
/device/linaro/bootloader/edk2/UefiCpuPkg/Library/SmmCpuFeaturesLib/
DSmmCpuFeaturesLib.c86 UINT32 RegEax; in SmmCpuFeaturesLibConstructor() local
94 AsmCpuid (CPUID_VERSION_INFO, &RegEax, NULL, NULL, &RegEdx); in SmmCpuFeaturesLibConstructor()
95 FamilyId = (RegEax >> 8) & 0xf; in SmmCpuFeaturesLibConstructor()
96 ModelId = (RegEax >> 4) & 0xf; in SmmCpuFeaturesLibConstructor()
98 ModelId = ModelId | ((RegEax >> 12) & 0xf0); in SmmCpuFeaturesLibConstructor()
157 AsmCpuid (CPUID_EXTENDED_FUNCTION, &RegEax, NULL, NULL, NULL); in SmmCpuFeaturesLibConstructor()
158 if (RegEax >= CPUID_EXTENDED_CPU_SIG) { in SmmCpuFeaturesLibConstructor()
209 UINT32 RegEax; in SmmCpuFeaturesInitializeProcessor() local
256 AsmCpuid (CPUID_VERSION_INFO, &RegEax, NULL, NULL, &RegEdx); in SmmCpuFeaturesInitializeProcessor()
257 FamilyId = (RegEax >> 8) & 0xf; in SmmCpuFeaturesInitializeProcessor()
[all …]
/device/linaro/bootloader/edk2/QuarkPlatformPkg/Platform/Pei/PlatformInit/
DMemoryCallback.c109 UINT32 RegEax; in MemoryDiscoveredPpiNotifyCallback() local
225 AsmCpuid (CPUID_EXTENDED_FUNCTION, &RegEax, NULL, NULL, NULL); in MemoryDiscoveredPpiNotifyCallback()
226 if (RegEax >= CPUID_VIR_PHY_ADDRESS_SIZE) { in MemoryDiscoveredPpiNotifyCallback()
227 AsmCpuid (CPUID_VIR_PHY_ADDRESS_SIZE, &RegEax, NULL, NULL, NULL); in MemoryDiscoveredPpiNotifyCallback()
228 CpuAddressWidth = (UINT8) (RegEax & 0xFF); in MemoryDiscoveredPpiNotifyCallback()
/device/linaro/bootloader/edk2/UefiCpuPkg/CpuMpPei/
DMicrocode.c55 UINT32 RegEax; in MicrocodeDetect() local
78 AsmCpuid (CPUID_VERSION_INFO, &RegEax, NULL, NULL, NULL); in MicrocodeDetect()
100 if (MicrocodeEntryPoint->ProcessorId == RegEax && in MicrocodeDetect()
137 if ((ExtendedTable->ProcessorSignature == RegEax) && in MicrocodeDetect()
176 MicrocodeInfo.ProcessorId = RegEax; in MicrocodeDetect()
DPeiMpServices.c51 UINT32 RegEax; in ExtractProcessorLocation() local
90 AsmCpuidEx (CPUID_EXTENDED_TOPOLOGY, 0, &RegEax, &RegEbx, &RegEcx, NULL); in ExtractProcessorLocation()
105 ThreadBits = RegEax & 0x1f; in ExtractProcessorLocation()
113 AsmCpuidEx (CPUID_EXTENDED_TOPOLOGY, SubIndex, &RegEax, NULL, &RegEcx, NULL); in ExtractProcessorLocation()
116 CoreBits = (RegEax & 0x1f) - ThreadBits; in ExtractProcessorLocation()
128 AsmCpuidEx (CPUID_CACHE_PARAMS, 0, &RegEax, NULL, NULL, NULL); in ExtractProcessorLocation()
129 MaxCoresPerPackage = (RegEax >> 26) + 1; in ExtractProcessorLocation()
/device/linaro/bootloader/edk2/MdeModulePkg/Core/DxeIplPeim/X64/
DVirtualMemory.c154 UINT32 RegEax; in CreateIdentityMappingPageTables() local
175 AsmCpuid (0x80000000, &RegEax, NULL, NULL, NULL); in CreateIdentityMappingPageTables()
176 if (RegEax >= 0x80000001) { in CreateIdentityMappingPageTables()
191 AsmCpuid (0x80000000, &RegEax, NULL, NULL, NULL); in CreateIdentityMappingPageTables()
192 if (RegEax >= 0x80000008) { in CreateIdentityMappingPageTables()
193 AsmCpuid (0x80000008, &RegEax, NULL, NULL, NULL); in CreateIdentityMappingPageTables()
194 PhysicalAddressBits = (UINT8) RegEax; in CreateIdentityMappingPageTables()
/device/linaro/bootloader/edk2/UefiCpuPkg/PiSmmCpuDxeSmm/
DCpuService.c48 UINT32 RegEax; in SmmGetProcessorLocation() local
85 AsmCpuidEx (CPUID_EXTENDED_TOPOLOGY, 0, &RegEax, &RegEbx, &RegEcx, NULL); in SmmGetProcessorLocation()
101 ThreadBits = RegEax & 0x1f; in SmmGetProcessorLocation()
115 AsmCpuidEx (CPUID_EXTENDED_TOPOLOGY, SubIndex, &RegEax, NULL, &RegEcx, NULL); in SmmGetProcessorLocation()
118 CoreBits = (RegEax & 0x1f) - ThreadBits; in SmmGetProcessorLocation()
130 AsmCpuidEx (CPUID_CACHE_PARAMS, 0, &RegEax, NULL, NULL, NULL); in SmmGetProcessorLocation()
131 MaxCoresPerPackage = (RegEax >> 26) + 1; in SmmGetProcessorLocation()
/device/linaro/bootloader/edk2/MdePkg/Library/SmmMemLib/
DSmmMemLib.c50 UINT32 RegEax; in SmmMemLibInternalCalculateMaximumSupportAddress() local
60 AsmCpuid (0x80000000, &RegEax, NULL, NULL, NULL); in SmmMemLibInternalCalculateMaximumSupportAddress()
61 if (RegEax >= 0x80000008) { in SmmMemLibInternalCalculateMaximumSupportAddress()
62 AsmCpuid (0x80000008, &RegEax, NULL, NULL, NULL); in SmmMemLibInternalCalculateMaximumSupportAddress()
63 PhysicalAddressBits = (UINT8) RegEax; in SmmMemLibInternalCalculateMaximumSupportAddress()
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/Library/CpuIA32Lib/IA32/
DCpuIA32.c71 mov DWORD PTR [edi].RegEax, eax ; Reg->RegEax
184 mov DWORD PTR [edi].RegEax, eax ; Reg->RegEax
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Cpu/Pentium/CpuIA32Lib/IA32/
DCpuIA32.c59 mov DWORD PTR [edi].RegEax, eax ; Reg->RegEax in EfiCpuid()
172 mov DWORD PTR [edi].RegEax, eax ; Reg->RegEax in EfiCpuidExt()
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/X64/
DSetIdtEntry.c58 UINT32 RegEax; in HookPageFaultHandler() local
62 AsmCpuid (0x80000000, &RegEax, NULL, NULL, NULL); in HookPageFaultHandler()
63 if (RegEax >= 0x80000008) { in HookPageFaultHandler()
64 AsmCpuid (0x80000008, &RegEax, NULL, NULL, NULL); in HookPageFaultHandler()
65 PhysicalAddressBits = (UINT8) RegEax; in HookPageFaultHandler()
/device/linaro/bootloader/edk2/MdeModulePkg/Core/DxeIplPeim/Ia32/
DDxeLoadFunc.c157 UINT32 RegEax; in IsIa32PaeSupport() local
162 AsmCpuid (0x0, &RegEax, NULL, NULL, NULL); in IsIa32PaeSupport()
163 if (RegEax >= 0x1) { in IsIa32PaeSupport()
185 UINT32 RegEax; in IsExecuteDisableBitAvailable() local
190 AsmCpuid (0x80000000, &RegEax, NULL, NULL, NULL); in IsExecuteDisableBitAvailable()
191 if (RegEax >= 0x80000001) { in IsExecuteDisableBitAvailable()
/device/linaro/bootloader/edk2/OvmfPkg/AcpiS3SaveDxe/
DAcpiS3Save.c300 UINT32 RegEax; in S3CreateIdentityMappingPageTables() local
312 AsmCpuid (0x80000000, &RegEax, NULL, NULL, NULL); in S3CreateIdentityMappingPageTables()
313 if (RegEax >= 0x80000001) { in S3CreateIdentityMappingPageTables()
328 AsmCpuid (0x80000000, &RegEax, NULL, NULL, NULL); in S3CreateIdentityMappingPageTables()
329 if (RegEax >= 0x80000008) { in S3CreateIdentityMappingPageTables()
330 AsmCpuid (0x80000008, &RegEax, NULL, NULL, NULL); in S3CreateIdentityMappingPageTables()
331 PhysicalAddressBits = (UINT8) RegEax; in S3CreateIdentityMappingPageTables()
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/CapsulePei/X64/
DX64Entry.c67 UINT32 RegEax; in HookPageFaultHandler() local
71 AsmCpuid (0x80000000, &RegEax, NULL, NULL, NULL); in HookPageFaultHandler()
72 if (RegEax >= 0x80000008) { in HookPageFaultHandler()
73 AsmCpuid (0x80000008, &RegEax, NULL, NULL, NULL); in HookPageFaultHandler()
74 PhysicalAddressBits = (UINT8) RegEax; in HookPageFaultHandler()
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Universal/Acpi/AcpiS3SaveDxe/
DAcpiS3Save.c366 UINT32 RegEax; in S3AllocatePageTablesBuffer() local
378 AsmCpuid (0x80000000, &RegEax, NULL, NULL, NULL); in S3AllocatePageTablesBuffer()
379 if (RegEax >= 0x80000001) { in S3AllocatePageTablesBuffer()
394 AsmCpuid (0x80000000, &RegEax, NULL, NULL, NULL); in S3AllocatePageTablesBuffer()
395 if (RegEax >= 0x80000008) { in S3AllocatePageTablesBuffer()
396 AsmCpuid (0x80000008, &RegEax, NULL, NULL, NULL); in S3AllocatePageTablesBuffer()
397 PhysicalAddressBits = (UINT8) RegEax; in S3AllocatePageTablesBuffer()
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/CapsuleRuntimeDxe/X64/
DSaveLongModeContext.c114 UINT32 RegEax; in PrepareContextForCapsulePei() local
130 AsmCpuid (0x80000000, &RegEax, NULL, NULL, NULL); in PrepareContextForCapsulePei()
131 if (RegEax >= 0x80000001) { in PrepareContextForCapsulePei()
/device/linaro/bootloader/edk2/CorebootModulePkg/CbSupportPei/
DCbSupportPei.c162 UINT32 RegEax; in CbPeiEntryPoint() local
298 AsmCpuid (0x80000000, &RegEax, NULL, NULL, NULL); in CbPeiEntryPoint()
299 if (RegEax >= 0x80000008) { in CbPeiEntryPoint()
300 AsmCpuid (0x80000008, &RegEax, NULL, NULL, NULL); in CbPeiEntryPoint()
301 PhysicalAddressBits = (UINT8) RegEax; in CbPeiEntryPoint()
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/PlatformInitPei/
DMemoryCallback.c302 …AsmCpuid (EFI_CPUID_EXTENDED_FUNCTION, &FeatureInfo.RegEax, &FeatureInfo.RegEbx, &FeatureInfo.RegE… in MemoryDiscoveredPpiNotifyCallback()
303 if (FeatureInfo.RegEax >= EFI_CPUID_VIRT_PHYS_ADDRESS_SIZE) { in MemoryDiscoveredPpiNotifyCallback()
304 …AsmCpuid (EFI_CPUID_VIRT_PHYS_ADDRESS_SIZE, &FeatureInfo.RegEax, &FeatureInfo.RegEbx, &FeatureInfo… in MemoryDiscoveredPpiNotifyCallback()
305 CpuAddressWidth = (UINT8) (FeatureInfo.RegEax & 0xFF); in MemoryDiscoveredPpiNotifyCallback()
/device/linaro/bootloader/edk2/UefiCpuPkg/CpuDxe/
DApStartup.c337 UINT32 RegEax; in IsBspExecuteDisableEnabled() local
343 AsmCpuid (0x80000000, &RegEax, NULL, NULL, NULL); in IsBspExecuteDisableEnabled()
344 if (RegEax >= 0x80000001) { in IsBspExecuteDisableEnabled()
DCpuDxe.c448 UINT32 RegEax; in InitializeMtrrMask() local
451 AsmCpuid (0x80000000, &RegEax, NULL, NULL, NULL); in InitializeMtrrMask()
453 if (RegEax >= 0x80000008) { in InitializeMtrrMask()
454 AsmCpuid (0x80000008, &RegEax, NULL, NULL, NULL); in InitializeMtrrMask()
456 PhysicalAddressBits = (UINT8) RegEax; in InitializeMtrrMask()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Dxe/Include/X64/
DCpuFuncs.h128 UINT32 RegEax; member
180 IN UINT32 RegEax,
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Dxe/Include/Ia32/
DCpuFuncs.h126 UINT32 RegEax; member
178 IN UINT32 RegEax,
/device/linaro/bootloader/edk2/QuarkSocPkg/QuarkNorthCluster/Library/MtrrLib/
DMtrrLib.c1032 UINT32 RegEax; in MtrrLibInitializeMtrrMask() local
1035 AsmCpuid (0x80000000, &RegEax, NULL, NULL, NULL); in MtrrLibInitializeMtrrMask()
1037 if (RegEax >= 0x80000008) { in MtrrLibInitializeMtrrMask()
1038 AsmCpuid (0x80000008, &RegEax, NULL, NULL, NULL); in MtrrLibInitializeMtrrMask()
1040 PhysicalAddressBits = (UINT8) RegEax; in MtrrLibInitializeMtrrMask()
1284 UINT32 RegEax; in MtrrDebugPrintAllMtrrsWorker()
1344 AsmCpuid (0x80000000, &RegEax, NULL, NULL, NULL); in MtrrDebugPrintAllMtrrsWorker()
1345 if (RegEax >= 0x80000008) { in MtrrDebugPrintAllMtrrsWorker()
1346 AsmCpuid (0x80000008, &RegEax, NULL, NULL, NULL); in MtrrDebugPrintAllMtrrsWorker()
1347 Limit = LShiftU64 (1, RegEax & 0xff) - 1; in MtrrDebugPrintAllMtrrsWorker()
[all …]
/device/linaro/bootloader/edk2/OvmfPkg/PlatformPei/
DMemDetect.c140 UINT32 RegEax; in GetPeiMemoryCap() local
163 AsmCpuid (0x80000000, &RegEax, NULL, NULL, NULL); in GetPeiMemoryCap()
164 if (RegEax >= 0x80000001) { in GetPeiMemoryCap()

12