summaryrefslogtreecommitdiff
path: root/exec-all.h
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2004-01-18 21:50:28 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2004-01-18 21:50:28 +0000
commitc4c7e3e61008134419036d830e047e2c649edfea (patch)
treeb606996e4cae204fdec5621032a9876209a92628 /exec-all.h
parentb516f85ca80008bedc3169e22652dcd710008125 (diff)
downloadqemu-c4c7e3e61008134419036d830e047e2c649edfea.tar.gz
qemu-c4c7e3e61008134419036d830e047e2c649edfea.tar.bz2
qemu-c4c7e3e61008134419036d830e047e2c649edfea.zip
ppc code gen size fix
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@554 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'exec-all.h')
-rw-r--r--exec-all.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/exec-all.h b/exec-all.h
index 7c185e5284..d78224a070 100644
--- a/exec-all.h
+++ b/exec-all.h
@@ -106,7 +106,7 @@ int tlb_set_page(CPUState *env, uint32_t vaddr, uint32_t paddr, int prot,
/* maximum total translate dcode allocated */
/* NOTE: the translated code area cannot be too big because on some
- archs the range of "fast" function calls are limited. Here is a
+ archs the range of "fast" function calls is limited. Here is a
summary of the ranges:
i386 : signed 32 bits
@@ -119,7 +119,7 @@ int tlb_set_page(CPUState *env, uint32_t vaddr, uint32_t paddr, int prot,
#if defined(__alpha__)
#define CODE_GEN_BUFFER_SIZE (2 * 1024 * 1024)
#elif defined(__powerpc__)
-#define CODE_GEN_BUFFER_SIZE (6 * 1024)
+#define CODE_GEN_BUFFER_SIZE (6 * 1024 * 1024)
#else
#define CODE_GEN_BUFFER_SIZE (8 * 1024 * 1024)
#endif