基于linux的驱动设计,《基于LINUX的虚拟驱动设计》-毕业论文.doc

PAGE 40

l

摘 要

驱动程序是当前最热门、最有发展前途的IT应用技术之一。目前的驱动程序的开发主要应用在包括键盘 、鼠标、扫描仪、打印机以及存储设备等日益普及的设备之间的通讯上。但是要使这些设备像在Windows中一样,运行在Linux操作系统中,就需要编写Linux下的设备驱动程序。随着计算机技术的发展,越来越多的交互设备需要优良的驱动程序,这需要一个高性能、高可靠的驱动程序的支持。本文探讨了驱动的基础结构,并以虚拟驱动程序为例,利用Vi编辑器开发Linux下的虚拟驱动程序。

本文基于Linux平台的驱动程序开发的研究,基于Linux平台可以和基于Windows平台一样进行驱动程序的开发。驱动程序的开发方式既可以基于实际的硬件,也可以基于虚拟的设备。本文是一个来源于嵌入式Linux的应用开发,目的是为了提供基于Linux平台的虚拟驱动程序开发的方法,从而为潜入式的开发与学习打下基础。本文首先通过通过编写简单的Hello World程序,编译成模块,然后安装进内核的方式,逐步递增难度,从而实现一个完整的虚拟驱动程序的实例。

关键字:Linux系统,驱动程序,GCC编译器,Vi编辑器

The Design of Virtual Device Driver Based on Linux

ABSTRACT

Drivers is one of the most popular and promising IT technique now. The major application of driver exploitation, including keyboard, mouse, scanner, printer and storage devices become increasingly popular on the communication between devices. However we should program device driver in Linux if we want to make these devices in the same as in Windows running on the Linux operating system. With the development of computer technology, more and more interactive devices require good drivers, thus an effective and reliable drivers is in demand to meet the requirement. This paper discusses the USB driver's infrastructure, and to the visual device driver, for example, using editor Vi to develop visual driver for Linux.

This essay is based on the Linux driver development research. Linux and Windows can also be carried out as driver development. Driver development mode can either work on the actual hardware, but also can be based on the virtual device. This is a article from the embedded Linux application development, the purpose is to provide a virtual platform based on Linux driver development approach. First by writing a simple hello world into the module, install into the kernel, and gradually increase the difficulty to achieve a complete instance of the virtual driver.

Key words: Linux system,Virtual Driver Device,GCC,Vi

基于Linux的虚拟驱动程序设计

0 引言

Linux操作系统,是一类Unix计算机操作系统的统称。该操作系统的核心的名字也是“Linux”。Linux操作系统也是自由软件和开放源代码发

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值