diff options
author | pbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-05-24 22:29:16 +0000 |
---|---|---|
committer | pbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-05-24 22:29:16 +0000 |
commit | e1f3808e03f73e7a7fa966afbed2455dd052202e (patch) | |
tree | c827e7f3e940e96f3c0da44aeec1a481e5401233 /target-m68k/cpu.h | |
parent | 3979144c49d62d23c4a31a07cf8282217ed3dde3 (diff) |
Convert m68k target to TCG.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4565 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-m68k/cpu.h')
-rw-r--r-- | target-m68k/cpu.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/target-m68k/cpu.h b/target-m68k/cpu.h index 732929bfa0..e8e3381173 100644 --- a/target-m68k/cpu.h +++ b/target-m68k/cpu.h @@ -108,7 +108,7 @@ typedef struct CPUM68KState { int exception_index; int interrupt_request; int user_mode_only; - int halted; + uint32_t halted; int pending_vector; int pending_level; @@ -120,6 +120,7 @@ typedef struct CPUM68KState { uint32_t features; } CPUM68KState; +void m68k_tcg_init(void); CPUM68KState *cpu_m68k_init(const char *cpu_model); int cpu_m68k_exec(CPUM68KState *s); void cpu_m68k_close(CPUM68KState *s); @@ -141,9 +142,7 @@ enum { CC_OP_CMPW, /* CC_DEST = result, CC_SRC = source */ CC_OP_ADDX, /* CC_DEST = result, CC_SRC = source */ CC_OP_SUBX, /* CC_DEST = result, CC_SRC = source */ - CC_OP_SHL, /* CC_DEST = source, CC_SRC = shift */ - CC_OP_SHR, /* CC_DEST = source, CC_SRC = shift */ - CC_OP_SAR, /* CC_DEST = source, CC_SRC = shift */ + CC_OP_SHIFT, /* CC_DEST = result, CC_SRC = carry */ }; #define CCF_C 0x01 |