qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] Fix (Was: segfault in current cvs)
@ 2004-01-14 16:57 Renzo Davoli
  2004-01-14 17:10 ` [Qemu-devel] " Renzo Davoli
  0 siblings, 1 reply; 4+ messages in thread
From: Renzo Davoli @ 2004-01-14 16:57 UTC (permalink / raw)
  To: qemu-devel

The fix for the problem on ppc is:

in exec-all.h:

#if defined(__alpha__)
#define CODE_GEN_BUFFER_SIZE     (2 * 1024 * 1024)
#elif defined(__powerpc__)
//#define CODE_GEN_BUFFER_SIZE     (6 * 1024)   This is the value in the CVS
#define CODE_GEN_BUFFER_SIZE     (6 * 1024 * 1024) //This sounds better!
#else
#define CODE_GEN_BUFFER_SIZE     (8 * 1024 * 1024)
#endif

Otherwise in exec.c CODE_GEN_BUFFER_MAX_SIZE becomes negative and all
the tb_alloc code get mad!

I hope this helps.

ciao
	renzo

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-01-15 20:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-01-14 16:57 [Qemu-devel] Fix (Was: segfault in current cvs) Renzo Davoli
2004-01-14 17:10 ` [Qemu-devel] " Renzo Davoli
2004-01-15 10:26   ` Fabrice Bellard
2004-01-15 16:56     ` Renzo Davoli

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