没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
Wind River Systems
i
Tornado
Device Driver
Workshop
Wind River Systems, Inc.
500 Wind River Way
Alameda, CA 94501
510-749-2148
FAX: 510-749-2378
training@wrs.com
http://www.wrs.com/training
Version 3.0
February 1999
®
Wind River Systems
ii
Copyright © Wind River Systems, Inc. 1991-1999
Version 3.0, 2/99
ALL RIGHTS RESERVED. No part of this
publication may be reproduced in any form, by
photocopy, microfilm, retrieval system, of by any
other means now known or hereafter invented
without the prior written permission of Wind
River System, Inc.
This document is designed to support the
VxWorks Device Driver Workshop class. It is not
designed as a stand-alone document, nor can it
substitute for the VxWorks documentation.
For information about the Wind River Systems
training program, see:
http://www.wrs.com/training
Training Department .
Wind River Systems, Inc.
500 Wind River Way
Alameda, CA 94501
510-749-2148 (phone)
510-749-2378 (fax)
email: training@wrs.com
For training in Europe, Asia and Africa, please
contact your local sales office.
VxWorks
®
and Wind River Systems
®
are registered trademarks and
Tornado, wind, windX, WindPower, WindNet, WindNet SNMP, WindView,
VxGNU, VxGDB, VxSim, VxVMI, VxMP, and MicroWorks are trademarks
of Wind River Systems, Inc. All other trademarks cited herein are the
properties of their respective owners.
Wind River Systems
iii
Course Objectives
• Access memory-mapped and port I/O registers across a
bus
• Use the VxWorks shell when designing and coding a
device driver
• Manage an interrupt as well as non-interrupt driven
devices
• Write a library of routines to control a device (a non-
standard device driver interface)
• Write a standard device driver interface (using the
VxWorks I/O system)
●
writing a non-block (character) driver
●
writing a block driver
• Write a serial driver
• Write custom code to support a SCSI device
• Write an Enhanced Network Driver.
Wind River Systems
iv
What this Course does NOT Cover
• Writing a Board Support Package (BSP)
• Writing a SCSI controller driver
• Writing “drivers” for peripheral chips on a CPU card
other than serial or network controllers.
Wind River Systems
v
Table of Contents
Chapter
Introduction........................................................... 1
Devices and device drivers
Bus addressing
Processors and busses
Cache issues
Methodologies.......................................... 2
Overview
Access macros and C-callable assembly
routines
Memory-mapped vs. port I/O
Object-oriented design
Error handling
D/A lab
PIO lab
Polling and Interrupt Handling ............................3
Overview
Polling
Interrupt handling
Design considerations
Polling lab
Interrupt lab
Writing Character Device Drivers..................... 4
I/O system overview
Driver initialization
I/O system driver entry points
Removing device and drivers
Supporting select in a driver
Ring buffer character driver lab
PIO character driver lab
剩余505页未读,继续阅读
资源评论
- Rat_boy2014-03-26正在进行Vxworks开发,非常好,非常实用。
xjhuang99
- 粉丝: 1
- 资源: 5
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功