commit | f676b45151c33986501e5f8f9bcc64f4a9511089 | [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 | 8e1c9fe243a31a0b0a40a80cc20fc3c06246d675 [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>