hw_x86_64: Create temporary copy of client RAX in kernel entry

Copy client context RAX value to buffer to enable use of RAX as scratch
register.
This commit is contained in:
Adrian-Ken Rueegsegger 2015-02-20 16:04:01 +01:00 committed by Christian Helmuth
parent 43bd925c7f
commit 16496af371
1 changed files with 4 additions and 0 deletions

View File

@ -73,6 +73,10 @@
*/
.global _mt_kernel_entry_pic
_mt_kernel_entry_pic:
/* Copy client context RAX to buffer */
mov %rax, _mt_buffer
1: jmp 1b
.global _mt_user_entry_pic