mirror of
https://github.com/genodelabs/genode.git
synced 2025-04-16 07:27:35 +00:00
hw_x86_64: Switch to client page tables
After activating the client page tables the client context cannot be accessed any longer. The mode transition buffer however is globally mapped and can be used to restore the remaining register values.
This commit is contained in:
parent
172dec209b
commit
1fc867f1d7
@ -115,6 +115,10 @@
|
||||
popq %rsi
|
||||
popq %rbp
|
||||
|
||||
/* Switch page tables */
|
||||
mov CR3_OFFSET(%rax), %rax
|
||||
mov %rax, %cr3
|
||||
|
||||
1: jmp 1b
|
||||
|
||||
/* end of the mode transition code */
|
||||
|
Loading…
x
Reference in New Issue
Block a user