Hi everyone.
So, with the help of the community, finally was sent the command with
ATA_PASS_THRU ( \o/ ), but ( :'( ) the command doesn't  worked!!.



Packet.Protocol =       EFI_ATA_PASS_THRU_PROTOCOL_ATA_NON_DATA;
Packet.Length   =       EFI_ATA_PASS_THRU_LENGTH_BYTES;
Packet.Asb      =       &Asb;
Packet.Acb      =       &Acb;
Packet.InDataBuffer     =       Buffer;
Packet.InTransferLength =       512;
Packet.Timeout          =       ATA_PASS_THRU_TIMEOUT;

Acb.AtaCommand = b0;
Acb.AtaFeatures = d4;
Acb.AtaSectorNumber=    0x01;
Acb.AtaCylinderLow =    4f;
Acb.AtaCylinderHigh=    c2;

ataDevice->PassThru(ataDevice,Port,PortMultiplier,&Packet,NULL);

If i look the registers(recorders) , the commands are over there whitout
running.


------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to