caller.py: implement a pile of syscalls
authorJacob Lifshay <programmerjake@gmail.com>
Sun, 3 Dec 2023 08:49:08 +0000 (00:49 -0800)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Fri, 22 Dec 2023 19:26:22 +0000 (19:26 +0000)
commit6a1205a59a37074a535186275cb8f7d3b3f1c877
treee05bc2403a673a2ed2d16c5ce9da747aa8752edf
parentf614b8cf10cfac069649f9c18d67bae16c81eee9
caller.py: implement a pile of syscalls

this implements read, mmap, mmap2, brk, openat, uname, and newuname.

it also stubs out munmap, mprotect, and pkey_mprotect so programs
don't crash cpython.
src/openpower/decoder/isa/caller.py
src/openpower/decoder/isa/mem.py