summaryrefslogtreecommitdiffstats
path: root/src/include/kernel
diff options
context:
space:
mode:
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