Kernel: Make disk IO blocking thread safe

This was causing a lot of deadlocks on vms without kvm accel
This commit is contained in:
Bananymous
2023-06-12 18:57:47 +03:00
parent 23543b15ca
commit 5dcc53bcf2
2 changed files with 2 additions and 6 deletions

View File

@@ -1,7 +1,6 @@
#pragma once
#include <BAN/Errors.h>
#include <kernel/Semaphore.h>
#include <kernel/SpinLock.h>
#include <kernel/Storage/ATAController.h>
@@ -56,7 +55,6 @@ namespace Kernel
const uint16_t m_base;
const uint16_t m_ctrl;
SpinLock m_lock;
Semaphore m_semaphore;
bool m_has_got_irq { false };