> I tried to run an OpenBSD kernel image (for Loongson) under QEMU-emulated > Fulong2E system (on AMD64 host). When I load the kernel from PMON, it starts, > but then the following exception occurs (0x1fe00138 is the address of Bonito > INTEN register):
Why are you trying to emulate a 2E system? OpenBSD/loongson has never been tested on a Fuloong 2E system and I wouldn't be surprised if it did not work at all on such a machine (and I've been unable to find one on the second hand market). You are likely yo get better results trying to emulate a 2F system. In any case, I'll conveniently blame qemu here, since there is no reason access to this register would fail. Miod

