EmbLogic's Blog

Author Archives: Atif hasnain Zaidi

linux booting process.

booting process. 1.BIOS(Basic Input/Output System) 2.MBR(Master Boot Record) 3.LILO or GRUB LILO:-LInux LOader GRUB:-GRand Unified Bootloader 4.Kernel 5.init 6.Run Levels 1.BIOS: i.When we power on BIOS performs a Power-On Self-Test (POST) for all of the different hardware components in the … Continue reading

Posted in Uncategorized | Leave a comment

character driver proc with kernel 3.12

Add two header proc_fs.h, seq_file.h Initialize the proc by proc_create() and remove by remove_proc_entry() Map the file operation in structure write open proc function and give entry

Posted in Character Driver | Leave a comment

ioctl

Create a file that contain all macros, that is used by by user as a command this file called ioctl.h After creating ioctl.h ,you create a file ioctl.c that file work for kernel space, that file contain all command specific … Continue reading

Posted in Uncategorized | Leave a comment

character driver

character ioctl completed

Posted in Uncategorized | Leave a comment

character driver

Finally i completed the writing in multiple quantum. Description of my Character driver- step-1-> registered the driver by alloc_chrdev_region() and unregistered in exit function by unregister_chrdev_region(). After registering the driver you have major number that is given by by kernel. step-2->Now … Continue reading

Posted in Character Driver | Leave a comment