]> git.baikalelectronics.ru Git - uboot.git/commit
arm: smh: Add some functions for working with the host console
authorSean Anderson <sean.anderson@seco.com>
Tue, 22 Mar 2022 20:59:23 +0000 (16:59 -0400)
committerTom Rini <trini@konsulko.com>
Fri, 1 Apr 2022 19:03:13 +0000 (15:03 -0400)
commita28c0d649e57993653ccc7f65211f7d1526653e6
treecc8bd663a055e8bcd83b391f56e8de70dbe3503f
parent5474a61218811cd9ce5d7fdad68520cc2d7db37d
arm: smh: Add some functions for working with the host console

This adds three wrappers around the semihosting commands for reading and
writing to the host console. We use the more standard getc/putc/puts
names instead of readc/writec/write0 for familiarity.

Signed-off-by: Sean Anderson <sean.anderson@seco.com>
arch/arm/lib/semihosting.c
include/semihosting.h