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