Hello,
I've added a Intel instruction decoder (which I'd written for another
project) to the 'user' app; this could be useful for debugging
purposes at least (it's probably too general, i.e. bulky and slow,
to be used in the monitor).
Accessing guest memory works, but with a lot of assumptions (no paging,
trivial segmentation, only code32 segments). This will be easy to fix
once we add support for those things in the monitor.
As an example, the output when starting user on the cooperative kernel
is now:
Abort due to exception 13 at 001b:00010000
Register dump:
CS:001b SS:0023 DS:0000 ES:0000 FS:0000 GS:0000
EAX:00000000 EBX:00000000 ECX:00000000 EDX:00000000
ESI:00000000 EDI:00000000 EBP:00000000 ESP:00009000 EFLAGS:00000000
Current instruction:
001B.00010000 0F0115E4220100 lgdt [000122E4]
Bye,
Ulrich
--
Ulrich Weigand,
IMMD 1, Universitaet Erlangen-Nuernberg,
Martensstr. 3, D-91058 Erlangen, Phone: +49 9131 85-7688