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:
Adrian-Ken Rueegsegger 2015-02-20 16:13:58 +01:00 committed by Christian Helmuth
parent ecfb954eb9
commit 16a15237a4
1 changed files with 1 additions and 1 deletions

View File

@ -135,7 +135,7 @@
/* Restore kernel stack and continue kernel execution */
mov _mt_master_context_begin+SP_OFFSET, %rsp
1: jmp 1b
jmp *_mt_master_context_begin
.global _mt_user_entry_pic
_mt_user_entry_pic: