Kernel: Add lock to Disk reads before I forget

This commit is contained in:
Bananymous
2023-02-26 03:48:11 +02:00
parent ee5d02aa70
commit 7d84f290a1
3 changed files with 6 additions and 6 deletions

View File

@@ -1,6 +1,7 @@
#pragma once
#include <BAN/Errors.h>
#include <kernel/SpinLock.h>
#include <kernel/Storage/StorageController.h>
namespace Kernel
@@ -33,6 +34,7 @@ namespace Kernel
char model[41];
ATABus* bus;
SpinLock m_lock;
friend class ATAController;
};