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

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Mon Oct 23 09:07:57 BST 2023


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

--- Comment #147 from Luke Kenneth Casson Leighton <lkcl at lkcl.net> ---
(In reply to Dmitry Selyutin from comment #134)

> Luke, I obviously found it (comment #128). 

i am tracking this remotely, from memory of working with the code
over *two years* ago, without being able to run it. please be
patient, it is not obvious to me asi cannot remember.

> I'd have expected this to be cleared after return from interrupt,
> though; but that's just a logical expectation.

no, that is "rfid"'s job to clear it because that is the "return
from interrupt" instruction. (or, more to the point, to copy
the bit from SRR1 as you could have nested interrupts)

if the test had also run rfid not just "sc 0" then yes you would
expect to see it cleared.

but because the test only runs "sc 0" the test is *still inside the
kernel/OS* (emulated)

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


More information about the libre-soc-bugs mailing list