[Libre-soc-bugs] [Bug 982] Support PowerPC ABI in ISACaller

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Fri Sep 22 20:18:36 BST 2023


https://bugs.libre-soc.org/show_bug.cgi?id=982

--- Comment #76 from Jacob Lifshay <programmerjake at gmail.com> ---
(In reply to Dmitry Selyutin from comment #74)
> If you could help me with what should be the action on exit/exit_group, I
> could demonstrate how we override the syscall. But, basically, it's this:
> 
> class SyscallEmulator(openpower.syscalls.Dispatcher):
>     def sys_exit(self, *_):
>         raise StopIteration
> 
>     def sys_exit_group(self, *_):
>         raise StopIteration

because most of ISACaller's methods are generators, StopIteration interferes
with that, so imo we need a new exception class that the main loop catches and
exits.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the libre-soc-bugs mailing list