On 7/16/2026 11:06 AM, Matheus Tavares Bernardino wrote: > The Hexagon semihosting ABI extends the arm-compatible set with > operations like OPEN, WRITECREG, WRITE0, ISTTY, STAT, FSTAT, FTELL, > SEEK, FTRUNC, ACCESS, and GETCWD. Implement these trap0 handlers so > that baremetal programs using the standard Hexagon simulator ABI can > perform file I/O when running on qemu-system-hexagon. > > Signed-off-by: Brian Cain <[email protected]> > Signed-off-by: Matheus Tavares Bernardino > <[email protected]> > --- > include/semihosting/common-semi.h | 1 + > semihosting/arm-compat-semi.c | 2 +- > target/hexagon/hexswi.c | 298 +++++++++++++++++++++++++++++- > 3 files changed, 299 insertions(+), 2 deletions(-) >
Reviewed-by: Pierrick Bouvier <[email protected]>
