All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Hervé Poussineau" <hpoussin@reactos.org>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] [PATCH] Fix call_pal() prototype for alpha system emulation
Date: Sat, 16 Aug 2008 18:08:28 +0200	[thread overview]
Message-ID: <48A6FB7C.60904@reactos.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 163 bytes --]

Hi,

- Fix call_pal() function prototype which is different depending of
CONFIG_USER_ONLY.
- Add cpu_reset() function, required for system emulation

Hervé

[-- Attachment #2: alpha.diff --]
[-- Type: text/plain, Size: 925 bytes --]

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)
 {

             reply	other threads:[~2008-08-16 16:08 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-16 16:08 Hervé Poussineau [this message]
2008-09-02  0:11 ` [Qemu-devel] [PATCH] Fix call_pal() prototype for alpha system emulation Aurelien Jarno
2008-09-02  8:11   ` Laurent Desnogues

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=48A6FB7C.60904@reactos.org \
    --to=hpoussin@reactos.org \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.