OS and Hardware Interaction( Kernel and Drivers )
dev.to·4d·
Discuss: DEV
🐧Linux
Preview
Report Post

Ever wondered how your operating system is interacting with bluetooth or wifi card!!!

Let’s begin with a simple scenario:

Assume you want to connect your bluetooth headphones to your PC,you click on connect button and get message like "Connected" or "Unable to connected"....

What happened in between your click and message is: UserActions –> UI Framework –> UserSubsystem makes Systemcalls –> Kernel Mode –> Kernel calls respective drivers –> Hardware

Seems easy???Nahh its not! Your user subsytem makes a system call to access the hardware which is passed to kernel.Thats when the main part kicks in.

Lets deep dive into kernel first:

Kernel is usually not a layered structure....its a mixture of modular,monolithic as well as layered structure....but …

Similar Posts

Loading similar posts...