How to Develop Embedded Software Using The QEMU Machine Emulator

This document was uploaded by one of our users. The uploader already confirmed that they had the permission to publish it. If you are author/publisher or own the copyright of this documents, please report to us by using this DMCA report form.

Simply click on the Download Book button.

Yes, Book downloads on Ebookily are 100% Free.

Sometimes the book is free on Amazon As well, so go ahead and hit "Search on Amazon"

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