semihosting: implement a semihosting console
commita331c6d774123fd3fdb916e58539920727dd2cbd
authorAlex Bennée <alex.bennee@linaro.org>
Mon, 13 May 2019 20:49:43 +0000 (13 21:49 +0100)
committerAlex Bennée <alex.bennee@linaro.org>
Tue, 28 May 2019 09:28:50 +0000 (28 10:28 +0100)
tree250a372269d6e844a5b2bfcc623a7875f300317c
parent16932bb761e52c2ca9397b57af5bdc5bdc5ae6a4
semihosting: implement a semihosting console

This provides two functions for handling console output that handle
the common backend behaviour for semihosting.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
hw/semihosting/Makefile.objs
hw/semihosting/console.c [new file with mode: 0644]
include/hw/semihosting/console.h [new file with mode: 0644]