This commit is contained in:
parent
dd6c94e3e4
commit
bfd58fff59
@ -8,14 +8,14 @@ Index: biosdevname-0.6.1/src/bios_dev_name.c
|
||||
asm volatile (
|
||||
- "xor %%ebx, %%ebx; cpuid"
|
||||
+#ifdef __x86_64__
|
||||
+ "push %%rbx\n"
|
||||
+ "pushl %%rbx\n"
|
||||
+#else
|
||||
+ "push %%ebx\n"
|
||||
+#endif
|
||||
+ "xor %%ebx, %%ebx\n"
|
||||
+ "cpuid\n"
|
||||
+#ifdef __x86_64__
|
||||
+ "pop %%rbx\n"
|
||||
+ "popl %%rbx\n"
|
||||
+#else
|
||||
+ "pop %%ebx\n"
|
||||
+#endif
|
||||
|
Loading…
Reference in New Issue
Block a user