Tất cả chuyên mục

Mục

Driver Types

Có 7 nội dung trong category này.

Nội dung liên quan

Driver Types

Ghi chú Driver Types

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.

#uefi#driver-binding#start +5
Ghi chú Driver Types

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#driver-binding#stop +5
Ghi chú Driver Types

Supported() trong UEFI Driver Model là gì?

Supported() là hàm probe của Driver Binding. Hiểu return status, OpenProtocol attribute đúng, anti-pattern làm driver không bao giờ bind và cách trace khi Supported fail.

#uefi#driver-binding#supported +3
Ghi chú Driver Types

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#bus-driver#child-handle +4
Ghi chú Driver Types

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.

#uefi#device-driver#block-io +4
Ghi chú Driver Types

UEFI Runtime Driver là gì?

UEFI Runtime Driver dùng DXE_RUNTIME_DRIVER để code/data tồn tại sau ExitBootServices. Hiểu runtime memory, ConvertPointer, EVT_SIGNAL_VIRTUAL_ADDRESS_CHANGE và giới hạn sau EBS.

#uefi#runtime-driver#dxe-runtime-driver +4
Ghi chú Driver Types

UEFI Service Driver là gì?

UEFI Service Driver install protocol lên service handle, không cần Driver Binding. Hiểu service handle pattern, khi nào dùng thay vì driver binding, và cách trace service protocol.

#uefi#service-driver#dxe +4