Author(s): Artem Kotovsky
Publisher: Apriorit Inc.
Year: 0
Language: English
Pages: 104
What is it all about?......Page 2
Table of Contents......Page 3
Pros and cons of using a QEMU virtual device......Page 4
Driver implementation stages......Page 5
I/O address space......Page 6
Interrupts......Page 9
Line-based interrupts......Page 10
Message-signaled interrupts......Page 12
Bus mastering......Page 14
Test device specifications......Page 17
Structure of the device I/O memory......Page 18
Interrupts......Page 24
Device description in QEMU......Page 29
Initializing the device in QEMU......Page 32
Working with the I/O memory space......Page 36
Working with interrupts......Page 41
Working with DMA memory......Page 45
Processing requests......Page 49
QEMU device......Page 56
The minimum driver......Page 58
Initializing device resources......Page 59
Working with I/O memory......Page 67
Interrupt handling......Page 69
Working with DMA......Page 73
Sending requests to the device......Page 77
Processing requests from a user mode application......Page 81
Testing and debugging......Page 83
Quality control of driver code......Page 87
Driver installation......Page 88
Driver communication......Page 93
Implementing driver unit tests......Page 94
Implementing driver autotest......Page 96
Driver verification with Driver Verifier and WDF Verifier......Page 97
References......Page 103