[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:12:53 BST 2023
https://bugs.libre-soc.org/show_bug.cgi?id=982
--- Comment #74 from Dmitry Selyutin <ghostmansd at gmail.com> ---
With few fixes and updates...
https://git.libre-soc.org/?p=openpower-isa.git;a=commitdiff;h=50160605d50567b43e6918f523646b5f37561814
https://git.libre-soc.org/?p=openpower-isa.git;a=commitdiff;h=67eaadfa05989ea255159e5f00406ab6488806a3
https://git.libre-soc.org/?p=openpower-isa.git;a=commitdiff;h=b2bbeec1bad4f579436f7edbb7e1a56dd5d875ff
https://git.libre-soc.org/?p=openpower-isa.git;a=commitdiff;h=99c290ff878dbdb03ffd8b90964fcc1bd02452d0
...I've been able to support system calls translation in ISACaller in scemu
branch:
https://git.libre-soc.org/?p=openpower-isa.git;a=commitdiff;h=ebbde87d40f606526e846e43e4fc594fb892fec4
https://git.libre-soc.org/?p=openpower-isa.git;a=commitdiff;h=90ae25eaf809d023b92bd2f2c2a1c038228f9d76
There are some tests:
https://git.libre-soc.org/?p=openpower-isa.git;a=commitdiff;h=c1af87691aaa83838514d3a5ed5ca85f14d86720
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
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the libre-soc-bugs
mailing list