summaryrefslogtreecommitdiffstats
path: root/src/include/kernel
diff options
context:
space:
mode:
authorStephen Cprek <smcprek@us.ibm.com>2017-05-31 16:09:59 -0500
committerWilliam G. Hoffa <wghoffa@us.ibm.com>2017-06-01 17:08:46 -0400
commit3cbec65e0cf56eac08f826d3aa7fa618b9e7c1c9 (patch)
tree140a617dd3231482cae6a5ebd95d43acac53e894 /src/include/kernel
parentf0cce8d3470ee41ca38900dd941c848c0e464ccf (diff)
downloadtalos-hostboot-3cbec65e0cf56eac08f826d3aa7fa618b9e7c1c9.tar.gz
talos-hostboot-3cbec65e0cf56eac08f826d3aa7fa618b9e7c1c9.zip
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 <mgloff@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Nicholas E. Bofferding <bofferdn@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
Diffstat (limited to 'src/include/kernel')
-rw-r--r--src/include/kernel/console.H16
1 files changed, 9 insertions, 7 deletions
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];
OpenPOWER on IntegriCloud