any body knows how to debug ahci controller, is there any debugger avaliable for that?
i have trouble with my ahci controller dirver, based on the serial ata spec pubblished by intel, my driver work fine on my hp ich6 chipset and virtualbox, but it is weird on my asus laptop which uses intel ich9m chipset, the ahci reset command always timeout.
virtualbox can only show me the result of my driver works, but for figuring out what and where i need to fix my code through debugging it step by step, any one have some good sulotions or suggestions?
thanks.
debug ahci controller
Re: debug ahci controller
Debugging support is something that should be present in your OS, not in the emulators you use. How else would you go about debugging when real hardware doesn't work?
Re: debug ahci controller
thanks for your post.rdos wrote:Debugging support is something that should be present in your OS, not in the emulators you use. How else would you go about debugging when real hardware doesn't work?
i think that maybe i forget something when i initialize the controller, attachment is my source code, hope you can reivew it and do me a favour, thanks.
source code below. it works fine on virtualbox, header file