qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] Fix (Was: segfault in current cvs)


From: Renzo Davoli
Subject: [Qemu-devel] Fix (Was: segfault in current cvs)
Date: Wed, 14 Jan 2004 17:57:29 +0100
User-agent: Mutt/1.3.28i

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]