Kernel of an operating system kernel belongs to the field of computer science and software engineering and it is the Kernel which build the operating system. Kernel acts like an Layer to bridge the hardware capabilities translated to the softwares. Firmware, in the middle works like a middle man. Previously we published an article on Kernel Panic and while explaining Kernel Panic, we said some thing about hardware checking mechanism of an Operating System.
What is this Kernel in simple words ?
We wrote about OSI Layers before. Like OSI, a computer system core can be divided in layers. If we arrange the components it will be like Interface to the hardware components (including core parts like memory, processors) ; Memory management (including virtual memory ) ; Process management (including scheduler) ; Device management (including device management ) and finally the File Systems.
All these can be virtually integrated in to Kernel. Basically we call it as monolithic kernel. Ultimately our target is to use a software to perform a work. For multiple applications, Operating System has been developed. To run an application on this Operating System, this kernel actually creates the environment to run an application, this kernel loads the files of the application, sets up the needed virtual memory and other components and starts its execution.
What a Kernel does for the OS ?
Kernel provides the interface for programs to start, stop, give memory access etc. Its the Kernel which controls the to processor, devices, memory. So Kernel does the distribution of hardware resources to the user programs, including the mapping of file systems on hard drives.
In other words, if you forget the Operating System in middle, for the sake of understanding how Kernel works, simple think you will run a Game on your computer, to run the game the hardware components like graphics card, RAM, processor will be used. The game is the software here and its the Kernel which makes the communication.
Follow the Author of this article :