Re: switching from long mode to compatibility mode

2008-06-10 Thread tejas khatiwala
I got it fixed. As I said earlier, the difference between compatibility and 64bit mode is L/D bits in CS descriptor. However, while making far jump in 64bit mode, the operand size _must_ be set to 64bit (which is, by default, 32bit unless explicitly specified). So I had to put a "operand size prefi

switching from long mode to compatibility mode

2008-06-04 Thread tejas khatiwala
Hello, I am writing small code that boots, jumps to 32bit protected mode (no-paging enabled) --> 64bit mode (pml4 paging) --> perform some 64bit test --> jump back to 32bit protected mode (no-paging enabled). I got successful getting into 64bit mode and I'm trying to switch out of it to 32bit pro