26.08.2013 Views

366.7 KB - Evernote

366.7 KB - Evernote

366.7 KB - Evernote

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Table of Contents<br />

Introduction And Acknowledgements ................................................................................................... 4<br />

APC Basic Concepts ............................................................................................................................ 4<br />

APC Process Context ........................................................................................................................... 4<br />

APC Types ........................................................................................................................................... 5<br />

APC Initialization .................................................................................................................................. 6<br />

Initial APC Scheduling .......................................................................................................................... 8<br />

Special And Regular Kernel Mode APCs.............................................................................................. 9<br />

Scheduling ........................................................................................................................................ 9<br />

Linking _KAPC to Its List ............................................................................................................... 9<br />

Directing The Thread to Execute The APC ................................................................................... 9<br />

Triggering Thread Dispatching .................................................................................................... 19<br />

Delivery ........................................................................................................................................... 19<br />

Effect of _KTHREAD.SpecialApcDisable Being Set .................................................................... 20<br />

Kernel APC Delivery When SpecialApcDisable Is Clear .............................................................. 21<br />

Special Vs. Regular Kernel APCs ................................................................................................... 23<br />

User Mode APCs ................................................................................................................................ 23<br />

Scheduling ...................................................................................................................................... 23<br />

Linking _KAPC to Its List ............................................................................................................. 24<br />

Directing The Thread to Execute The APC ................................................................................. 24<br />

nt!PsExitSpecialApc and The Special User APC ......................................................................... 24<br />

Triggering Thread Dispatching .................................................................................................... 25<br />

Delivery ........................................................................................................................................... 25<br />

nt!KiDeliverApc Invocation........................................................................................................... 25<br />

Effect of User Mode APCs on Kernel Wait Functions .................................................................. 26<br />

nt!KiDeliverApc for User APCs .................................................................................................... 27<br />

2

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!