NewbiZ / xv6

Reimplementation in ANSI C of Unix v6 + POSIX compliance + VFS + ulibc + ACPI

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add process return code

NewbiZ opened this issue · comments

Should be part of a broader "Define xv6 ABI" milestone.
Best plan would be to copy SYSV SVR4.

https://refspecs.linuxbase.org/elf/abi386-4.pdf

wait and waitpid should be modified accordingly, along with the necessary stuff in struct proc. At last we should be able to return from main without exit()ing!