This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

请教大神们!启动BIOS读写SATA问题



不用BIOS可编程能够实现SATA的读写,现保持其初始化和SATA初始化程序不变,只是启用了BIOS,能够通过测试:...disk spin-up success. 但不能读写SATA,且程序停留在这一循环语句上:

while(sataRegs->IS == 0); //// Stay here until an interrupt is received.

我把读写SATA的程序放在主函数中启动BIOS之前还是不行,非常困扰,希望知道的大神帮忙解答一下,非常感谢!!