diff --git a/reactos/ntoskrnl/config/powerpc/cmhardwr.c b/reactos/ntoskrnl/config/powerpc/cmhardwr.c index f034f537433..ec7ffd2d3f1 100644 --- a/reactos/ntoskrnl/config/powerpc/cmhardwr.c +++ b/reactos/ntoskrnl/config/powerpc/cmhardwr.c @@ -827,7 +827,7 @@ CmpInitializeMachineDependentConfiguration(IN PLOADER_PARAMETER_BLOCK LoaderBloc if (BiosVersion) ExFreePoolWithTag(BiosVersion, TAG_CM); Quickie: - /* Close the procesor handle */ + /* Close the processor handle */ NtClose(KeyHandle); return STATUS_SUCCESS; } diff --git a/reactos/ntoskrnl/ex/atom.c b/reactos/ntoskrnl/ex/atom.c index 7f75947d5bd..93d78a661bf 100644 --- a/reactos/ntoskrnl/ex/atom.c +++ b/reactos/ntoskrnl/ex/atom.c @@ -78,7 +78,7 @@ ExpGetGlobalAtomTable(VOID) * Pointer to RTL_ATOM * * @return STATUS_SUCCESS in case of success, proper error code - * othwerwise. + * otherwise. * * @remarks None * @@ -198,7 +198,7 @@ NtAddAtom(IN PWSTR AtomName, * Atom identifier * * @return STATUS_SUCCESS in case of success, proper error code - * othwerwise. + * otherwise. * * @remarks None * @@ -235,7 +235,7 @@ NtDeleteAtom(IN RTL_ATOM Atom) * Pointer to RTL_ATOM * * @return STATUS_SUCCESS in case of success, proper error code - * othwerwise. + * otherwise. * * @remarks None * @@ -360,7 +360,7 @@ NtFindAtom(IN PWSTR AtomName, * buffer size * * @return STATUS_SUCCESS in case of success, proper error code - * othwerwise. + * otherwise. * * @remarks None * diff --git a/reactos/ntoskrnl/ex/callback.c b/reactos/ntoskrnl/ex/callback.c index 99bd8aaca4c..6ef87970a0b 100644 --- a/reactos/ntoskrnl/ex/callback.c +++ b/reactos/ntoskrnl/ex/callback.c @@ -221,7 +221,7 @@ ExCompareExchangeCallBack(IN OUT PEX_CALLBACK CallBack, /* It failed, check if we had a block */ if (NewBlock) { - /* We did, remove the refernces that we had added */ + /* We did, remove the references that we had added */ ExfReleaseRundownProtectionEx(&NewBlock->RundownProtect, MAX_FAST_REFS + 1); } @@ -333,7 +333,7 @@ ExpInitializeCallbacks(VOID) * @implemented * * Opens or creates a Callback Object. Creates only if Create is true. - * Allows multiple Callback Functions to be registred only if + * Allows multiple Callback Functions to be registered only if * AllowMultipleCallbacks is true. * See: http://www.osronline.com/ddkx/kmarch/k102_967m.htm * http://www.osronline.com/article.cfm?id=24 diff --git a/reactos/ntoskrnl/ex/exintrin.c b/reactos/ntoskrnl/ex/exintrin.c index df80cae1064..6408df9aa29 100644 --- a/reactos/ntoskrnl/ex/exintrin.c +++ b/reactos/ntoskrnl/ex/exintrin.c @@ -103,7 +103,7 @@ ProbeForRead(IN CONST VOID *Address, IN SIZE_T Length, IN ULONG Alignment) { - ULONG_PTR Last, Current = (ULONG_PTR)Address; + ULONG_PTR Last, Current = (ULONG_PTR)Address; PAGED_CODE(); /* Only probe if we have a valid length */ diff --git a/reactos/ntoskrnl/ex/fmutex.c b/reactos/ntoskrnl/ex/fmutex.c index 5f1743b8d7f..8c0338a2c77 100644 --- a/reactos/ntoskrnl/ex/fmutex.c +++ b/reactos/ntoskrnl/ex/fmutex.c @@ -31,7 +31,7 @@ FASTCALL ExEnterCriticalRegionAndAcquireFastMutexUnsafe(IN OUT PFAST_MUTEX FastMutex) { /* Call the inline */ - _ExEnterCriticalRegionAndAcquireFastMutexUnsafe(FastMutex); + _ExEnterCriticalRegionAndAcquireFastMutexUnsafe(FastMutex); } /* @@ -42,7 +42,7 @@ FASTCALL ExReleaseFastMutexUnsafeAndLeaveCriticalRegion(IN OUT PFAST_MUTEX FastMutex) { /* Call the inline */ - _ExReleaseFastMutexUnsafeAndLeaveCriticalRegion(FastMutex); + _ExReleaseFastMutexUnsafeAndLeaveCriticalRegion(FastMutex); } /* diff --git a/reactos/ntoskrnl/ex/handle.c b/reactos/ntoskrnl/ex/handle.c index 648e7ab6674..7da1a174fd2 100644 --- a/reactos/ntoskrnl/ex/handle.c +++ b/reactos/ntoskrnl/ex/handle.c @@ -1,7 +1,7 @@ /* * PROJECT: ReactOS Kernel * LICENSE: GPL - See COPYING in the top level directory - * FILE: ntoskrnl/ex/init.c + * FILE: ntoskrnl/ex/handle.c * PURPOSE: Generic Executive Handle Tables * PROGRAMMERS: Alex Ionescu (alex.ionescu@reactos.org) * Thomas Weidenmueller @@ -516,7 +516,7 @@ ExpAllocateHandleTableEntrySlow(IN PHANDLE_TABLE HandleTable, Mid = ExpAllocateMidLevelTable(HandleTable, DoInit, &Low); if (!Mid) { - /* We failed, free the high level table as welll */ + /* We failed, free the high level table as well */ ExpFreeTablePagedPool(HandleTable->QuotaProcess, High, SizeOfHandle(HIGH_LEVEL_ENTRIES)); @@ -928,7 +928,7 @@ ExDestroyHandleTable(IN PHANDLE_TABLE HandleTable, /* Remove the handle from the list */ ExRemoveHandleTable(HandleTable); - /* Check if we have a desotry callback */ + /* Check if we have a destroy callback */ if (DestroyHandleProcedure) { /* FIXME: */ diff --git a/reactos/ntoskrnl/ex/locale.c b/reactos/ntoskrnl/ex/locale.c index f997fc42a93..c9e4cec859d 100644 --- a/reactos/ntoskrnl/ex/locale.c +++ b/reactos/ntoskrnl/ex/locale.c @@ -237,7 +237,7 @@ NtSetDefaultLocale(IN BOOLEAN UserProfile, UserKey = NULL; } - /* Initailize the object attributes */ + /* Initialize the object attributes */ InitializeObjectAttributes(&ObjectAttributes, &KeyName, OBJ_CASE_INSENSITIVE | OBJ_KERNEL_HANDLE,