Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 447716 | Differences between
and this patch

Collapse All | Expand All

(-)xen-4.2.0/tools/tests/x86_emulator/test_x86_emulator.c.orig (-1 / +4 lines)
Lines 62-68 Link Here
62
    unsigned int *edx,
62
    unsigned int *edx,
63
    struct x86_emulate_ctxt *ctxt)
63
    struct x86_emulate_ctxt *ctxt)
64
{
64
{
65
    asm ("cpuid" : "+a" (*eax), "+c" (*ecx), "=d" (*edx), "=b" (*ebx));
65
    asm ("pushl %%ebx    \n\t"
66
         "cpuid          \n\t"
67
         "movl %%ebx, %3 \n\t"
68
         "popl %%ebx" : "+a" (*eax), "+c" (*ecx), "=d" (*edx), "=r" (*ebx));
66
    return X86EMUL_OKAY;
69
    return X86EMUL_OKAY;
67
}
70
}
68
71

Return to bug 447716