OSDev.org

The Place to Start for Operating System Developers
It is currently Tue Apr 16, 2024 6:40 pm

All times are UTC - 6 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Send FSI to my AHCI controller
PostPosted: Sun Oct 22, 2023 4:30 am 
Offline

Joined: Sun Oct 22, 2023 4:20 am
Posts: 1
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.


Top
 Profile  
 
 Post subject: Re: Send FSI to my AHCI controller
PostPosted: Tue Oct 24, 2023 7:15 pm 
Offline
Member
Member

Joined: Mon Mar 25, 2013 7:01 pm
Posts: 5134
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.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: No registered users and 43 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group