Nội dung liên quan
#child-handle
Start() trong UEFI Driver Model là gì?
Start() là nơi driver bind vào controller: open BY_DRIVER, install protocol, tạo child handle nếu là bus driver. Hiểu cleanup fail path và anti-pattern làm handle database bẩn.
Stop() trong UEFI Driver Model là gì?
Stop() là cleanup đối xứng của Start(). Hiểu CloseProtocol, uninstall protocol, NumberOfChildren, destroy child handle và anti-pattern làm DisconnectController fail.
UEFI Bus Driver là gì?
UEFI Bus Driver enumerate child device và tạo child handle với Device Path. Hiểu chuỗi protocol từ bus đến boot option và lỗi khi child handle thiếu hoặc Device Path sai.
UEFI Device Driver là gì?
UEFI Device Driver bind vào child handle do bus driver tạo, install abstraction protocol. Hiểu protocol chain đến boot menu và lỗi khi device có handle nhưng không lên boot option.