In this monolithic design, the "kernel" contains all of the operating system code that will execute in privileged (kernel) mode in one compiled address space.
However, the functions it contains are not called from a main but are typically invoked through the system call mechanism just described as needed by different user processes..
Although in a monolithic design, the compiled image is one big glob, the functions can still logically have a "layered" structure.
User level processes |
System call routines |
Lower level routines used by the system call routines |