kernel icon indicating copy to clipboard operation
kernel copied to clipboard

1. Kernel

1. How to build and install the latest Linux Kernel

2. The Linux Kernel Module Programming

This repository contains a collection of simple C programs that demonstrate different aspects of programming on Linux. The Linux Kernel Module Programming was written for the 4.4 kernels by Hai Dang. It covers the fundamental and essential linux device driver and Kernel programming. All programs should compile and run on modern Linux machines. Compile all of them by typing make and clean up all files by typing make clean. These topic include:

1. Hello Kernel

2. Character Device Driver !!!

3. Time Jiffies

4. Tasklet and Workqueue

5. Interrupt handler

6. PCI Device Driver !!!

7. USB Device Driver !!!

Downloading

To download this repository onto a Linux machine that has git installed, try:

	git clone https://github.com/danghai/Kernel.git
	cd Kernel

To ensure that your copy of the repository is up-to-date, run the following comamnd:

	git pull

If you want to ensure that your copy of the repository exactly matches the latest version of the this repository, run the following when you are in Kernel directory

	git fetch -all
	git reset --hard origin/master

Reference: