[Libre-soc-bugs] [Bug 1173] provide an option to switch ISACaller to use a different Mem class that uses mmap.mmap instead of a dict
bugzilla-daemon at libre-soc.org
bugzilla-daemon at libre-soc.org
Tue Sep 26 00:06:49 BST 2023
https://bugs.libre-soc.org/show_bug.cgi?id=1173
Jacob Lifshay <programmerjake at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|IN_PROGRESS |RESOLVED
Resolution|--- |FIXED
--- Comment #4 from Jacob Lifshay <programmerjake at gmail.com> ---
I added tests for MemMMap.get_ctypes testing both reading and writing. I also
changed MemMMap so memory dumps skip all the lines with just zero bytes, since
MemMMap manages stuff in 64kiB chunks (the minimum granularity prescribed by
ppc64le ELF), that's a *lot* of zeros to skip printing.
https://git.libre-soc.org/?p=openpower-isa.git;a=shortlog;h=50cb080ba742df15e33422000b82a015c211aa5b
commit 50cb080ba742df15e33422000b82a015c211aa5b
Author: Jacob Lifshay <programmerjake at gmail.com>
Date: Mon Sep 25 15:57:23 2023 -0700
add MemMMap tests
commit 06578592de791992c1bcad37eacbac759aac5500
Author: Jacob Lifshay <programmerjake at gmail.com>
Date: Mon Sep 25 15:29:25 2023 -0700
skip zero words when iterating words in MemMMap
commit 07eff25a9d8adb5087c8e70ccd9e4d9d77d6e935
Author: Jacob Lifshay <programmerjake at gmail.com>
Date: Mon Sep 25 14:41:49 2023 -0700
format src/openpower/decoder/isa/test_mem.py
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the libre-soc-bugs
mailing list