mirror of
https://github.com/genodelabs/genode.git
synced 2025-02-20 17:52:52 +00:00
hw_x86_64: Switch to kernel page tables
After switching to the kernel address space the client context region is accessible to store the client register values.
This commit is contained in:
parent
16496af371
commit
3d782282db
@ -77,6 +77,10 @@
|
||||
/* Copy client context RAX to buffer */
|
||||
mov %rax, _mt_buffer
|
||||
|
||||
/* Switch to kernel page tables */
|
||||
mov _mt_master_context_begin+CR3_OFFSET, %rax
|
||||
mov %rax, %cr3
|
||||
|
||||
1: jmp 1b
|
||||
|
||||
.global _mt_user_entry_pic
|
||||
|
Loading…
x
Reference in New Issue
Block a user