diff options
author | Andreas Kling <kling@serenityos.org> | 2021-08-22 01:37:17 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-08-22 03:34:10 +0200 |
commit | 55adace359bfda606b445b5177ce5138687d4626 (patch) | |
tree | 429f7e24f71cde34f8f54f10b8ae43b74c514488 /Kernel/Storage/AHCIPort.h | |
parent | 7d5d26b0481221d3ebf420de346cc33b3e003147 (diff) | |
download | serenity-55adace359bfda606b445b5177ce5138687d4626.zip |
Kernel: Rename SpinLock => Spinlock
Diffstat (limited to 'Kernel/Storage/AHCIPort.h')
-rw-r--r-- | Kernel/Storage/AHCIPort.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Kernel/Storage/AHCIPort.h b/Kernel/Storage/AHCIPort.h index dde96751da..e0b844434f 100644 --- a/Kernel/Storage/AHCIPort.h +++ b/Kernel/Storage/AHCIPort.h @@ -12,7 +12,7 @@ #include <Kernel/IO.h> #include <Kernel/Interrupts/IRQHandler.h> #include <Kernel/Locking/Mutex.h> -#include <Kernel/Locking/SpinLock.h> +#include <Kernel/Locking/Spinlock.h> #include <Kernel/Memory/AnonymousVMObject.h> #include <Kernel/Memory/PhysicalPage.h> #include <Kernel/Memory/ScatterGatherList.h> @@ -51,7 +51,7 @@ public: private: bool is_phy_enabled() const { return (m_port_registers.ssts & 0xf) == 3; } - bool initialize(ScopedSpinLock<SpinLock<u8>>&); + bool initialize(ScopedSpinlock<Spinlock<u8>>&); UNMAP_AFTER_INIT AHCIPort(const AHCIPortHandler&, volatile AHCI::PortRegisters&, u32 port_index); @@ -62,7 +62,7 @@ private: const char* try_disambiguate_sata_status(); void try_disambiguate_sata_error(); - bool initiate_sata_reset(ScopedSpinLock<SpinLock<u8>>&); + bool initiate_sata_reset(ScopedSpinlock<Spinlock<u8>>&); void rebase(); void recover_from_fatal_error(); bool shutdown(); @@ -79,7 +79,7 @@ private: bool spin_until_ready() const; - bool identify_device(ScopedSpinLock<SpinLock<u8>>&); + bool identify_device(ScopedSpinlock<Spinlock<u8>>&); ALWAYS_INLINE void start_command_list_processing() const; ALWAYS_INLINE void mark_command_header_ready_to_process(u8 command_header_index) const; @@ -101,7 +101,7 @@ private: EntropySource m_entropy_source; RefPtr<AsyncBlockDeviceRequest> m_current_request; - SpinLock<u8> m_hard_lock; + Spinlock<u8> m_hard_lock; Mutex m_lock { "AHCIPort" }; mutable bool m_wait_for_completion { false }; |