找回密码
 加入计匠网
搜索
热搜: BIOS ACPI CPU Windows
楼主: winbondowen

UEFI 正常启动过程--与EDK为例,大家一起讨论吧!

[复制链接]
发表于 2008-9-25 08:14:09 | 显示全部楼层
原帖由 xtdumpling 于 2008-9-24 19:00 发表 * b$ J5 g# I' w3 _5 A7 J3 V
Timer是挂在8259的IRQ0的中断处理程序上面的, 大概每秒18.3次调用CoreTimerTick()-->CoreCheckTimers()- U/ M  }3 L0 o' b2 ~9 ]. v
TPL=30
* {1 ]/ t% C* w& w! x  o+ {1 r! O
回复

使用道具 举报

发表于 2008-9-25 08:48:51 | 显示全部楼层
Timer要想使用必须在EfiTimerArchProtocol安装以后对吧?且在TimerInterruptHandler中调用CoreTimerTick检查是否有事件到时,如果到时就signal它,然后返回TimerInterruptHandler中再RestoreTPL,就可把pend的事件执行了,大概是这样的吧Xt?
回复

使用道具 举报

发表于 2008-9-25 09:39:08 | 显示全部楼层
大概就是这样的6 O, J; n& v) n7 T
回复

使用道具 举报

发表于 2008-9-25 09:45:39 | 显示全部楼层

对14#修正

原帖由 xtdumpling 于 2008-9-18 15:22 发表
/ V6 B  N, w1 T  X( I4 o  a...
! O; Y8 o$ D2 G- {: p% L所以,照code看,当在Driver中安装一个Handle和Interface到Binding Protocol后(gHandleDatabaseKey会++,IHandle的Key=gHandleDatabaseKey)6 A6 }$ f% k7 P! N: E& ~6 J
是会去ConnectController的,也会执行对应的Support()和Start()才对!!

9 n$ p  ^$ ^1 l5 U4 D上面这句是不对的,
2 l* o. x- z2 O, |6 P因为ConnectController只会处理ControllerHandle,和ImageHandle/DriverBindingHandle无关
7 C: Y% N6 Y- b" i0 r5 k所以应该是当有新的ControllerHandle产生时,才会ConnectController()-->Support()/Start()
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 加入计匠网

本版积分规则

Archiver|手机版|小黑屋|计匠网

GMT+8, 2026-9-19 21:03 , Processed in 0.087423 second(s), 14 queries .

Powered by Discuz! X3.5

© 2001-2025 Discuz! Team.

快速回复 返回顶部 返回列表