AMI-Aptio-BIOS-Reversed / AmiModulePkg / AtaPassThru / AtaPassThru /
@Ajax Dong Ajax Dong authored 7 days ago
..
AtaPassThru.c Recovering names (well, look still has huge cleanups) 7 days ago
AtaPassThru.h Recovering names (well, look still has huge cleanups) 7 days ago
AtaPassThru.md Restructure the repo 7 days ago
README.md Restructure the repo 7 days ago
README.md

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.