tcg-arm: fix a typo in comments
PATCH 1/1 tcg-arm: fix a typo in comments
ARM still doesn't support 16GB buffers in 32-bit modes, replace the 16GB by 16MB in the comment.
Signed-off-by Aurelien Jarno <[email protected]>
--- exec.c | 2 +- tcg/arm/tcg-target.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
exec.c +1 -1
@@ -511,7 +511,7 @@ static void code_gen_alloc(unsigned long tb_size)if (code_gen_buffer_size > (512 *1024 *1024 )) code_gen_buffer_size = (512 *1024 *1024 );#elif defined(__arm__) -/* Keep the buffer no bigger than 16GB to branch between blocks */ +/* Keep the buffer no bigger than 16MB to branch between blocks */ if (code_gen_buffer_size >16 *1024 *1024 ) code_gen_buffer_size =16 *1024 *1024 ;#elif defined(__s390x__)
tcg/arm/tcg-target.c +1 -1
@@ -843,7 +843,7 @@ static inline void tcg_out_st8(TCGContext *s, int cond, }/* The _goto case is normally between TBs within the same code buffer, -* and with the code buffer limited to 16GB we shouldn't need the long +* and with the code buffer limited to 16MB we shouldn't need the long * case. * * .... except to the prologue that is in its own buffer.
Signature · 1 line
1.7.7.3
Quoted 4 lines · Aurelien Jarno
ARM still doesn't support 16GB buffers in 32-bit modes, replace the 16GB by 16MB in the comment.
Signed-off-by Aurelien Jarno <[email protected]>
Reviewed-by Peter Maydell <[email protected]>
-- PMM
Stefan Hajnoczi
AppliedQuoted 8 lines · Aurelien Jarno
ARM still doesn't support 16GB buffers in 32-bit modes, replace the 16GB by 16MB in the comment.
Signed-off-by Aurelien Jarno <[email protected]>--- exec.c | 2 +- tcg/arm/tcg-target.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
Thanks, applied to the trivial patches tree:
https://github.com/stefanha/qemu/commits/trivial-patches
Stefan