hw_x86_64: Load Global Descriptor Table register
This commit is contained in:
parent
27191b17ce
commit
15d0e86592
|
@ -54,6 +54,9 @@
|
||||||
btsl $31, %eax
|
btsl $31, %eax
|
||||||
movl %eax, %cr0
|
movl %eax, %cr0
|
||||||
|
|
||||||
|
/* Set up GDT */
|
||||||
|
lgdt _gdt_ptr
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* 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