Chapter 15: Scheduling, Thread Context, and IRQL


Overview

Thread context and the current IRQL for each processor have important effects on how kernel-mode drivers work. Microsoft Windows Internals provides a thorough description of thread scheduling and quantums. This chapter covers the basics of thread scheduling, thread context, and IRQL. It also explains how a driver can use a work item to launch a PASSIVE_LEVEL function from code that runs at DISPATCH_LEVEL.

For this chapter, you need

From


Samples

Usbsamp

%wdk%\src\kmdf\usbsamp

Toastmon

%wdk%\src\kmdf\Toaster\Toastmon

WDK documentation

Do Waiting Threads Receive Alerts and APCs?

http://go.microsoft.com/fwlink/?LinkId=80071

Specifying Priority Boosts When Completing I/O Requests

http://go.microsoft.com/fwlink/?LinkId=81582

Locking Pageable Code or Data

http://go.microsoft.com/fwlink/?LinkId=82719

Other

"Interrupt Architecture Enhancements in Windows" on the WHDC Web site

http://go.microsoft.com/fwlink/?LinkId=81584

Microsoft Windows Internals

http://go.microsoft.com/fwlink/?LinkId=82721




Developing Drivers with the Microsoft Windows Driver Foundation
Developing Drivers with the Windows Driver Foundation (Pro Developer)
ISBN: 0735623740
EAN: 2147483647
Year: 2007
Pages: 224

Similar book on Amazon
Windows Internals, Part 1: Covering Windows Server 2008 R2 and Windows 7
Windows Internals, Part 1: Covering Windows Server 2008 R2 and Windows 7
Windowsu00ae Internals: Including Windows Server 2008 and Windows Vista, Fifth Edition (Pro Developer)
Windowsu00ae Internals: Including Windows Server 2008 and Windows Vista, Fifth Edition (Pro Developer)
Advanced Windows Debugging
Advanced Windows Debugging
The Windows 2000 Device Driver Book: A Guide for Programmers (2nd Edition)
The Windows 2000 Device Driver Book: A Guide for Programmers (2nd Edition)

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net