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

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Mon Sep 18 08:19:30 BST 2023


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

--- Comment #41 from Luke Kenneth Casson Leighton <lkcl at lkcl.net> ---
(In reply to Jacob Lifshay from comment #39)

> and then add the base address of that block to all simulated memory
> operations.

this is the bit that (a) requires identifying all memory buffers for
all syscalls (which is a stowstopping amount of work for the
available budget) and (b) does not work for code that relies on
address-offsets *in code*.

all *load store* operations executed would need offsetting... *if* they
were allocated by a syscall, but not otherwise? this is hopelessly
impractical to consider.

even (a) is too much work which is why cavatools directly maps
the guest program into host memoryspace (one-to-one and onto)
then overrides malloc and free.

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


More information about the libre-soc-bugs mailing list