Commit c4c7e3e61008134419036d830e047e2c649edfea
1 parent
b516f85c
ppc code gen size fix
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@554 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
2 additions
and
2 deletions
exec-all.h
@@ -106,7 +106,7 @@ int tlb_set_page(CPUState *env, uint32_t vaddr, uint32_t paddr, int prot, | @@ -106,7 +106,7 @@ int tlb_set_page(CPUState *env, uint32_t vaddr, uint32_t paddr, int prot, | ||
106 | /* maximum total translate dcode allocated */ | 106 | /* maximum total translate dcode allocated */ |
107 | 107 | ||
108 | /* NOTE: the translated code area cannot be too big because on some | 108 | /* NOTE: the translated code area cannot be too big because on some |
109 | - archs the range of "fast" function calls are limited. Here is a | 109 | + archs the range of "fast" function calls is limited. Here is a |
110 | summary of the ranges: | 110 | summary of the ranges: |
111 | 111 | ||
112 | i386 : signed 32 bits | 112 | i386 : signed 32 bits |
@@ -119,7 +119,7 @@ int tlb_set_page(CPUState *env, uint32_t vaddr, uint32_t paddr, int prot, | @@ -119,7 +119,7 @@ int tlb_set_page(CPUState *env, uint32_t vaddr, uint32_t paddr, int prot, | ||
119 | #if defined(__alpha__) | 119 | #if defined(__alpha__) |
120 | #define CODE_GEN_BUFFER_SIZE (2 * 1024 * 1024) | 120 | #define CODE_GEN_BUFFER_SIZE (2 * 1024 * 1024) |
121 | #elif defined(__powerpc__) | 121 | #elif defined(__powerpc__) |
122 | -#define CODE_GEN_BUFFER_SIZE (6 * 1024) | 122 | +#define CODE_GEN_BUFFER_SIZE (6 * 1024 * 1024) |
123 | #else | 123 | #else |
124 | #define CODE_GEN_BUFFER_SIZE (8 * 1024 * 1024) | 124 | #define CODE_GEN_BUFFER_SIZE (8 * 1024 * 1024) |
125 | #endif | 125 | #endif |