plan9fox/sys
cinap_lenrek 8d51e7fa1a kernel: implement portable userinit() and simplify process creation
replace machine specific userinit() by a portable
implemntation that uses kproc() to create the first
process. the initcode text is mapped using kmap(),
so there is no need for machine specific tmpmap()
functions.

initcode stack preparation should be done in init0()
where the stack is mapped and can be accessed directly.

replacing the machine specific userinit() allows some
big simplifications as sysrfork() and kproc() are now
the only callers of newproc() and we can avoid initializing
fields that we know are being initialized by these
callers.

rename autogenerated init.h and reboot.h headers.
the initcode[] and rebootcode[] blobs are now in *.i
files and hex generation was moved to portmkfile. the
machine specific mkfile only needs to specify how to
build rebootcode.out and initcode.out.
2020-01-26 19:01:36 +01:00
..
doc
games/lib add games/linden and games/turtle 2019-11-03 13:49:23 +00:00
include
lib riostart: when system uses serial console, provide a system shell on it 2019-12-09 18:08:02 +01:00
man page(1): fix troff manual example 2020-01-20 14:59:04 +10:30
src kernel: implement portable userinit() and simplify process creation 2020-01-26 19:01:36 +01:00