Clean up AHCI: volatile, and sata_reset

This commit is contained in:
Justin C. Miller
2018-05-22 00:31:01 -07:00
parent 1726d10554
commit 7f69a6c9b1
7 changed files with 54 additions and 26 deletions

View File

@@ -25,7 +25,8 @@ uint64_t rdmsr(uint64_t addr);
void wrmsr(uint64_t addr, uint64_t value);
/// Pause briefly by doing IO to port 0x80
void io_wait();
/// \arg times Number of times to delay by writing
void io_wait(unsigned times = 1);
}