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

@@ -55,14 +55,15 @@ start_userspace_thread:
movw %bx, %gs
xorw %bx, %bx
popl %edx
popl %esi
popl %edi
popl %esi
popl %edx
popl %ecx
popl %ebx
pushl $(0x20 | 3)
pushl %eax
pushl $0x202
pushl $(0x18 | 3)
pushl %ecx
pushl %ebx
iret