diff options
author | Richard Henderson <rth@twiddle.net> | 2015-08-14 07:59:17 -0700 |
---|---|---|
committer | Laurent Vivier <laurent@vivier.eu> | 2016-10-25 20:54:47 +0200 |
commit | 99c514485b1d7922c4ca1ed767fd45525de4701f (patch) | |
tree | 0c7c7b24892bd625a4a883b859f953957001fd8e /target-m68k/cpu.h | |
parent | 8e394ccabdb1e439aab092de6b9d2f26432e962f (diff) | |
download | qemu-99c514485b1d7922c4ca1ed767fd45525de4701f.zip qemu-99c514485b1d7922c4ca1ed767fd45525de4701f.tar.gz qemu-99c514485b1d7922c4ca1ed767fd45525de4701f.tar.bz2 |
target-m68k: Some fixes to SR and flags management
Signed-off-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'target-m68k/cpu.h')
-rw-r--r-- | target-m68k/cpu.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/target-m68k/cpu.h b/target-m68k/cpu.h index 2f08a2c..c0de978 100644 --- a/target-m68k/cpu.h +++ b/target-m68k/cpu.h @@ -158,7 +158,8 @@ M68kCPU *cpu_m68k_init(const char *cpu_model); is returned if the signal was handled by the virtual CPU. */ int cpu_m68k_signal_handler(int host_signum, void *pinfo, void *puc); -uint32_t cpu_m68k_flush_flags(CPUM68KState *env, int op); +uint32_t cpu_m68k_get_ccr(CPUM68KState *env); +void cpu_m68k_set_ccr(CPUM68KState *env, uint32_t); /* Instead of computing the condition codes after each m68k instruction, |