commit | c678b32e12b0f9cab3a18bb323dc4b0707c59197 | [log] [tgz] |
---|---|---|
author | Sean Anderson <sean.anderson@seco.com> | Tue Mar 22 16:59:20 2022 -0400 |
committer | Tom Rini <trini@konsulko.com> | Fri Apr 01 15:03:13 2022 -0400 |
tree | 7a893e7f077239f473c820069f054d25ec1d6d37 | |
parent | 89346adeea8de85a2f49dd64903f2c97429a0362 [diff] |
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>