Page 1 of 1

task switching problem

Posted: Sun Aug 28, 2005 1:50 pm
by DruG5t0r3
I'm trying to switch to some level 3 ring code. I'm getting this under bochs

iret: ARbyte indicated non code segment

I'm guessing something is wrong with my code descriptor and it doesn't indicate it's a code segment. What is ARbyte anyway?

Re:task switching problem

Posted: Sun Aug 28, 2005 2:23 pm
by Pype.Clicker
that's something "internal" to bochs "Access Right", probably a summary of information gathered from the segment's descriptor.

Re:task switching problem

Posted: Sun Aug 28, 2005 2:25 pm
by DruG5t0r3
me = dumb, I was trying to load iret to a CS value that is a TSS....mmm not good