On 9/1/2026 12:27 PM, Matheus Tavares Bernardino wrote: > Baremetal Hexagon programs use semihosting to enumerate host > directories via OPENDIR, READDIR, and CLOSEDIR calls. The list of > open directory handles are global to all CPUs, so that guest > index values map back to host DIR pointers across calls. > > Also add functional tests for the new semihosting ops. > > Signed-off-by: Matheus Tavares Bernardino > <[email protected]> > Signed-off-by: Brian Cain <[email protected]> > --- > > Note: based on > https://lore.kernel.org/qemu-devel/[email protected]/ > The added test was verified on Ubuntu x86-64, Debian PowerPC > (big-endian) and Windows. > > hw/hexagon/hexagon_dsp.c | 7 ++ > hw/hexagon/virt.c | 7 ++ > target/hexagon/cpu.h | 1 + > target/hexagon/hexswi.c | 83 +++++++++++++++++++++++ > tests/functional/hexagon/test_systests.py | 9 +++ > 5 files changed, 107 insertions(+) >
Reviewed-by: Pierrick Bouvier <[email protected]>
