Another question: lgdt emulation does a remapping of
monitor. Remapping is unmap and map. Map (map_monitor
in monitor.c) searches for
unused entrys in (now the new) GDT and filles them with
cs, ss and tss descritors. cs ist stored in nexus'
mon_jmp_info.selector field. This is used in nexus
while switching to guest: ljmp (MON_JMP_INFO)(%ebx).
Now I _expect_ to see a new value in cs, but _find_
still the old value (of 0xb, so cs selects not the
new descriptor found in map_monitor but the old one,
which has now a different function in new gdt - vm
crashes...).
What's my wrong point?
jens