Professional Documents
Culture Documents
Total Marks:
Marks: Obtained
Teacher’s Signature:
Micro kernel approach
Kernel is the core part of an operating system which manages system resources. It also
acts like a bridge between application and hardware of the computer. It is one of the
first programs loaded on start-up. The CPU can execute certain instruction only when
it is in the kernel mode. These instruction are called privilege instruction. They allow
implementation of special operation whose execution by the user program could
interface with the functioning of operating system or activity of another user program.
For example, instruction for managing memory protection.
Microkernel is one of the classification of the kernel. Being a kernel it manages all
system resources. But in a microkernel, the user services and kernel services are
implemented in different address space. The user services are kept in user address
space, and kernel services are kept under kernel address space, thus also reduces the
size of kernel and size of operating system as well.
Layered approach
A system can have different designs and modules. One of them is the layered
approach, in which the operating system is broken into a number of layers, the bottom
layer (layer 0) being hardware and the highest being the user interface.
In this approach, construction is simple in understanding and debugging. If an error is
found during the debugging of a particular layer, the error must be on that layer,
because the layers below it are already debugged. Thus, the design and
implementation of the systems are simplified. Appropriately defining various layers is
difficult because each layer can use only the lower-level layers, therefore, careful
planning is required. For example, the device driver for the backing store (disk space
used by virtual-memory algorithms) must be at a lower level than the memory-
management routines, because memory management requires a backing store.