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>
Wed, 18 Oct 2023 21:03:38 +0000 (22:03 +0100)
commitc91aa3eedd5e6652cc4f4f3c86b8621ce711287e
tree7f4cfb3dba607e55e8ae174903d879cb573b9fbc
parent9dab88318a2938f14873804d83bf85ef9ae2fb93
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