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, 27 Oct 2023 13:59:15 +0000 (14:59 +0100)
commit734ba628cac94601458f5be7b0d38cb5e9edf9b2
tree33c73dd0706035008a7a332e4dcae99684023c19
parent7b30f58c196be82153c81298f6a0be6ba8076e90
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