mirror of
https://github.com/mmueller41/genode.git
synced 2026-01-22 04:52:56 +01:00
hw_x86_64: Perform indirect long jump to 64-bit code
This commit is contained in:
committed by
Christian Helmuth
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.
|
||||
|
||||
Reference in New Issue
Block a user