diff options
author | aurel32 | 2008-09-02 02:09:35 +0200 |
---|---|---|
committer | aurel32 | 2008-09-02 02:09:35 +0200 |
commit | 7c9bde456972804fe56cbd78fc7e776effe4baac (patch) | |
tree | 8f7ada688ab5a6707a2ae6f89bc20ecf89c0283d /target-alpha/cpu.h | |
parent | x86: Fix powerdown for non-ACPI case (diff) | |
download | qemu-7c9bde456972804fe56cbd78fc7e776effe4baac.tar.gz qemu-7c9bde456972804fe56cbd78fc7e776effe4baac.tar.xz qemu-7c9bde456972804fe56cbd78fc7e776effe4baac.zip |
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
Diffstat (limited to 'target-alpha/cpu.h')
-rw-r--r-- | target-alpha/cpu.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/target-alpha/cpu.h b/target-alpha/cpu.h index 3d39888ae9..a14c6cac35 100644 --- a/target-alpha/cpu.h +++ b/target-alpha/cpu.h @@ -411,7 +411,11 @@ int cpu_alpha_mfpr (CPUState *env, int iprn, uint64_t *valp); int cpu_alpha_mtpr (CPUState *env, int iprn, uint64_t val, uint64_t *oldvalp); void cpu_loop_exit (void); void pal_init (CPUState *env); +#if !defined (CONFIG_USER_ONLY) +void call_pal (CPUState *env); +#else void call_pal (CPUState *env, int palcode); +#endif #define CPU_PC_FROM_TB(env, tb) env->pc = tb->pc |