Posts

Linux Device Drivers Part - 2 : System Memory, Static Modules and Dynamic Modules

Image
Before proceeding further, I strongly recommend you to watch Part-1 of Linux Device Drivers from MrTechpathi tutorials . In this part we will learn about following topics. System Memory Kernel Space and User Space Kernel Modules : Static Modules and Dynamic Modules So lets start with our first topic 1. System Memory This topic is choosen to completely understand user space and kernel space. Every system has certain amount of memory. This memory consists of RAM (Random Access Memory) cells, whose contents can be accessed (i.e., read and written to) at extremely high speeds but are retained only temporarily (i.e., while in use or, at most, while the power supply remains on). Coming to the purpose of memory, it holds programs and data that are currently in use and thereby serve as a high speed mediumbetween the CPU (central processing unit) and the much slower storages like hard disk drives (HDDs). This System memory in Linux can be divided into two distinct region

Linux Device Drivers Part - 1 : What is Linux Device Driver ?

Image
From today, we  will be discussing about Linux Device Drivers which are very useful for Device Driver programmers. Linux has more future and those who learn more on Linux Kernel and Device drivers will benefit a lot. Linux is one of the best open source operating system which is available to everyone. It is majorly used operating system in smart phones and Embedded Systems these days. Yes all, Android phones have Open source Linux Operating system in it which is customized according to Smartphone vendor needs. So, lets start with Linux Device Driver Programming.. Scope of this Tutorial To gain in depth knowledge on Linux Device Driver. From now on, for your convenience, we will be discussing this topic part by part. In this part we will know about What is a Linux Device Driver ? So What is a Linux Device Driver ? Linux Device drivers are distinct “black boxes” that make a particular piece of hardware respond to a well-defined internal programming interface.They c