This commit is contained in:
parent
c8f2e33f57
commit
4e71b2b789
@ -7,10 +7,10 @@ Index: biosdevname-0.5.0/src/bios_dev_name.c
|
||||
{
|
||||
asm volatile (
|
||||
- "xor %%ebx, %%ebx; cpuid"
|
||||
+ "pushl %%ebx\n"
|
||||
+ "push %%ebx\n"
|
||||
+ "xor %%ebx, %%ebx\n"
|
||||
+ "cpuid\n"
|
||||
+ "popl %%ebx\n"
|
||||
+ "pop %%ebx\n"
|
||||
: "=a" (eax), "=c" (ecx)
|
||||
: "a" (eax)
|
||||
- : "%ebx", "%edx");
|
||||
|
Loading…
Reference in New Issue
Block a user