hw_x86_64: Load Global Descriptor Table register

This commit is contained in:
Reto Buerki 2015-02-11 16:37:47 +01:00 committed by Christian Helmuth
parent 27191b17ce
commit 15d0e86592
1 changed files with 3 additions and 0 deletions

View File

@ -54,6 +54,9 @@
btsl $31, %eax
movl %eax, %cr0
/* Set up GDT */
lgdt _gdt_ptr
/*
* Install initial temporary environment that is replaced later by the
* environment that init_main_thread creates.