mirror of
https://github.com/kenshineto/kern.git
synced 2025-04-07 11:21:06 +00:00
.. | ||
idle.c | ||
init.c | ||
progABC.c | ||
progDE.c | ||
progFG.c | ||
progH.c | ||
progI.c | ||
progJ.c | ||
progKL.c | ||
progMN.c | ||
progP.c | ||
progQ.c | ||
progR.c | ||
progS.c | ||
progTUV.c | ||
progW.c | ||
progX.c | ||
progY.c | ||
progZ.c | ||
README | ||
shell.c | ||
user.ld |
This directory contains the source code for all user-level processes, split out by main function. Naming convention: idle() classic 'idle' process; ensures there is always a runnable process to dispatch (vs., for instance, having dispatch() pause when there is nothing to dispatch). init() classic 'init' process; starts the idle process, and starts (and restarts) the user shell program. shell() "user shell" process, for spawning individual tests progN() program source code for user process(es) 'N' All of these expect at least one command-line argument. All are invoked with command lines of this form: name x n Each of these is designed to be compiled and linked separately, with the resulting load modules bundled into a blob for automatic loading by the bootstrap. Each will typically use one or more library functions from the ../lib directory.