mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-19 13:47:56 +00:00
hw_x86_64: Finally restore RAX client register value
Set the stack to the mode transition buffer and pop the temporary copy of the RAX client value into the register.
This commit is contained in:
parent
1fc867f1d7
commit
ab9d7afa45
@ -119,6 +119,10 @@
|
||||
mov CR3_OFFSET(%rax), %rax
|
||||
mov %rax, %cr3
|
||||
|
||||
/* Set stack back to mt buffer and restore client RAX */
|
||||
mov $_mt_buffer, %rsp
|
||||
popq %rax
|
||||
|
||||
1: jmp 1b
|
||||
|
||||
/* end of the mode transition code */
|
||||
|
Loading…
Reference in New Issue
Block a user