Self hosting kernel

Kragen Javier Sitaker, 02021-06-21 (updated 02021-12-30) (1 minute)

Last time I talked to Jeremiah Orians about it, the stage0-posix project required only the following system calls of a POSIX kernel, up to M2-Planet+mescc-tools:

execve(), fork(), waitpid(), and exit() are used in a stereotyped manner for spawning a child process running a new program, then waiting for it to exit(); and chmod() is only used to make a file executable.

He said mescc-tools-extra+Kaem also needs:

Mes proper and probably tcc also needs:

In particular it doesn’t require pipes or I/O redirection.

Topics