Patchwork [12/12] tci: Support INDEX_op_bswap64_i64

login
register
mail settings
Submitter Stefan Hajnoczi
Date June 22, 2012, 9:40 a.m.
Message ID <1340358009-16033-13-git-send-email-stefanha@linux.vnet.ibm.com>
Download mbox | patch
Permalink /patch/166565/
State New
Headers show

Comments

Stefan Hajnoczi - June 22, 2012, 9:40 a.m.
From: Stefan Weil <sw@weilnetz.de>

Running the Windows 7 (64 bit) boot process needs INDEX_op_bswap64_i64.
It was already implemented, but untested. Remove the TODO() statement.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
---
 tci.c |    1 -
 1 file changed, 1 deletion(-)

Patch

diff --git a/tci.c b/tci.c
index a412a4e..c79350d 100644
--- a/tci.c
+++ b/tci.c
@@ -1014,7 +1014,6 @@  tcg_target_ulong tcg_qemu_tb_exec(CPUArchState *cpustate, uint8_t *tb_ptr)
 #endif
 #if TCG_TARGET_HAS_bswap64_i64
         case INDEX_op_bswap64_i64:
-            TODO();
             t0 = *tb_ptr++;
             t1 = tci_read_r64(&tb_ptr);
             tci_write_reg64(t0, bswap64(t1));