mirror of
https://github.com/genodelabs/genode.git
synced 2025-01-31 00:24:51 +00:00
hw_x86_64: Perform indirect long jump to 64-bit code
This commit is contained in:
parent
15d0e86592
commit
0f624cdde7
@ -57,6 +57,12 @@
|
||||
/* Set up GDT */
|
||||
lgdt _gdt_ptr
|
||||
|
||||
/* Indirect long jump to 64-bit code */
|
||||
ljmp $8, $_start64
|
||||
|
||||
.code64
|
||||
_start64: .p2align MIN_PAGE_SIZE_LOG2
|
||||
|
||||
/*
|
||||
* 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