OSDev.org
https://forum.osdev.org/

Send FSI to my AHCI controller
https://forum.osdev.org/viewtopic.php?f=8&t=56990
Page 1 of 1

Author:  Lorenzocc21 [ Sun Oct 22, 2023 4:30 am ]
Post subject:  Send FSI to my AHCI controller

Hello everyone I would like to try to send the identify(0xEC) command to the AHCI controller of my SATA Hard Disk, so I armed myself with documentation and explanation on this forum understanding that it was necessary to create a FIS and manipulate the registers of my Controller that are mapped in the memory of my pc to send the message, I would like to write some code but I do not understand if I need to examine the documentation of my AHCI controller or that what's on the forum is good for everyone.
how do I check the registers of my AHCI controller.

Author:  Octocontrabass [ Tue Oct 24, 2023 7:15 pm ]
Post subject:  Re: Send FSI to my AHCI controller

Lorenzocc21 wrote:
I would like to write some code but I do not understand if I need to examine the documentation of my AHCI controller or that what's on the forum is good for everyone.

All AHCI controllers are pretty much the same. (But you should still read the documentation anyway!)

Lorenzocc21 wrote:
how do I check the registers of my AHCI controller.

Enumerate PCI to find the AHCI controller, then read the appropriate BAR to find the address of the registers.

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/