console: Improve putchar(), add puts()
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 14 May 2020 00:09:36 +0000 (10:09 +1000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 14 May 2020 13:12:22 +0000 (23:12 +1000)
commit88b28a7b178cf8c4d611725021862035629fbbcd
tree5ba2c0d7d9c38974f9840f5da09b66cf269b516a
parentfcec66acf4dc9b4b5480bf18a118a42ec87c7eba
console: Improve putchar(), add puts()

Make putchar() match a standard prototype and add puts()

Also make puts() add carriage returns before linefeeds so the
users don't have to do it all over the place.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
hello_world/console.c