From 3cbec65e0cf56eac08f826d3aa7fa618b9e7c1c9 Mon Sep 17 00:00:00 2001 From: Stephen Cprek Date: Wed, 31 May 2017 16:09:59 -0500 Subject: Create more space in base image by switching trace to debug and smaller printk Change-Id: I5bdb3487d202f8713b543cbdda6d8103ad39807a Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/41186 Reviewed-by: Martin Gloff Tested-by: Jenkins Server Reviewed-by: Nicholas E. Bofferding Tested-by: Jenkins OP Build CI Tested-by: FSP CI Jenkins Reviewed-by: William G. Hoffa --- src/include/kernel/console.H | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) (limited to 'src/include') diff --git a/src/include/kernel/console.H b/src/include/kernel/console.H index 28121261e..3318f99a4 100644 --- a/src/include/kernel/console.H +++ b/src/include/kernel/console.H @@ -5,7 +5,9 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* COPYRIGHT International Business Machines Corp. 2010,2014 */ +/* Contributors Listed Below - COPYRIGHT 2010,2017 */ +/* [+] International Business Machines Corp. */ +/* */ /* */ /* Licensed under the Apache License, Version 2.0 (the "License"); */ /* you may not use this file except in compliance with the License. */ @@ -40,18 +42,18 @@ void printk(const char*, ...) FORMAT_PRINTF; class Console : public Util::ConsoleBufferInterface { public: - int putc(int); + int putc(int); size_t operator()(int c) { return putc(c); }; - enum { BUFFER_SIZE = 1024 * 16 }; + enum { BUFFER_SIZE = 1024 * 12 }; protected: - Console(); - ~Console() {}; + Console(); + ~Console() {}; private: - size_t iv_pos; - char * iv_buffer; + size_t iv_pos; + char * iv_buffer; }; extern char kernel_printk_buffer[Console::BUFFER_SIZE]; -- cgit v1.2.3