Kernel: Implement thread start trampoline for userspace
This is needed on i686 to set segment registers.
This commit is contained in:
@@ -2,6 +2,11 @@
|
||||
|
||||
.global _start
|
||||
_start:
|
||||
pushq $0
|
||||
pushq %rdi
|
||||
pushq %rsi
|
||||
pushq %rdx
|
||||
|
||||
# STACK LAYOUT
|
||||
# null
|
||||
# argc
|
||||
|
||||
Reference in New Issue
Block a user