x86_64: move stack pointer to higher-half in start_64
This commit is contained in:
@@ -7,6 +7,9 @@
|
|||||||
.global start_64
|
.global start_64
|
||||||
.type start_64, @function
|
.type start_64, @function
|
||||||
start_64:
|
start_64:
|
||||||
|
/* convert %rsp to a higher-half pointer */
|
||||||
|
add $0xFFFFFFFF80000000, %rsp
|
||||||
|
|
||||||
pop %rdi
|
pop %rdi
|
||||||
call kernel_init
|
call kernel_init
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user