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

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Mon Sep 18 21:31:11 BST 2023


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

--- Comment #57 from Dmitry Selyutin <ghostmansd at gmail.com> ---
I stepped back and revisited the whole calls hierarchy. From now on, to call by
name, we use entry point, not just a syscall "name" (that is,
dispatcher.sys_openat or dispatcher.compat_sys_openat, not just
dispatcher.openat).

https://git.libre-soc.org/?p=openpower-isa.git;a=commitdiff;h=5f9944b9de97ed790c34495b32d2cfbd91078a5b

The good news is, overriding a custom system call is easy:

class CustomDispatcher(syscalls.Dispatcher):
    def sys_exit(*arguments):
        raise 42 # not just an exit, but rather a portal!

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


More information about the libre-soc-bugs mailing list