hw_x86_64: Enable Physical Address Extension (PAE)
This is a prerequisite for IA-32e mode.
This commit is contained in:
parent
8c9b79fab0
commit
be430b9648
|
@ -27,6 +27,11 @@
|
||||||
.global _start
|
.global _start
|
||||||
_start:
|
_start:
|
||||||
|
|
||||||
|
/* Enable PAE (prerequisite for IA-32e mode) */
|
||||||
|
movl %cr4, %eax
|
||||||
|
btsl $5, %eax
|
||||||
|
movl %eax, %cr4
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Install initial temporary environment that is replaced later by the
|
* Install initial temporary environment that is replaced later by the
|
||||||
* environment that init_main_thread creates.
|
* environment that init_main_thread creates.
|
||||||
|
|
Loading…
Reference in New Issue