[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH] Fix call_pal() prototype for alpha system emulation
From: |
Hervé Poussineau |
Subject: |
[Qemu-devel] [PATCH] Fix call_pal() prototype for alpha system emulation |
Date: |
Sat, 16 Aug 2008 18:08:28 +0200 |
User-agent: |
Thunderbird 2.0.0.16 (Windows/20080708) |
Hi,
- Fix call_pal() function prototype which is different depending of
CONFIG_USER_ONLY.
- Add cpu_reset() function, required for system emulation
Hervé
Index: target-alpha/cpu.h
===================================================================
--- target-alpha/cpu.h (revision 5013)
+++ target-alpha/cpu.h (working copy)
@@ -411,7 +411,11 @@
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
Index: target-alpha/translate.c
===================================================================
--- target-alpha/translate.c (revision 5013)
+++ target-alpha/translate.c (working copy)
@@ -2138,6 +2138,10 @@
return env;
}
+void cpu_reset (CPUAlphaState *env)
+{
+}
+
void gen_pc_load(CPUState *env, TranslationBlock *tb,
unsigned long searched_pc, int pc_pos, void *puc)
{
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-devel] [PATCH] Fix call_pal() prototype for alpha system emulation,
Hervé Poussineau <=