Newer
Older
AMI-Aptio-BIOS-Reversed / AtaPassThru / README.md
@Ajax Dong Ajax Dong 2 days ago 918 bytes Init

AtaPassThru, 0157, 7200 bytes, DXE

Implements the UEFI EFI_ATA_PASS_THRU_PROTOCOL for ATA/SATA controllers on the HR650X platform. This driver provides register-level ATA command passthrough to upper-layer drivers like AtaBusDxe. It enumerates ATA ports via child handle traversal and dispatches ATA commands (NonData, PIO Data-In/Out, DMA, ATAPI, Reset) through a device interface vtable.

Key Functions: AtaPassThruInit, AtaPassThruDriverBindingStart (port enumeration + protocol install), AtaPassThruSendCommand (11 protocol types dispatched via vtable), AtaPassThruGetNextPort, AtaPassThruGetNextDevice, AtaPassThruEnumeratePorts, AtaPassThruBuildDevicePath, AtaPassThruResetPort/ResetDevice.

Protocols/Dependencies: EFI_ATA_PASS_THRU_PROTOCOL, ATA_PASS_THRU_CHILD_PROTOCOL, ATA_PASS_THRU_CONTROLLER_GUID, ATA_PASS_THRU_DEBUG_PROTOCOL, HOB List (DXE).

Platform: AmiModulePkg/AtaPassThru, HR650X AMI UEFI BIOS.