Commit Graph

2 Commits

Author SHA1 Message Date
Venkata Ramanaiah Nalamothu c419bbb341 RISC-V: fix setting up std streams in init_semihosting()
Currently init_semihosting() assumes the return value from _open()
call as the file descriptor handle and that is incorrect.

The semihost _open() call returns the fdtable index returned by the
__add_fdentry() for the file opened.
2024-01-10 10:46:56 +01:00
Craig Blackmore 865cd30dcc RISC-V: Add semihosting support 2020-12-16 16:40:34 -05:00