forked from xt-sys/exectos
Code formatting
This commit is contained in:
parent
2920c1042a
commit
f2b51ff69c
@ -43,7 +43,9 @@ HlCpuId(IN OUT PCPUID_REGISTERS Registers)
|
|||||||
asm volatile("cpuid"
|
asm volatile("cpuid"
|
||||||
: "=a" (MaxLeaf)
|
: "=a" (MaxLeaf)
|
||||||
: "a" (Registers->Leaf & 0x80000000)
|
: "a" (Registers->Leaf & 0x80000000)
|
||||||
: "rbx", "rcx", "rdx");
|
: "rbx",
|
||||||
|
"rcx",
|
||||||
|
"rdx");
|
||||||
|
|
||||||
/* Check if CPU supports this command */
|
/* Check if CPU supports this command */
|
||||||
if(Registers->Leaf > MaxLeaf)
|
if(Registers->Leaf > MaxLeaf)
|
||||||
|
@ -43,7 +43,9 @@ HlCpuId(IN OUT PCPUID_REGISTERS Registers)
|
|||||||
asm volatile("cpuid"
|
asm volatile("cpuid"
|
||||||
: "=a" (MaxLeaf)
|
: "=a" (MaxLeaf)
|
||||||
: "a" (Registers->Leaf & 0x80000000)
|
: "a" (Registers->Leaf & 0x80000000)
|
||||||
: "rbx", "rcx", "rdx");
|
: "rbx",
|
||||||
|
"rcx",
|
||||||
|
"rdx");
|
||||||
|
|
||||||
/* Check if CPU supports this command */
|
/* Check if CPU supports this command */
|
||||||
if(Registers->Leaf > MaxLeaf)
|
if(Registers->Leaf > MaxLeaf)
|
||||||
|
Loading…
Reference in New Issue
Block a user