Remove AHCI debug dumps

This commit is contained in:
Justin C. Miller
2018-05-21 09:07:32 -07:00
parent 3fdf246a22
commit 87d80f84c2
2 changed files with 0 additions and 6 deletions

View File

@@ -311,15 +311,11 @@ port::read_async(uint64_t offset, size_t length, void *dest)
size_t
port::read(uint64_t offset, size_t length, void *dest)
{
dump();
int slot = read_async(offset, length, dest);
dump();
int timeout = 0;
while (m_pending[slot].type == command_type::read) {
if (timeout++ > 5) {
m_hba->dump();
dump();
return 0;
}
asm("hlt");
@@ -384,7 +380,6 @@ port::handle_interrupt()
if (m_data->interrupt_status & 0x40000000) {
log::error(logs::driver, "AHCI task file error");
dump();
kassert(0, "Task file error");
}