mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 12:28:12 +00:00
Kernel: Rename SpinLock => Spinlock
This commit is contained in:
parent
7d5d26b048
commit
55adace359
110 changed files with 491 additions and 491 deletions
|
@ -7,7 +7,7 @@
|
|||
#include <AK/Singleton.h>
|
||||
#include <Kernel/ConsoleDevice.h>
|
||||
#include <Kernel/IO.h>
|
||||
#include <Kernel/Locking/SpinLock.h>
|
||||
#include <Kernel/Locking/Spinlock.h>
|
||||
#include <Kernel/Sections.h>
|
||||
#include <Kernel/kstdio.h>
|
||||
|
||||
|
@ -15,7 +15,7 @@
|
|||
#define CONSOLE_OUT_TO_BOCHS_DEBUG_PORT
|
||||
|
||||
static Singleton<ConsoleDevice> s_the;
|
||||
static Kernel::SpinLock g_console_lock;
|
||||
static Kernel::Spinlock g_console_lock;
|
||||
|
||||
UNMAP_AFTER_INIT void ConsoleDevice::initialize()
|
||||
{
|
||||
|
@ -67,7 +67,7 @@ Kernel::KResultOr<size_t> ConsoleDevice::write(FileDescription&, u64, const Kern
|
|||
|
||||
void ConsoleDevice::put_char(char ch)
|
||||
{
|
||||
Kernel::ScopedSpinLock lock(g_console_lock);
|
||||
Kernel::ScopedSpinlock lock(g_console_lock);
|
||||
#ifdef CONSOLE_OUT_TO_BOCHS_DEBUG_PORT
|
||||
IO::out8(IO::BOCHS_DEBUG_PORT, ch);
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue