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

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

[复制链接]
发表于 2008-9-25 08:14:09 | 显示全部楼层
原帖由 xtdumpling 于 2008-9-24 19:00 发表
5 q6 L( f1 v( r8 P% ?6 uTimer是挂在8259的IRQ0的中断处理程序上面的, 大概每秒18.3次调用CoreTimerTick()-->CoreCheckTimers()3 q, o' f5 y4 ]' k5 u3 P" d. m
TPL=30

5 y' f3 h* U5 e9 ?7 O* r
回复

使用道具 举报

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

使用道具 举报

发表于 2008-9-25 09:39:08 | 显示全部楼层
大概就是这样的
* w$ U4 B/ h# Q0 Y/ N
回复

使用道具 举报

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

对14#修正

原帖由 xtdumpling 于 2008-9-18 15:22 发表 * J3 B  a% {9 w% u
...  k, F0 ]9 f# ^6 U! V9 ~* w
所以,照code看,当在Driver中安装一个Handle和Interface到Binding Protocol后(gHandleDatabaseKey会++,IHandle的Key=gHandleDatabaseKey)
1 M( l( u6 n0 M' s& ^) L! X是会去ConnectController的,也会执行对应的Support()和Start()才对!!

+ J( K: L" W  H2 T4 f$ v上面这句是不对的,
' F9 D9 `$ A. Q因为ConnectController只会处理ControllerHandle,和ImageHandle/DriverBindingHandle无关# j) v7 H, D+ F. P
所以应该是当有新的ControllerHandle产生时,才会ConnectController()-->Support()/Start()
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2026-1-19 00:25 , Processed in 0.115874 second(s), 14 queries .

Powered by Discuz! X3.5

© 2001-2025 Discuz! Team.

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