summaryrefslogtreecommitdiff
path: root/fs/semihostingfs.c
Commit message (Collapse)AuthorAgeFilesLines
* fs: Add semihosting filesystemSean Anderson2022-04-011-0/+115
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>