Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision Both sides next revision
cmd:cpuid [2012/06/06 23:28]
mcb30 created
cmd:cpuid [2012/06/06 23:29]
127.0.0.1 external edit
Line 3: Line 3:
 ===== Synopsis ===== ===== Synopsis =====
  
-    ​ifx86 [--amd] [--ecx] <bit number>+    ​cpuid [--amd] [--ecx] <bit number>
  
 ===== Examples ===== ===== Examples =====
Line 9: Line 9:
 === Check if CPU supports 64-bit operation ("long mode") === === Check if CPU supports 64-bit operation ("long mode") ===
  
-    ​ifx86 --amd 29 && set arch x86_64 || set arch i386+    ​cpuid --amd 29 && set arch x86_64 || set arch i386
  
 === Check if CPU supports physical address extensions ("​PAE"​) === === Check if CPU supports physical address extensions ("​PAE"​) ===
  
-    ​ifx86 6 && set pae yes ||+    ​cpuid 6 && set pae yes ||
  
 === Check if CPU supports hardware virtualisation === === Check if CPU supports hardware virtualisation ===
  
-    ​ifx86 --ecx 5 && set vmx yes || +    ​cpuid --ecx 5 && set vmx yes || 
-    ​ifx86 --amd --ecx 2 && set svm yes ||+    ​cpuid --amd --ecx 2 && set svm yes ||
     isset ${vmx} || isset ${svm} && set hw_virt yes ||     isset ${vmx} || isset ${svm} && set hw_virt yes ||
  
Line 28: Line 28:
  
 ^ Feature set  ^ Register ​ ^ Bit  ^ Feature ​ ^ Command ​ | ^ Feature set  ^ Register ​ ^ Bit  ^ Feature ​ ^ Command ​ |
-| AMD    | ''​%%%edx%%'' ​ | 29  ^ Long mode (64-bit) ​ | ''​%%ifx86 --amd 29%%'' ​ | +| AMD    | ''​%%%edx%%'' ​ | 29  ^ Long mode (64-bit) ​ | ''​%%cpuid --amd 29%%'' ​ | 
-| Intel  | ''​%%%edx%%'' ​ | 6   ^ Physical address extensions (PAE)  | ''​%%ifx86 6%%'' ​ | +| Intel  | ''​%%%edx%%'' ​ | 6   ^ Physical address extensions (PAE)  | ''​%%cpuid 6%%'' ​ | 
-| Intel  | ''​%%%ecx%%'' ​ | 5   ^ Virtual Machine Extensions (VMX)  | ''​%%ifx86 --ecx 5%%'' ​ | +| Intel  | ''​%%%ecx%%'' ​ | 5   ^ Virtual Machine Extensions (VMX)  | ''​%%cpuid --ecx 5%%'' ​ | 
-| AMD    | ''​%%%ecx%%'' ​ | 2   ^ Secure Virtual Machine (SVM)  | ''​%%ifx86 --amd --ecx 2%%'' ​ | +| AMD    | ''​%%%ecx%%'' ​ | 2   ^ Secure Virtual Machine (SVM)  | ''​%%cpuid --amd --ecx 2%%'' ​ | 
-| Intel  | ''​%%%edx%%'' ​ | 15  ^ Conditional Move (CMOV) ​ | ''​%%ifx86 15%%'' ​ |+| Intel  | ''​%%%edx%%'' ​ | 15  ^ Conditional Move (CMOV) ​ | ''​%%cpuid 15%%'' ​ |
  
 ===== Command status ===== ===== Command status =====
cmd/cpuid.txt · Last modified: 2021/02/19 14:58 by mcb30
Recent changes RSS feed CC Attribution-Share Alike 4.0 International Driven by DokuWiki
All uses of this content must include an attribution to the iPXE project and the URL https://ipxe.org
References to "iPXE" may not be altered or removed.