Taskswitching & bochs

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
bluecode

Taskswitching & bochs

Post 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!
TheUbu

RE:Taskswitching & bochs

Post by TheUbu »

bluecode,

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


-Christopher
Post Reply