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

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Sat Sep 16 08:30:05 BST 2023


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

--- Comment #26 from Luke Kenneth Casson Leighton <lkcl at lkcl.net> ---
https://github.com/qemu/qemu/blob/master/linux-user/syscall.c

this - all twelve THOUSAND lines - is what qemu-user does to
emulate systemcalls [safely].

the fact that "memory" is emulated means that when it comes
for example to emulate write() it is necessary to extract
the contents of sim.mem at the appropriate "address",
to place it into a suitable buffer (of size count) and
then pass **that** buffer to (either) an actual syscall
(or a write function call that ultimately ends up calling
that syscall on your behalf).

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


More information about the libre-soc-bugs mailing list