Commit 7c9bde456972804fe56cbd78fc7e776effe4baac
1 parent
9669d3c5
Fix call_pal() prototype for alpha system emulation
(Hervé Poussineau) git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5131 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
4 additions
and
0 deletions
target-alpha/cpu.h
... | ... | @@ -411,7 +411,11 @@ int cpu_alpha_mfpr (CPUState *env, int iprn, uint64_t *valp); |
411 | 411 | int cpu_alpha_mtpr (CPUState *env, int iprn, uint64_t val, uint64_t *oldvalp); |
412 | 412 | void cpu_loop_exit (void); |
413 | 413 | void pal_init (CPUState *env); |
414 | +#if !defined (CONFIG_USER_ONLY) | |
415 | +void call_pal (CPUState *env); | |
416 | +#else | |
414 | 417 | void call_pal (CPUState *env, int palcode); |
418 | +#endif | |
415 | 419 | |
416 | 420 | #define CPU_PC_FROM_TB(env, tb) env->pc = tb->pc |
417 | 421 | ... | ... |