Code formatting
All checks were successful
ci/woodpecker/push/build Pipeline was successful

This commit is contained in:
Rafal Kupiec 2023-01-05 22:45:52 +01:00
parent 2920c1042a
commit f2b51ff69c
Signed by: belliash
GPG Key ID: 4E829243E0CFE6B4
2 changed files with 26 additions and 22 deletions

View File

@ -43,7 +43,9 @@ HlCpuId(IN OUT PCPUID_REGISTERS Registers)
asm volatile("cpuid"
: "=a" (MaxLeaf)
: "a" (Registers->Leaf & 0x80000000)
: "rbx", "rcx", "rdx");
: "rbx",
"rcx",
"rdx");
/* Check if CPU supports this command */
if(Registers->Leaf > MaxLeaf)

View File

@ -43,7 +43,9 @@ HlCpuId(IN OUT PCPUID_REGISTERS Registers)
asm volatile("cpuid"
: "=a" (MaxLeaf)
: "a" (Registers->Leaf & 0x80000000)
: "rbx", "rcx", "rdx");
: "rbx",
"rcx",
"rdx");
/* Check if CPU supports this command */
if(Registers->Leaf > MaxLeaf)