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

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Wed Oct 18 21:01:57 BST 2023


--- Comment #98 from Dmitry Selyutin <ghostmansd at gmail.com> ---
(In reply to Luke Kenneth Casson Leighton from comment #97)
> (In reply to Dmitry Selyutin from comment #96)
> what lines 1966 to 1968 are doing is making "sc" *ILLEGAL* to
> even execute.  

Ah OK, I begin to understand what you mean. The emulator just routes the
execution to a well-known address, saving the registers and parts of context,
right? And we basically emulate the whole world, kinda like regular qemu, and
it'll be up to OS run in the emulator to establish the code at that address
where we jump, is it what you mean?

> so those three lines must go, as they prohibit us from running
> the "sc" instruction when the simulator is in the same type
> of mode as "qemu-system".

Not like that we were able to do it before. :-) I kinda had an impression from
comment #2 that the point of this task was to enable userspace syscall
emulation. OK, if we still have some work to do, it'd be great to adjust the
budget: even the works I already completed were somewhat bigger to fit into
1000 I have as of now. :-)

> i will write an sc unit test and commit it so that you can run it,
> and see what i mean ok?

Sure, that'd be great! Thank you!

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

More information about the libre-soc-bugs mailing list