From: Bob Deblier <bob.deblier@telenet.be>
To: Qemu-devel@nongnu.org
Subject: [Qemu-devel] Compilation on FC3 x86_64 host; sparc target fix
Date: Sat, 12 Feb 2005 15:43:59 +0100 [thread overview]
Message-ID: <1108219439.5532.17.camel@orion> (raw)
Enclosed a patch which allows sparc targets to be compiled; the return
type for function cpu_get_phys_page_debug didn't match the declaration.
diff -p -r1.16 translate.c
*** target-sparc/translate.c 30 Jan 2005 22:39:04 -0000 1.16
--- target-sparc/translate.c 12 Feb 2005 14:41:36 -0000
*************** void cpu_dump_state(CPUState *env, FILE
*** 1670,1676 ****
}
#if defined(CONFIG_USER_ONLY)
! target_phys_addr_t cpu_get_phys_page_debug(CPUState *env, target_ulong
addr)
{
return addr;
}
--- 1670,1676 ----
}
#if defined(CONFIG_USER_ONLY)
! target_ulong cpu_get_phys_page_debug(CPUState *env, target_ulong addr)
{
return addr;
}
*************** extern int get_physical_address (CPUStat
*** 1680,1686 ****
int *access_index, target_ulong
address, int rw,
int is_user);
! target_phys_addr_t cpu_get_phys_page_debug(CPUState *env, target_ulong
addr)
{
target_phys_addr_t phys_addr;
int prot, access_index;
--- 1680,1686 ----
int *access_index, target_ulong
address, int rw,
int is_user);
! target_ulong cpu_get_phys_page_debug(CPUState *env, target_ulong addr)
{
target_phys_addr_t phys_addr;
int prot, access_index;
Sincerely,
Bob Deblier
reply other threads:[~2005-02-12 15:05 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=1108219439.5532.17.camel@orion \
--to=bob.deblier@telenet.be \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).