qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] Compilation on FC3 x86_64 host; sparc target fix
@ 2005-02-12 14:43 Bob Deblier
  0 siblings, 0 replies; only message in thread
From: Bob Deblier @ 2005-02-12 14:43 UTC (permalink / raw)
  To: Qemu-devel

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-02-12 15:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-02-12 14:43 [Qemu-devel] Compilation on FC3 x86_64 host; sparc target fix Bob Deblier

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