annoying - call the TRAP() function in system.mdwn "sc" instruction.
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Wed, 18 Oct 2023 21:03:38 +0000 (22:03 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Fri, 22 Dec 2023 19:26:21 +0000 (19:26 +0000)
commitf5bd3636dfa00b6e644203242e0ddf1e71f26a2e
tree7f4cfb3dba607e55e8ae174903d879cb573b9fbc
parentc941f8f2bbc7741f957788148e20fe24c2fe1db8
annoying - call the TRAP() function in system.mdwn "sc" instruction.
setting NIA and MSR is tricky, it involves reading some english text
that is very unclear (Book III section 4.3.1 which then in turn says
"go to section 7.5 page 1076").
given that we are not implementing hypervisor or LEV=1/2/3 it is just
simpler to call TRAP(0xc00)
openpower/isa/system.mdwn
src/openpower/decoder/isa/caller.py