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.