3 ms·
I liked the QNX solution - the kernel never prints anything. It never handles a string. It's just a microkernel; all it does is pass messages, allocate memory,
by Animats 6y ago
I liked the QNX solution - the kernel never prints anything.
It never handles a string.
It's just a microkernel; all it does is pass messages, allocate memory, and dispatch the CPU. Drivers are in user space, of course.
There's a system management process, "proc", running in user space but with extra privileges, to manage things usually done in kernels. The kernel itself was very rarely modified.
More than that, there's no "console". QNX often ran on industrial hardware that didn't have a display or even a file system. Problems are reported by sending a message to a logging process. That might ship it over a network to somewhere else.