|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] fix bug #609 - error: PIC register `bx' clobbered in `as
# HG changeset patch
# User kaf24@xxxxxxxxxxxxxxxxxxxx
# Node ID 408f51a850f47af4db20f43f281935909d502511
# Parent 1f4ec950e186a9d3c3f90540375b3372bb68dedb
fix bug #609 - error: PIC register `bx' clobbered in `asm'
Signed-off-by: Vincent Hanquez <vincent@xxxxxxxxxxxxx>
diff -r 1f4ec950e186 -r 408f51a850f4 tools/ioemu/hw/vga.c
--- a/tools/ioemu/hw/vga.c Mon Apr 10 16:14:15 2006
+++ b/tools/ioemu/hw/vga.c Mon Apr 10 16:14:36 2006
@@ -1369,10 +1369,10 @@
{
unsigned int eax, edx;
- __asm__("cpuid"
+ __asm__("pushl %%ebx; cpuid; popl %%ebx"
: "=a" (eax), "=d" (edx)
: "0" (op)
- : "bx", "cx");
+ : "cx");
return edx;
}
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-changelog] fix bug #609 - error: PIC register `bx' clobbered in `asm',
Xen patchbot -3 . 0-testing <=
|
|
|
|
|