Operating System Structure
Operating System Structure
OS designs are:
1. Monolithic system
2. Layered system
3. Virtual machine
4. ExoKernels
5. Client server system
MONOLITHIC SYSTEMS
• “The Big Mess”
• The structure is that, there is no structure.
• The O.S. is written as collection of procedures.
• Each of which can call any of the other ones whenever it needs
to
• Each procedure in the system has a well defined interface in
terms of parameters and results.
• To construct actual object program of O.S., one first compiles all
individual procedures and then binds them all together into a
single object. file using the system Linker.
• In terms of Information hiding there is nothing because each
procedure is visible to every other procedure
MONOLITHIC SYSTEMS
• The services provided by O.S. are requested by putting parameter in well
defined places as in registers or on the stack and then executing a special
trap instruction known as kernel call.
• This instruction Switches machine from user mode to kernel mode and
transfers control to the O.S.
• The O.S. then examines the parameters of the call to determine which
system call is to be carried out
• In this model for each system Call there is one service procedures.
• That takes care of it.
• The utility procedures do things that are needed by several service
procedures as fetching data from user program.
OS STRUCTURE - SIMPLE APPROACH
• UNIX
• limited structuring
• has 2 separable parts
• Systems programs
• Kernel
1. Timesharing system
2. Multiprogramming
3. An extended machine with a more convenient interface
than the bare hardware.