Hello Exoerts!
I have some problem with switching to x86 mode in my driver.
I use command iretq to jump to another segment. Right after jump I get needed value fo CS and SS registers, but next instruction reverts back my segments to x64 mode (0x10 and 0x18).
What could be a reason?
Here is my code:
push 38h
push rdx
pushfq
push 8h
push rcx
iretq
Thanks in advance!
With respect, Eugene.
I have some problem with switching to x86 mode in my driver.
I use command iretq to jump to another segment. Right after jump I get needed value fo CS and SS registers, but next instruction reverts back my segments to x64 mode (0x10 and 0x18).
What could be a reason?
Here is my code:
push 38h
push rdx
pushfq
push 8h
push rcx
iretq
Thanks in advance!
With respect, Eugene.