summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorStewart Smith <stewart@linux.vnet.ibm.com>2016-01-12 12:16:12 +1100
committerStewart Smith <stewart@linux.vnet.ibm.com>2016-01-12 12:16:12 +1100
commit089082171fed646296313933602d38493eae2982 (patch)
tree6f1b33c7bc260be18c58fa9660ce96876aa6c199 /doc
parent82a78848392bdada8925414d430eb0c7743dea83 (diff)
parentf2efc652cbad6b32e1f0295aac819f6062777e31 (diff)
downloadblackbird-skiboot-089082171fed646296313933602d38493eae2982.tar.gz
blackbird-skiboot-089082171fed646296313933602d38493eae2982.zip
Merge OPAL_CONSOLE_FLUSH from stable
Diffstat (limited to 'doc')
-rw-r--r--doc/opal-api/opal-console-read-write-1-2.txt16
1 files changed, 15 insertions, 1 deletions
diff --git a/doc/opal-api/opal-console-read-write-1-2.txt b/doc/opal-api/opal-console-read-write-1-2.txt
index b8fbc125..26f9a166 100644
--- a/doc/opal-api/opal-console-read-write-1-2.txt
+++ b/doc/opal-api/opal-console-read-write-1-2.txt
@@ -1,11 +1,12 @@
OPAL Console calls
------------------
-There are three OPAL calls relating to the OPAL console:
+There are four OPAL calls relating to the OPAL console:
#define OPAL_CONSOLE_WRITE 1
#define OPAL_CONSOLE_READ 2
#define OPAL_CONSOLE_WRITE_BUFFER_SPACE 25
+#define OPAL_CONSOLE_FLUSH 117
The OPAL console calls can support multiple consoles. Each console MUST
be represented in the device tree.
@@ -64,3 +65,16 @@ Returns:
OPAL_CLOSED
Use OPAL_POLL_EVENTS for how to determine
+
+OPAL_CONSOLE_FLUSH
+------------------
+
+Parameters:
+ int64_t term_number
+
+Returns:
+ OPAL_SUCCESS
+ OPAL_UNSUPPORTED - the console does not implement a flush call
+ OPAL_PARAMETER - invalid term_number
+ OPAL_PARTIAL - more to flush, call again
+ OPAL_BUSY - nothing was flushed this call
OpenPOWER on IntegriCloud