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

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Tue Sep 26 00:32:26 BST 2023


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

--- Comment #88 from Jacob Lifshay <programmerjake at gmail.com> ---
I created a MemMMap class which can be used to get a raw
ctypes.c_ubyte * N array that can be passed to read/write/etc.

enabling it for ISACaller:
https://git.libre-soc.org/?p=openpower-isa.git;a=commitdiff;h=9437aa56d550b9a66772068cf685b06e2d7d263f

testing reading/writing through the ctypes array returned by MemMMap.get_ctypes
(method naming suggestions appreciated):

https://git.libre-soc.org/?p=openpower-isa.git;a=blob;f=src/openpower/decoder/isa/test_mem.py;h=e57d199148a86de07f67645bb009075005e9f2f3;hb=50cb080ba742df15e33422000b82a015c211aa5b#l97

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


More information about the libre-soc-bugs mailing list