mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-28 01:28:53 +00:00
hw_x86_64: Perform the user entry mode transition
The interrupt return instruction in IA-32e mode applies the prepared interrupt stack frame to set the RFLAGS, CS and SS segment as well as the RIP and RSP registers. It then continues execution of the user code. For detailed information refer to Intel SDM Vol. 3A, section 6.14.3.
This commit is contained in:
parent
ab9d7afa45
commit
3e779e3ca1
@ -123,7 +123,7 @@
|
||||
mov $_mt_buffer, %rsp
|
||||
popq %rax
|
||||
|
||||
1: jmp 1b
|
||||
iretq
|
||||
|
||||
/* end of the mode transition code */
|
||||
.global _mt_end
|
||||
|
Loading…
Reference in New Issue
Block a user