mirror of
https://github.com/mmueller41/genode.git
synced 2026-01-22 04:52:56 +01:00
hw_x86_64: Load initial pagetable address into cr3
This commit is contained in:
committed by
Christian Helmuth
parent
bafb893a70
commit
d23cd7e5ff
@@ -34,6 +34,10 @@
|
||||
btsl $5, %eax
|
||||
movl %eax, %cr4
|
||||
|
||||
/* Load initial pagetables */
|
||||
leal _kernel_pml4, %eax
|
||||
mov %eax, %cr3
|
||||
|
||||
/*
|
||||
* Install initial temporary environment that is replaced later by the
|
||||
* environment that init_main_thread creates.
|
||||
|
||||
Reference in New Issue
Block a user