summaryrefslogtreecommitdiff
path: root/Kernel/Storage/ATA/AHCIController.h
diff options
context:
space:
mode:
Diffstat (limited to 'Kernel/Storage/ATA/AHCIController.h')
-rw-r--r--Kernel/Storage/ATA/AHCIController.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/Kernel/Storage/ATA/AHCIController.h b/Kernel/Storage/ATA/AHCIController.h
index 35e49188d6..79abc0d1f7 100644
--- a/Kernel/Storage/ATA/AHCIController.h
+++ b/Kernel/Storage/ATA/AHCIController.h
@@ -56,5 +56,10 @@ private:
// FIXME: There could be multiple IRQ (MSI) handlers for AHCI. Find a way to use all of them.
OwnPtr<AHCIInterruptHandler> m_irq_handler;
+
+ // Note: This lock is intended to be locked when doing changes to HBA registers
+ // that affect its core functionality in a manner that controls all attached storage devices
+ // to the HBA SATA ports.
+ mutable Spinlock m_hba_control_lock;
};
}