Yes, I mean memory buffers allocated with ArmDmaLib's AllocateBuffer(). Those buffers' addresses are entered into SATA controller register's. Buffers should be updated (after performing necessary init) with data from hardware, but in my case, it doesn't happen.
[Shaveta] Does it all happen before device probing?
I mean, what if there is no SATA device attached? Then this code would not work, right?
It happens after probing. If no SATA device is attached, we break execution and go to next port's init sequence. Link is detected properly.