/device/linaro/bootloader/edk2/QuarkPlatformPkg/Platform/Pei/PlatformInit/ |
MemoryCallback.c | 109 UINT32 RegEax;
225 AsmCpuid (CPUID_EXTENDED_FUNCTION, &RegEax, NULL, NULL, NULL);
226 if (RegEax >= CPUID_VIR_PHY_ADDRESS_SIZE) {
227 AsmCpuid (CPUID_VIR_PHY_ADDRESS_SIZE, &RegEax, NULL, NULL, NULL);
228 CpuAddressWidth = (UINT8) (RegEax & 0xFF);
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/CapsuleRuntimeDxe/X64/ |
SaveLongModeContext.c | 114 UINT32 RegEax;
130 AsmCpuid (0x80000000, &RegEax, NULL, NULL, NULL);
131 if (RegEax >= 0x80000001) {
|
/device/linaro/bootloader/edk2/MdePkg/Library/SmmMemLib/ |
SmmMemLib.c | 50 UINT32 RegEax;
60 AsmCpuid (0x80000000, &RegEax, NULL, NULL, NULL);
61 if (RegEax >= 0x80000008) {
62 AsmCpuid (0x80000008, &RegEax, NULL, NULL, NULL);
63 PhysicalAddressBits = (UINT8) RegEax;
|
/device/linaro/bootloader/edk2/UefiCpuPkg/CpuMpPei/ |
Microcode.c | 55 UINT32 RegEax;
78 AsmCpuid (CPUID_VERSION_INFO, &RegEax, NULL, NULL, NULL);
100 if (MicrocodeEntryPoint->ProcessorId == RegEax &&
137 if ((ExtendedTable->ProcessorSignature == RegEax) &&
176 MicrocodeInfo.ProcessorId = RegEax;
|
PeiMpServices.c | 51 UINT32 RegEax;
90 AsmCpuidEx (CPUID_EXTENDED_TOPOLOGY, 0, &RegEax, &RegEbx, &RegEcx, NULL);
105 ThreadBits = RegEax & 0x1f;
113 AsmCpuidEx (CPUID_EXTENDED_TOPOLOGY, SubIndex, &RegEax, NULL, &RegEcx, NULL);
116 CoreBits = (RegEax & 0x1f) - ThreadBits;
128 AsmCpuidEx (CPUID_CACHE_PARAMS, 0, &RegEax, NULL, NULL, NULL);
129 MaxCoresPerPackage = (RegEax >> 26) + 1;
[all...] |
/device/linaro/bootloader/edk2/MdeModulePkg/Core/DxeIplPeim/X64/ |
VirtualMemory.c | 154 UINT32 RegEax;
175 AsmCpuid (0x80000000, &RegEax, NULL, NULL, NULL);
176 if (RegEax >= 0x80000001) {
191 AsmCpuid (0x80000000, &RegEax, NULL, NULL, NULL);
192 if (RegEax >= 0x80000008) {
193 AsmCpuid (0x80000008, &RegEax, NULL, NULL, NULL);
194 PhysicalAddressBits = (UINT8) RegEax;
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/X64/ |
SetIdtEntry.c | 58 UINT32 RegEax;
62 AsmCpuid (0x80000000, &RegEax, NULL, NULL, NULL);
63 if (RegEax >= 0x80000008) {
64 AsmCpuid (0x80000008, &RegEax, NULL, NULL, NULL);
65 PhysicalAddressBits = (UINT8) RegEax;
|
/device/linaro/bootloader/edk2/OvmfPkg/PlatformPei/ |
MemDetect.c | 140 UINT32 RegEax;
163 AsmCpuid (0x80000000, &RegEax, NULL, NULL, NULL);
164 if (RegEax >= 0x80000001) {
|
/device/linaro/bootloader/edk2/UefiCpuPkg/PiSmmCpuDxeSmm/ |
CpuService.c | 48 UINT32 RegEax;
85 AsmCpuidEx (CPUID_EXTENDED_TOPOLOGY, 0, &RegEax, &RegEbx, &RegEcx, NULL);
101 ThreadBits = RegEax & 0x1f;
115 AsmCpuidEx (CPUID_EXTENDED_TOPOLOGY, SubIndex, &RegEax, NULL, &RegEcx, NULL);
118 CoreBits = (RegEax & 0x1f) - ThreadBits;
130 AsmCpuidEx (CPUID_CACHE_PARAMS, 0, &RegEax, NULL, NULL, NULL);
131 MaxCoresPerPackage = (RegEax >> 26) + 1;
|
PiSmmCpuDxeSmm.c | 772 UINT32 RegEax;
916 AsmCpuid (CPUID_VERSION_INFO, &RegEax, NULL, NULL, NULL);
917 FamilyId = (RegEax >> 8) & 0xf;
918 ModelId = (RegEax >> 4) & 0xf;
920 ModelId = ModelId | ((RegEax >> 12) & 0xf0);
924 AsmCpuid (CPUID_EXTENDED_FUNCTION, &RegEax, NULL, NULL, NULL);
925 if (RegEax >= CPUID_EXTENDED_CPU_SIG) {
[all...] |
/device/linaro/bootloader/edk2/CorebootModulePkg/CbSupportPei/ |
CbSupportPei.c | 162 UINT32 RegEax;
298 AsmCpuid (0x80000000, &RegEax, NULL, NULL, NULL);
299 if (RegEax >= 0x80000008) {
300 AsmCpuid (0x80000008, &RegEax, NULL, NULL, NULL);
301 PhysicalAddressBits = (UINT8) RegEax;
|
/device/linaro/bootloader/edk2/MdeModulePkg/Core/DxeIplPeim/Ia32/ |
DxeLoadFunc.c | 157 UINT32 RegEax;
162 AsmCpuid (0x0, &RegEax, NULL, NULL, NULL);
163 if (RegEax >= 0x1) {
185 UINT32 RegEax;
190 AsmCpuid (0x80000000, &RegEax, NULL, NULL, NULL);
191 if (RegEax >= 0x80000001) {
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/ |
ScriptExecute.c | 403 UINT32 RegEax;
430 AsmCpuid (0x80000000, &RegEax, NULL, NULL, NULL);
431 if (RegEax >= 0x80000001) {
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/CapsulePei/X64/ |
X64Entry.c | 67 UINT32 RegEax;
71 AsmCpuid (0x80000000, &RegEax, NULL, NULL, NULL);
72 if (RegEax >= 0x80000008) {
73 AsmCpuid (0x80000008, &RegEax, NULL, NULL, NULL);
74 PhysicalAddressBits = (UINT8) RegEax;
|
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Universal/Acpi/AcpiS3SaveDxe/ |
AcpiS3Save.c | 366 UINT32 RegEax;
378 AsmCpuid (0x80000000, &RegEax, NULL, NULL, NULL);
379 if (RegEax >= 0x80000001) {
394 AsmCpuid (0x80000000, &RegEax, NULL, NULL, NULL);
395 if (RegEax >= 0x80000008) {
396 AsmCpuid (0x80000008, &RegEax, NULL, NULL, NULL);
397 PhysicalAddressBits = (UINT8) RegEax;
|
/device/linaro/bootloader/edk2/OvmfPkg/AcpiS3SaveDxe/ |
AcpiS3Save.c | 300 UINT32 RegEax;
312 AsmCpuid (0x80000000, &RegEax, NULL, NULL, NULL);
313 if (RegEax >= 0x80000001) {
328 AsmCpuid (0x80000000, &RegEax, NULL, NULL, NULL);
329 if (RegEax >= 0x80000008) {
330 AsmCpuid (0x80000008, &RegEax, NULL, NULL, NULL);
331 PhysicalAddressBits = (UINT8) RegEax;
|
/device/linaro/bootloader/edk2/UefiCpuPkg/CpuDxe/ |
CpuDxe.c | 448 UINT32 RegEax;
451 AsmCpuid (0x80000000, &RegEax, NULL, NULL, NULL);
453 if (RegEax >= 0x80000008) {
454 AsmCpuid (0x80000008, &RegEax, NULL, NULL, NULL);
456 PhysicalAddressBits = (UINT8) RegEax;
|
ApStartup.c | 337 UINT32 RegEax;
343 AsmCpuid (0x80000000, &RegEax, NULL, NULL, NULL);
344 if (RegEax >= 0x80000001) {
|
/device/linaro/bootloader/edk2/UefiCpuPkg/Library/BaseXApicLib/ |
BaseXApicLib.c | 43 UINT32 RegEax;
46 AsmCpuid (1, &RegEax, NULL, NULL, NULL);
47 FamilyId = BitFieldRead32 (RegEax, 8, 11);
|
/device/linaro/bootloader/edk2/UefiCpuPkg/Library/BaseXApicX2ApicLib/ |
BaseXApicX2ApicLib.c | 44 UINT32 RegEax;
47 AsmCpuid (1, &RegEax, NULL, NULL, NULL);
48 FamilyId = BitFieldRead32 (RegEax, 8, 11);
|
/device/linaro/bootloader/edk2/UefiCpuPkg/Library/SmmCpuFeaturesLib/ |
SmmCpuFeaturesLib.c | 86 UINT32 RegEax;
94 AsmCpuid (CPUID_VERSION_INFO, &RegEax, NULL, NULL, &RegEdx);
95 FamilyId = (RegEax >> 8) & 0xf;
96 ModelId = (RegEax >> 4) & 0xf;
98 ModelId = ModelId | ((RegEax >> 12) & 0xf0);
157 AsmCpuid (CPUID_EXTENDED_FUNCTION, &RegEax, NULL, NULL, NULL);
158 if (RegEax >= CPUID_EXTENDED_CPU_SIG) {
209 UINT32 RegEax;
256 AsmCpuid (CPUID_VERSION_INFO, &RegEax, NULL, NULL, &RegEdx);
257 FamilyId = (RegEax >> 8) & 0xf; [all...] |
/device/linaro/bootloader/edk2/UefiCpuPkg/PiSmmCpuDxeSmm/X64/ |
PageTbl.c | 35 UINT32 RegEax;
38 AsmCpuid (0x80000000, &RegEax, NULL, NULL, NULL);
39 if (RegEax >= 0x80000001) {
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Dxe/Include/Ia32/ |
CpuFuncs.h | 126 UINT32 RegEax;
178 IN UINT32 RegEax,
189 RegEax -The input value to put into register EAX
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Dxe/Include/X64/ |
CpuFuncs.h | 128 UINT32 RegEax;
180 IN UINT32 RegEax,
191 RegEax -The input value to put into register EAX
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/CapsulePei/ |
UefiCapsule.c | 56 UINT32 RegEax;
62 AsmCpuid (0x80000000, &RegEax, NULL, NULL, NULL);
63 if (RegEax >= 0x80000001) {
[all...] |