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:
parent
43bd925c7f
commit
16496af371
|
@ -73,6 +73,10 @@
|
||||||
*/
|
*/
|
||||||
.global _mt_kernel_entry_pic
|
.global _mt_kernel_entry_pic
|
||||||
_mt_kernel_entry_pic:
|
_mt_kernel_entry_pic:
|
||||||
|
|
||||||
|
/* Copy client context RAX to buffer */
|
||||||
|
mov %rax, _mt_buffer
|
||||||
|
|
||||||
1: jmp 1b
|
1: jmp 1b
|
||||||
|
|
||||||
.global _mt_user_entry_pic
|
.global _mt_user_entry_pic
|
||||||
|
|
Loading…
Reference in New Issue