Page 1 of 1

Taskswitching & bochs

Posted: Sun Jun 13, 2004 11:00 pm
by bluecode
hi,

I'm trying to switch to a PL3 task. Everything is alright when I switch to a PL0 task, then I changed the DPL of the code/data segments to DPL3 and the code/data selector's (in the TSS) RPL to 3. But now bochs resets with the message ">>PANIC<< task_switch: cs not valid executable seg" and I don't know what I've done wrong.

I hope you can help me!
Thanks!

RE:Taskswitching & bochs

Posted: Sun Jun 13, 2004 11:00 pm
by TheUbu
bluecode,

Can I get a little more information possible some code snippets of where you set up your TSS and GDT.


-Christopher