target-m68k: Print flags properly

Backports commit 8e394ccabdb1e439aab092de6b9d2f26432e962f from qemu
This commit is contained in:
Richard Henderson 2018-02-27 09:17:13 -05:00 committed by Lioncash
parent 57ea90a91f
commit 9493b29399
No known key found for this signature in database
GPG key ID: 4E3C3CC1031BA9C7
2 changed files with 2 additions and 1 deletions

View file

@ -163,6 +163,7 @@ int cpu_m68k_exec(struct uc_struct *uc, CPUState *cpu);
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);
typedef enum {
CC_OP_DYNAMIC, /* Use env->cc_op */

View file

@ -46,7 +46,7 @@ M68kCPU *cpu_m68k_init(struct uc_struct *uc, const char *cpu_model)
return cpu;
}
static uint32_t cpu_m68k_flush_flags(CPUM68KState *env, int op)
uint32_t cpu_m68k_flush_flags(CPUM68KState *env, int op)
{
int flags;
uint32_t src;