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:
Adrian-Ken Rueegsegger 2015-02-20 16:05:46 +01:00 committed by Christian Helmuth
parent 16496af371
commit 3d782282db
1 changed files with 4 additions and 0 deletions

View File

@ -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