summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Kernel/API/Syscall.h2
-rw-r--r--Kernel/Memory/MemoryManager.cpp2
-rw-r--r--Kernel/Net/RTL8168NetworkAdapter.cpp4
-rw-r--r--Kernel/Process.cpp2
-rw-r--r--Kernel/Syscalls/exit.cpp2
5 files changed, 6 insertions, 6 deletions
diff --git a/Kernel/API/Syscall.h b/Kernel/API/Syscall.h
index f2724e8ca3..b2d463def2 100644
--- a/Kernel/API/Syscall.h
+++ b/Kernel/API/Syscall.h
@@ -39,7 +39,7 @@ enum class NeedsBigProcessLock {
// NOTE: When declaring a new syscall or modifying an existing, please
// ensure that the proper assert is present at the top of the syscall
// implementation to both verify and document to any readers if the
-// syscall aquires the big process lock or not. The asserts are:
+// syscall acquires the big process lock or not. The asserts are:
// - VERIFY_PROCESS_BIG_LOCK_ACQUIRED(this)
// - VERIFY_NO_PROCESS_BIG_LOCK(this)
//
diff --git a/Kernel/Memory/MemoryManager.cpp b/Kernel/Memory/MemoryManager.cpp
index dcf90d571b..764fd0b887 100644
--- a/Kernel/Memory/MemoryManager.cpp
+++ b/Kernel/Memory/MemoryManager.cpp
@@ -638,7 +638,7 @@ Region* MemoryManager::find_user_region_from_vaddr(AddressSpace& space, VirtualA
void MemoryManager::validate_syscall_preconditions(AddressSpace& space, RegisterState const& regs)
{
// We take the space lock once here and then use the no_lock variants
- // to avoid excessive spinlock recursion in this extemely common path.
+ // to avoid excessive spinlock recursion in this extremely common path.
SpinlockLocker lock(space.get_lock());
auto unlock_and_handle_crash = [&lock, &regs](const char* description, int signal) {
diff --git a/Kernel/Net/RTL8168NetworkAdapter.cpp b/Kernel/Net/RTL8168NetworkAdapter.cpp
index 8cb2ae5525..b3915084a7 100644
--- a/Kernel/Net/RTL8168NetworkAdapter.cpp
+++ b/Kernel/Net/RTL8168NetworkAdapter.cpp
@@ -1082,7 +1082,7 @@ void RTL8168NetworkAdapter::set_phy_speed()
gigabyte_control |= ADVERTISE_1000_FULL; // 1000 mbit full duplex
phy_out(PHY_REG_GBCR, gigabyte_control);
- // restart auto-negotation with set advertisements
+ // restart auto-negotiation with set advertisements
phy_out(PHY_REG_BMCR, BMCR_AUTO_NEGOTIATE | BMCR_RESTART_AUTO_NEGOTIATE);
}
@@ -1216,7 +1216,7 @@ void RTL8168NetworkAdapter::send_raw(ReadonlyBytes payload)
free_descriptor.frame_length = payload.size() & 0x3FFF;
free_descriptor.flags = free_descriptor.flags | TXDescriptor::Ownership;
- out8(REG_TXSTART, TXSTART_START); // FIXME: this shouldnt be done so often, we should look into doing this using the watchdog timer
+ out8(REG_TXSTART, TXSTART_START); // FIXME: this shouldn't be done so often, we should look into doing this using the watchdog timer
}
void RTL8168NetworkAdapter::receive()
diff --git a/Kernel/Process.cpp b/Kernel/Process.cpp
index aed6523c6a..5cdce4c217 100644
--- a/Kernel/Process.cpp
+++ b/Kernel/Process.cpp
@@ -593,7 +593,7 @@ bool Process::dump_perfcore()
auto json_buffer = UserOrKernelBuffer::for_kernel_buffer(json->data());
if (description.write(json_buffer, json->size()).is_error()) {
return false;
- dbgln("Failed to generate perfcore for pid {}: Cound not write to perfcore file.", pid().value());
+ dbgln("Failed to generate perfcore for pid {}: Could not write to perfcore file.", pid().value());
}
dbgln("Wrote perfcore for pid {} to {}", pid().value(), description.absolute_path());
diff --git a/Kernel/Syscalls/exit.cpp b/Kernel/Syscalls/exit.cpp
index df046179d5..087ac29fae 100644
--- a/Kernel/Syscalls/exit.cpp
+++ b/Kernel/Syscalls/exit.cpp
@@ -13,7 +13,7 @@ namespace Kernel {
void Process::sys$exit(int status)
{
- // FIXME: We have callers from kernel which don't aquire the big process lock.
+ // FIXME: We have callers from kernel which don't acquire the big process lock.
if (Thread::current()->previous_mode() == Thread::PreviousMode::UserMode) {
VERIFY_PROCESS_BIG_LOCK_ACQUIRED(this);
}