Signed-off-by: Tadas Slotkus <devtadas(a)gmail.com>
---
payloads/libpayload/drivers/serial.c | 2 +-
payloads/libpayload/include/libpayload.h | 1 +
payloads/libpayload/lib/libpayload.ldscript | 4 ++--
3 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/payloads/libpayload/drivers/serial.c b/payloads/libpayload/drivers/serial.c
index 0674ec8..9ee9051 100644
--- a/payloads/libpayload/drivers/serial.c
+++ b/payloads/libpayload/drivers/serial.c
@@ -195,7 +195,7 @@ int serial_getchar(void)
/* A vt100 doesn't do color, setaf/setab below are from xterm-color. */
#define VT100_SET_COLOR "\e[3%d;4%dm"
-static void serial_putcmd(char *str)
+void serial_putcmd(char *str)
{
while(*str)
serial_putchar(*(str++));
diff --git a/payloads/libpayload/include/libpayload.h b/payloads/libpayload/include/libpayload.h
index 74fb79a..3564898 100644
--- a/payloads/libpayload/include/libpayload.h
+++ b/payloads/libpayload/include/libpayload.h
@@ -154,6 +154,7 @@ int keyboard_set_layout(char *country);
*/
void serial_init(void);
void serial_putchar(unsigned int c);
+void serial_putcmd(char *str);
int serial_havechar(void);
int serial_getchar(void);
void serial_clear(void);
diff --git a/payloads/libpayload/lib/libpayload.ldscript b/payloads/libpayload/lib/libpayload.ldscript
index 830a390..68c9079 100644
--- a/payloads/libpayload/lib/libpayload.ldscript
+++ b/payloads/libpayload/lib/libpayload.ldscript
@@ -34,8 +34,8 @@ OUTPUT_ARCH(i386)
ENTRY(_entry)
-HEAP_SIZE = 16384;
-STACK_SIZE = 16384;
+HEAP_SIZE = 816384;
+STACK_SIZE = 216384;
SECTIONS
{
--
1.7.0.4