qemu: upgrade to 2.0.0

- switched to ${BP} variable.
- updated download link;
- fxrstorssefix.patch no longer needed, superseded;

(From OE-Core rev: b6f6e389b68468266926856bd318c245696ea932)

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Cristian Iorga
2014-04-02 12:41:26 +03:00
committed by Richard Purdie
parent 79ac26cc57
commit 7b0e38b2f5
2 changed files with 4 additions and 36 deletions

View File

@@ -1,31 +0,0 @@
When we restore the mxcsr resgister with FXRSTOR, we need to update the various SSE
flag files by calling update_sse_status() else we're using the flags from some other
process with interesting results.
The code isn't ordered to make this easy hence the function declaration.
Upstream-Status: Pending
RP 2013/9/30
Index: qemu-1.5.0/target-i386/fpu_helper.c
===================================================================
--- qemu-1.5.0.orig/target-i386/fpu_helper.c 2013-09-30 18:46:39.283377648 +0000
+++ qemu-1.5.0/target-i386/fpu_helper.c 2013-09-30 18:46:56.895377232 +0000
@@ -1149,6 +1149,8 @@
}
}
+static void update_sse_status(CPUX86State *env);
+
void helper_fxrstor(CPUX86State *env, target_ulong ptr, int data64)
{
int i, fpus, fptag, nb_xmm_regs;
@@ -1180,6 +1182,7 @@
if (env->cr[4] & CR4_OSFXSR_MASK) {
/* XXX: finish it */
env->mxcsr = cpu_ldl_data(env, ptr + 0x18);
+ update_sse_status(env);
/* cpu_ldl_data(env, ptr + 0x1c); */
if (env->hflags & HF_CS64_MASK) {
nb_xmm_regs = 16;

View File

@@ -3,13 +3,12 @@ require qemu.inc
LIC_FILES_CHKSUM = "file://COPYING;md5=441c28d2cf86e15a37fa47e15a72fbac \
file://COPYING.LIB;endline=24;md5=c04def7ae38850e7d3ef548588159913"
SRC_URI += "file://fxrstorssefix.patch \
file://qemu-enlarge-env-entry-size.patch \
SRC_URI += "file://qemu-enlarge-env-entry-size.patch \
file://Qemu-Arm-versatilepb-Add-memory-size-checking.patch"
SRC_URI_prepend = "http://wiki.qemu.org/download/qemu-${PV}.tar.bz2"
SRC_URI[md5sum] = "32893941d40d052a5e649efcf06aca06"
SRC_URI[sha256sum] = "31f333a85f2d14c605a77679904a9668eaeb1b6dc7da53a1665230f46bc21314"
SRC_URI_prepend = "http://wiki.qemu-project.org/download/${BP}.tar.bz2"
SRC_URI[md5sum] = "2790f44fd76da5de5024b4aafeb594c2"
SRC_URI[sha256sum] = "60cc1aa0cad39cec891f970bed60ca8a484f071adad4943123599ac223543a3b"
COMPATIBLE_HOST_class-target_mips64 = "null"