Skip to contentSkip to conversation

tcg-s390: New TCG Target.

PATCH In review Richard Henderson 2 participants 2 messages Jun 25, 2010 – Jun 26, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tcg-s390: New TCG Target.

Original patch from Ulrich Hecht, further work from Alexander Graf and Richard Henderson.

Cc Ulrich Hecht <[email protected]>
Cc Alexander Graf <[email protected]>
---
 configure             |    2 +
 tcg/s390/tcg-target.c | 2279 ++++++++++++++++++++++++++++++++++++++++++++++++-
 tcg/s390/tcg-target.h |   56 +-
 3 files changed, 2289 insertions(+), 48 deletions(-)
configure +2 -0
index 5699f4d..b68f01a 100755
@@ -733,10 +733,12 @@ case "$cpu" in
     s390)
            QEMU_CFLAGS="-m31 -march=z990 $QEMU_CFLAGS"
            LDFLAGS="-m31 $LDFLAGS"
+           host_guest_base="yes"
            ;;
     s390x)
            QEMU_CFLAGS="-m64 -march=z990 $QEMU_CFLAGS"
            LDFLAGS="-m64 $LDFLAGS"
+           host_guest_base="yes"
            ;;
     i386)
            QEMU_CFLAGS="-m32 $QEMU_CFLAGS"
tcg/s390/tcg-target.c +2254 -25

2,341 lines not on this page · raw message

tcg/s390/tcg-target.h +33 -23

87 lines not on this page · raw message

Signature · 1 line
1.5.6.5
#1 lore raw
Quoted 6 lines · Richard Henderson

Original patch from Ulrich Hecht, further work from Alexander Graf and Richard Henderson.

Cc Ulrich Hecht <[email protected]>
Cc Alexander Graf <[email protected]>

[..snip..]

tcg/s390/tcg-target.c line 35

Quoted 9 lines
tcg/s390/tcg-target.c +9 -0
+/* #define DEBUG_S390_TCG */
+
+#ifdef DEBUG_S390_TCG
+#define dprintf(fmt, ...) \
+    do { fprintf(stderr, fmt, ## __VA_ARGS__); } while (0)
+#else
+#define dprintf(fmt, ...) \
+    do { } while (0)
+#endif

dprintf must go (defined by POSIX)

[..snip..]

Signature · 1 line
mailto:[email protected]