I played a bit with segments. Built a gdt, loaded it. While
load all RPL were set to 3 and code segments become data
segments to force emulation of intersegment jumps/calls.
I expected a GP(selector) when doing a ljmp selector,offset,
but became a "Fatal monitor error" because the test
if ( context != expected_context )
in fault.c raises its finger and cryes. So far I understand
this, context is the esp from nexus, on stack are all registers,
and expected_context is a pointer to the end of nexus page,
lessened by one guest_context_t - which should be the same.
Any idea, why no GP, but different contexts??
(Or better: I believe there is a GP but before emulating this,
test above fails...)
jens