執行 fs0:\> load drivermd.efi -nc 

會跳進 DriverBinding Protocol 執行 Supported Function 一次  > 不曉得為甚麼

在輸入 fs0:\> connect "DriverBinding Handle #"    

Firmware 會將 ControllerHandle 一個一個傳進 Supported Function

透過Supported Function 判斷是否為有效的Controller Handle

(ConnectController Status : SUCCESS  的訊息和Supported Function 無關)

 

重點來了

1. ConnectController Status : SUCCESS  的訊息是看Start Function 回傳的Status。

2. Controller 是否被 Driver Manage ,要看這個 Handle 的 Protocol 底下的 Agent 是否

    用 EFI_OPEN_PROTOCOL_BY_DRIVER 這個 Attribute 去 OpenProtocol。

文章標籤
全站熱搜
創作者介紹
創作者 linch0520 的頭像
linch0520

linch0520的部落格

linch0520 發表在 痞客邦 留言(0) 人氣(917)