caller.py: implement a pile of syscalls
authorJacob Lifshay <programmerjake@gmail.com>
Sun, 3 Dec 2023 08:49:08 +0000 (00:49 -0800)
committerJacob Lifshay <programmerjake@gmail.com>
Sun, 3 Dec 2023 09:32:08 +0000 (01:32 -0800)
commit4c3f7516624128b3bb15b5d9320c14451b02f0cc
tree8a8d87e48d03ebc427956251dc87ca3d58c0a734
parentb6d19fcb7c3011333013abe1bbc56a81d456128a
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