summaryrefslogtreecommitdiffstats
path: root/include/skiboot.h
Commit message (Collapse)AuthorAgeFilesLines
...
* add full suite of log priorities: EMERG through DEBUGStewart Smith2014-08-081-3/+13
| | | | | | | | | | | | The idea is to use prlog(PR_EMERG|PR_ALERT|...|PR_WARNING|..|PR_TRACE) instead of random printf() calls, so that they can be properly filtered for different console implementations (may only want trace level calls in memory console rather than over serial port). We remap PR_PRINTF to PR_NOTICE (5) rather than the absolute value 5. Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
* replace printf() with console log, level 5 aka INFO messagesStewart Smith2014-08-081-0/+1
| | | | | | | | Replace the libc printf implementation with a wrapper that does fancy log things such as display timestamp and the log level. Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
* Initial code for timestamps in logStewart Smith2014-08-081-1/+2
| | | | | | | | | | | | | | | This is the initial patch for having timestamps in the log. It currently only wraps prerror to our prlog() function and thus only (very slightly) modifies bootup log. we use the timebase as an indication of the progression of time. It is not perfect, and is indeed reset back to zero during boot, but it should serve adequately for our needs of "approximately this much time elapsed between log entries". Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
* MDST: Validate TCE alignmentVasant Hegde2014-07-311-0/+1
| | | | | | | | | | | | | We assumed that we always get TCE aligned address and size. But its possible that we may non-aligned address (specially when we add OPAL interface. This patch adds TCE validation. Also defer TCE mapping until we make MBOX command. This is required when we add OPAL interface. Ended up introducing new variable to hold real address and size. Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
* Initial commit of Open Source releaseBenjamin Herrenschmidt2014-07-021-0/+202
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
OpenPOWER on IntegriCloud