Advanced Debugging
About AdvDbg Consult Train Services Products Tools Community Contact  
欢迎光临 高端调试 登录 | 注册 | FAQ
 
  ACPI调试
Linux内核调试
Windows内核调试
 
  调试战役
调试原理
新工具观察
 
  Linux
Windows Vista
Windows
 
  Linux驱动
WDF
WDM
 
  PCI Express
PCI/PCI-X
USB
无线通信协议
 
  64位CPU
ARM
IA-32
  CPU Info Center
 
  ACPI标准
系统认证
Desktop
服务器
 
  Embedded Linux
嵌入式开发工具
VxWorks
WinCE
嵌入式Windows
 
  格蠹调试套件(GDK)
  格蠹学院
  小朱书店
  老雷的微博
  《软件调试》
  《格蠹汇编》
  《软件调试(第二版)》
沪ICP备11027180号-1

Print Search
帖子排序:    
   2010-12-10, 16:48 下午
AntBean 离线,最后访问时间: 2011/1/4 5:39:57 AntBean

发帖数前500位
注册: 2010-12-06
发 贴: 4
读深入解析windows操作系统 ,++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Reply Quote

书中提到:

“.....IO系统必须将系统内存中的数据拷贝到调用者的虚拟地址空间中,如果IRP是以同步方式完成的,则调用者的地址空间是当前可直接访问的。但如果此IRP是以异步方式完成的,则IO管理器必须将此IRP的完成延迟到它可以访问调用者的地址空间为止。”

我觉得很疑惑,难道IRP在以同步方式完成的情况下,调用者的地址空间就可以直接访问?

是不是说,在同步方式下,如果读取设备成功就直接返回,这个期间,当前进行同步读取的线程所在的进程不可能被调度?

恳请指点。


IP 地址: 已记录   报告
   2010-12-12, 03:59 上午
WANGyu 离线,最后访问时间: 2012/9/10 3:34:00 王宇

发帖数前10位
男
注册: 2007-05-08
发 贴: 306
Re: 读深入解析windows操作系统 ,++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Reply Quote
兄台不至于加这么长的 ++++ 吧... 我找个回复按钮都要拖半天 ( 我现在穷的都用不起鼠标... )

看这里:

http://advdbg.org/dfstore//img/Understanding%20and%20Using%20Execution%20Context%20in%20Windows%20NT%20Drivers.pdf

这可是 OSR 1996 年的文章,到现在都没过时,可见微软的兼容性。

唉 想当年我也真闲,还有心情用 Latex 整理文章...
IP 地址: 已记录   报告
   2010-12-14, 15:04 下午
AntBean 离线,最后访问时间: 2011/1/4 5:39:57 AntBean

发帖数前500位
注册: 2010-12-06
发 贴: 4
Embarrassed [:$] Re: 读深入解析windows操作系统 ,++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Reply Quote

谢谢王宇兄。

我当时一不留神,多点了几下,结果就拖了这么长了。。。


IP 地址: 已记录   报告
高端调试 » 内核探秘 » Windows内核 » Re: 读深入解析windows操作系统 ,++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

 
Legal Notice Privacy Statement Corporate Governance Corporate Governance
(C)2004-2020 ADVDBG.ORG All Rights Reserved.