mirror of
https://github.com/genodelabs/genode.git
synced 2025-04-09 04:15:52 +00:00
hw_x86_64: Explicitly set up segment selectors during boot
This commit is contained in:
parent
65de09c7a6
commit
51d515c77f
@ -63,6 +63,16 @@
|
||||
.code64
|
||||
_start64: .p2align MIN_PAGE_SIZE_LOG2
|
||||
|
||||
/*
|
||||
* Set up kernel segment selectors
|
||||
*/
|
||||
mov $0x10, %eax
|
||||
mov %eax, %ss
|
||||
mov %eax, %ds
|
||||
mov %eax, %es
|
||||
mov %eax, %fs
|
||||
mov %eax, %gs
|
||||
|
||||
/*
|
||||
* Install initial temporary environment that is replaced later by the
|
||||
* environment that init_main_thread creates.
|
||||
|
Loading…
x
Reference in New Issue
Block a user