mirror of
https://github.com/genodelabs/genode.git
synced 2025-06-17 06:38:28 +00:00
hw_x86_64: Continue execution of the kernel
The instruction pointer is the first field of the master context and can directly be used as a jump argument, which avoids additional register copy operations.
This commit is contained in:
committed by
Christian Helmuth
parent
ecfb954eb9
commit
16a15237a4
@ -135,7 +135,7 @@
|
|||||||
|
|
||||||
/* Restore kernel stack and continue kernel execution */
|
/* Restore kernel stack and continue kernel execution */
|
||||||
mov _mt_master_context_begin+SP_OFFSET, %rsp
|
mov _mt_master_context_begin+SP_OFFSET, %rsp
|
||||||
1: jmp 1b
|
jmp *_mt_master_context_begin
|
||||||
|
|
||||||
.global _mt_user_entry_pic
|
.global _mt_user_entry_pic
|
||||||
_mt_user_entry_pic:
|
_mt_user_entry_pic:
|
||||||
|
Reference in New Issue
Block a user