forked from pool/biosdevname
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 (
|
asm volatile (
|
||||||
- "xor %%ebx, %%ebx; cpuid"
|
- "xor %%ebx, %%ebx; cpuid"
|
||||||
+ "pushl %%ebx\n"
|
+ "push %%ebx\n"
|
||||||
+ "xor %%ebx, %%ebx\n"
|
+ "xor %%ebx, %%ebx\n"
|
||||||
+ "cpuid\n"
|
+ "cpuid\n"
|
||||||
+ "popl %%ebx\n"
|
+ "pop %%ebx\n"
|
||||||
: "=a" (eax), "=c" (ecx)
|
: "=a" (eax), "=c" (ecx)
|
||||||
: "a" (eax)
|
: "a" (eax)
|
||||||
- : "%ebx", "%edx");
|
- : "%ebx", "%edx");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user