Video Miniport Driver Initialization (Windows 2000 Model)

来源:互联网 发布:网络虚拟交易平台 编辑:程序博客网 时间:2024/06/05 18:41

  1. Video miniport driver initialization occurs after the NT kernel, HAL, and core drivers, such as the PCI bus driver, are loaded and initialized. The basic system initialization sequence occurs as follows:
  2. (视频小端口驱动初始化流程:)

  3.     The NT kernel and HAL are loaded and initialized.
  4.     1.(NT内核, HAL加载和初始化)

  5.     Core drivers such as the PCI bus driver are loaded and initialized.
  6.     2.(核心驱动(例如PCI总线驱动)加载和初始化)

  7.     The PCI bus driver obtains PCI resource information and the device ID and vendor ID from each of its children's PCI configuration spaces and reports this information back to the system.
  8.     3.(PCI总线驱动获取PCI资源信息、设备ID、厂商ID并返回给系统)

  9.     If the PnP manager recognizes the device and vendor IDs, the I/O manager loads the corresponding video miniport driver and the video port driver from a known location. If the PnP manager does not recognize the IDs, it prompts the user for the location of the miniport driver and loads it from this location.
  10.     4.(热插拔管理器识别设备和厂商ID,I/O管理器从已知的位置加载对应的视频小端口驱动和视频端口驱动。如果热插拔管理器不能识别IDs,则提示用户安装驱动)

  11.     The I/O manager calls the miniport driver's DriverEntry routine with two system-supplied input pointers. DriverEntry allocates and initializes a VIDEO_HW_INITIALIZATION_DATA structure with driver-specific and adapter-specific values, including pointers to the miniport driver's other entry points. DriverEntry must also claim any legacy resources, which are those resources not listed in the device's PCI configuration space but that are decoded by the device. See Claiming Legacy Resources for details.
  12.     5.(I/O管理器调用小端口驱动的DriverEntry函数,输入参数2个。DriverEntry函数分配和初始化VIDEO_HW_INITIALIZATION_DATA结构体,内容为驱动相关和硬件相关的值,以及小端口驱动的其他入口函数。DriverEntry 遇到设备PCI配置与硬件不匹配时,比如返回错误。参考Claiming Legacy Resources)

  13.     The miniport driver's DriverEntry function calls VideoPortInitialize. VideoPortInitialize performs those aspects of miniport driver initialization that are common to all miniport drivers. For example, for non-PnP drivers, VideoPortInitialize verifies portions of the miniport driver-initialized VIDEO_HW_INITIALIZATION_DATA structure, initializes some of the public members of the system-created device object, allocates memory for the device extension of the device object, and collects and stores pertinent information in the device extension. See Video Miniport Driver's Device Extension (Windows 2000 Model) for more details about device extensions. For PnP drivers, the device object-related actions occur at a later time.
  14.     6.(小端口驱动的DriverEntry 调用VideoPortInitializeVideoPortInitialize完成小端口驱动通用的初始化操作。)

  15.     When VideoPortInitialize returns, DriverEntry propagates the return value of VideoPortInitialize back to the caller. Miniport driver writers should make no assumptions about the value returned by VideoPortInitialize.
  16.     7.(VideoPortInitialize返回后,DriverEntry返回VideoPortInitialize的返回值给调用者。小端口驱动的开发者不能假设VideoPortInitialize的返回值)

  17. At this point, the system has loaded and initialized the video miniport driver. The next step is for the PnP manager to start the device. See Starting the Device of the Video Miniport Driver for details.
  18. (此时,系统加载和初始化完成视频小端口驱动。下一步等待Pnp管理器使用设备,参考Starting the Device of the Video Miniport Driver

<script>window._bd_share_config={"common":{"bdSnsKey":{},"bdText":"","bdMini":"2","bdMiniList":false,"bdPic":"","bdStyle":"0","bdSize":"16"},"share":{}};with(document)0[(getElementsByTagName('head')[0]||body).appendChild(createElement('script')).src='http://bdimg.share.baidu.com/static/api/js/share.js?v=89860593.js?cdnversion='+~(-new Date()/36e5)];</script>
阅读(466) | 评论(0) | 转发(0) |
0

上一篇:Video Miniport Driver Within the Graphics Architecture (Windows 2000 Model)

下一篇:Driver Development Part 6: Introduction to Display Drivers

相关热门文章
  • LNK1123: 转换到 COFF 期间失...
  • WIN7访问共享:0x80070035 找不...
  • Delphi 2010下载+完美破解...
  • vs2010调试C++程序时提示 无...
  • VISIO,不规则封闭图形填充方...
  • linux dhcp peizhi roc
  • 关于Unix文件的软链接
  • 求教这个命令什么意思,我是新...
  • sed -e "/grep/d" 是什么意思...
  • 谁能够帮我解决LINUX 2.6 10...
给主人留下些什么吧!~~
原创粉丝点击