Kernel: Invoke ELF interpreter instead if it is specified

This commit is contained in:
2024-08-28 17:06:32 +03:00
parent d20752c318
commit 2bf65ef512
7 changed files with 382 additions and 191 deletions

View File

@@ -39,14 +39,15 @@ start_userspace_thread:
call get_userspace_thread_stack_top
popq %rdx
popq %rsi
popq %rdi
popq %rsi
popq %rdx
popq %rcx
popq %rbx
pushq $(0x20 | 3)
pushq %rax
pushq $0x202
pushq $(0x18 | 3)
pushq %rcx
pushq %rbx
iretq