History log of /u-boot/include/semihostingfs.h
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# f676b451 22-Mar-2022 Sean Anderson <sean.anderson@seco.com>

fs: Add semihosting filesystem

This adds a filesystem which is backed by the host's filesystem. It is
modeled off of sandboxfs, which has very similar aims. Semihosting
doesn't support listing directories (except with SYS_SYSTEM), so neither
do we. it's possible to optimize a bit for the common case of reading a
whole file by omitting a call to smh_seek, but this is left as a future
optimization.

Signed-off-by: Sean Anderson <sean.anderson@seco.com>