From 6ff7aff7182d16271492de6295887fbdafbe92a0 Mon Sep 17 00:00:00 2001 From: Edgaru089 Date: Mon, 11 Oct 2021 22:50:56 +0800 Subject: [PATCH] runtime: increase printf() buffer to 512 Mostly to fit the long panic message by interrupt_Handler, dumping all the registers --- runtime/stdio.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/runtime/stdio.c b/runtime/stdio.c index 51cb6bb..74a0e16 100644 --- a/runtime/stdio.c +++ b/runtime/stdio.c @@ -22,8 +22,8 @@ void _putchar(char c) { } } -int __io_WriteConsole_bufSize = 256; -UINT16 __io_WriteConsole_bufferReal[256]; +int __io_WriteConsole_bufSize = 512; +UINT16 __io_WriteConsole_bufferReal[512]; UINT16 *__io_WriteConsole_buffer = __io_WriteConsole_bufferReal; void __io_WriteConsole_ResizeBuffer(int size) {