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

Collapse All | Expand All

(-)qemu/target-i386/helper.c.orig (+10 lines)
Lines 18-23 Link Here
18
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
18
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
19
 */
19
 */
20
#include "exec.h"
20
#include "exec.h"
21
#include "stdlib.h"
21
#ifdef USE_KVM
22
#ifdef USE_KVM
22
extern int kvm_allowed;
23
extern int kvm_allowed;
23
#endif
24
#endif
Lines 1594-1599 Link Here
1594
    EDX = (uint32_t)r;
1595
    EDX = (uint32_t)r;
1595
}
1596
}
1596
1597
1598
/* GCC 4 has a hard time with this helper */
1599
1600
#ifndef CONFIG_KVM
1597
void helper_cmpxchg8b(void)
1601
void helper_cmpxchg8b(void)
1598
{
1602
{
1599
    uint64_t d;
1603
    uint64_t d;
Lines 1611-1616 Link Here
1611
    }
1615
    }
1612
    CC_SRC = eflags;
1616
    CC_SRC = eflags;
1613
}
1617
}
1618
#endif
1614
1619
1615
void helper_cpuid(void)
1620
void helper_cpuid(void)
1616
{
1621
{
Lines 2968-2973 Link Here
2968
    CC_SRC = eflags | CC_Z;
2973
    CC_SRC = eflags | CC_Z;
2969
}
2974
}
2970
2975
2976
/* GCC 4 has a hard time with the FPU helpers */
2977
#ifndef CONFIG_KVM
2978
2979
2971
/* FPU helpers */
2980
/* FPU helpers */
2972
2981
2973
void helper_fldt_ST0_A0(void)
2982
void helper_fldt_ST0_A0(void)
Lines 3485-3490 Link Here
3485
        }
3494
        }
3486
    }
3495
    }
3487
}
3496
}
3497
#endif
3488
3498
3489
#ifndef USE_X86LDOUBLE
3499
#ifndef USE_X86LDOUBLE
3490
3500

Return to bug 157987