This SATA drive the core part of the program is under the vxworks5.5 system that contains SATA initialization, command parsing, interrupt features such as mount, for Sata drivers under VxWorks development provides a good template, for reference only, not for commercial use.
File list:
ataDrv.c
ataDrv.h