diff options
author | Laurent Vivier <laurent@vivier.eu> | 2018-01-04 02:29:02 +0100 |
---|---|---|
committer | Laurent Vivier <laurent@vivier.eu> | 2018-01-04 17:22:36 +0100 |
commit | d2f8fb8e7f8e7d082103d705e178c9f72e0bea77 (patch) | |
tree | b5974f8df40f7effc6d5832b29e6373f7b0f24e4 /target/m68k/cpu.h | |
parent | 5beb144e04f44772804ac8405b6a54a17fe78909 (diff) | |
download | qemu-d2f8fb8e7f8e7d082103d705e178c9f72e0bea77.zip qemu-d2f8fb8e7f8e7d082103d705e178c9f72e0bea77.tar.gz qemu-d2f8fb8e7f8e7d082103d705e178c9f72e0bea77.tar.bz2 |
target/m68k: manage 680x0 stack frames
680x0 manages several stack frame formats:
- format 0: four-word stack frame
- format 1: four-word throwaway stack frame
- format 2: six-word stack frame
- format 3: Floating-Point post-instruction stack frame
- format 4: eight-word stack frame
- format 7: access-error stack frame
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20180104012913.30763-7-laurent@vivier.eu>
Diffstat (limited to 'target/m68k/cpu.h')
-rw-r--r-- | target/m68k/cpu.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/target/m68k/cpu.h b/target/m68k/cpu.h index acc2629..cd4b3a7 100644 --- a/target/m68k/cpu.h +++ b/target/m68k/cpu.h @@ -178,6 +178,7 @@ int cpu_m68k_signal_handler(int host_signum, void *pinfo, void *puc); uint32_t cpu_m68k_get_ccr(CPUM68KState *env); void cpu_m68k_set_ccr(CPUM68KState *env, uint32_t); +void cpu_m68k_set_sr(CPUM68KState *env, uint32_t); void cpu_m68k_set_fpcr(CPUM68KState *env, uint32_t val); |