mirror of
https://github.com/genodelabs/genode.git
synced 2025-01-18 18:56:29 +00:00
hw_x86_64: Restore kernel segment registers
The segment registers are set to reference the kernel data segments of the GDT.
This commit is contained in:
parent
fb5946b69c
commit
7b051c0531
@ -108,6 +108,13 @@
|
||||
pushq %r9
|
||||
pushq %r8
|
||||
|
||||
/* Restore kernel segment registers */
|
||||
mov $0x10, %rbx
|
||||
mov %rbx, %ds
|
||||
mov %rbx, %es
|
||||
mov %rbx, %fs
|
||||
mov %rbx, %gs
|
||||
|
||||
1: jmp 1b
|
||||
|
||||
.global _mt_user_entry_pic
|
||||
|
Loading…
Reference in New Issue
Block a user