200 likes | 708 Views
Device Drivers & Interrupts. By: Prof. Mahendra B. Salunke Asst. Prof., Department of Computer Engg, SITS, Pune-41. Email: msalunke@gmail.com URL: microsig.webs.com. Contents. Device Drivers Device Servicing without using an ISR Device Servicing using an ISR
E N D
Device Drivers & Interrupts By: Prof. Mahendra B. Salunke Asst. Prof., Department of Computer Engg, SITS, Pune-41 Email: msalunke@gmail.com URL: microsig.webs.com
Contents • Device Drivers • Device Servicing without using an ISR • Device Servicing using an ISR • Writing Physical Device Driving ISRs • Device drivers in a system • Interrupts • Interrupt servicing mechanism • Context, Latency and Deadline
Device Drivers • Device Servicing without using an ISR • Device Driver using ISR • Writing Physical Device Driving ISRs
Writing Physical Device Driving ISRs • It is important to understand different points before writing device driver
Device drivers in a system • Parallel port device driver • Serial port device driver • Device drivers for internal programmable timing devices
Interrupts • It is a signal to the processor generated by software or hardware, which may lead interruption to current program execution. • Maskable and Non-maskable interrupt • Interrupt Enable bit • Interrupt mask bit • Interrupt flag • Interrupt vector • Interrupt vector table • Interrupt pending regsiter
Interrupt servicing mechanism • Hardware and software related interrupt sources • Software error related hardware interrupts • Software instruction related interrupt sources • Hardware interrupts related to internal devices • Interrupt vector • Classification: Maskable and non-maskable • Interrupt pending register or status register
Happy Learning Contact Details: Email: msalunke@gmail.com URL: microsig.webs.com