From 1072717a60be8f60884ae00fc07a998b25a0f09f Mon Sep 17 00:00:00 2001 From: Amine Khaldi Date: Sat, 12 Nov 2016 20:53:49 +0000 Subject: [PATCH] [BOOT] Spelling fixes by Josh Soref. CORE-12286 svn path=/trunk/; revision=73215 --- .../bootcdregtest/testboot.bat.sample | 2 +- reactos/boot/bootdata/hivesys.inf | 2 +- reactos/boot/environ/app/bootmgr/bootmgr.c | 22 ++++++++-------- reactos/boot/environ/include/bcd.h | 2 +- reactos/boot/environ/include/efi/BlockIo.h | 8 +++--- .../boot/environ/include/efi/ProcessorBind.h | 2 +- .../boot/environ/include/efi/SimpleTextOut.h | 6 ++--- reactos/boot/environ/include/efi/UefiSpec.h | 14 +++++----- reactos/boot/environ/include/efi/UgaDraw.h | 8 +++--- .../boot/environ/lib/firmware/efi/firmware.c | 6 ++--- reactos/boot/environ/lib/io/device.c | 6 ++--- reactos/boot/environ/lib/io/display/display.c | 2 +- reactos/boot/environ/lib/io/display/efi/gop.c | 2 +- .../environ/lib/io/display/efi/textcons.c | 4 +-- reactos/boot/environ/lib/io/display/guicons.c | 2 +- reactos/boot/environ/lib/io/etfs.c | 2 +- reactos/boot/environ/lib/io/file.c | 2 +- reactos/boot/environ/lib/misc/bcd.c | 2 +- reactos/boot/environ/lib/misc/image.c | 2 +- reactos/boot/environ/lib/misc/util.c | 6 ++--- reactos/boot/environ/lib/mm/blkalloc.c | 4 +-- reactos/boot/environ/lib/mm/descriptor.c | 20 +++++++------- reactos/boot/environ/lib/mm/mm.c | 4 +-- reactos/boot/freeldr/bootsect/ext2.S | 2 +- reactos/boot/freeldr/bootsect/ext2.asm | 2 +- reactos/boot/freeldr/fdebug/fdebug.c | 2 +- reactos/boot/freeldr/freeldr/CHANGELOG | 2 +- .../boot/freeldr/freeldr/arch/arm/macharm.c | 2 +- .../boot/freeldr/freeldr/arch/i386/hardware.c | 4 +-- .../boot/freeldr/freeldr/arch/i386/i386trap.S | 26 +++++++++---------- .../boot/freeldr/freeldr/arch/i386/pcvideo.c | 2 +- .../boot/freeldr/freeldr/arch/powerpc/mboot.c | 4 +-- reactos/boot/freeldr/freeldr/bootmgr.c | 2 +- reactos/boot/freeldr/freeldr/cache/cache.c | 4 +-- reactos/boot/freeldr/freeldr/freeldr.c | 2 +- .../boot/freeldr/freeldr/include/freeldr.h | 2 +- reactos/boot/freeldr/freeldr/lib/fs/fat.c | 2 +- reactos/boot/freeldr/freeldr/lib/mm/heap.c | 4 +-- reactos/boot/freeldr/freeldr/lib/mm/meminit.c | 4 +-- reactos/boot/freeldr/freeldr/lib/peloader.c | 2 +- .../freeldr/freeldr/ntldr/arch/i386/winldr.c | 2 +- reactos/boot/freeldr/freeldr/ntldr/setupldr.c | 2 +- reactos/boot/freeldr/freeldr/ntldr/winldr.c | 10 +++---- .../boot/freeldr/freeldr/ntldr/wlregistry.c | 2 +- reactos/boot/freeldr/freeldr/options.c | 2 +- reactos/boot/freeldr/freeldr/ui/ui.c | 2 +- reactos/boot/freeldr/tools/rdel.c | 2 +- reactos/boot/freeldr/tools/rrmdir.c | 2 +- 48 files changed, 111 insertions(+), 111 deletions(-) diff --git a/reactos/boot/bootdata/bootcdregtest/testboot.bat.sample b/reactos/boot/bootdata/bootcdregtest/testboot.bat.sample index c6ff484b428..d44dc61b5ed 100644 --- a/reactos/boot/bootdata/bootcdregtest/testboot.bat.sample +++ b/reactos/boot/bootdata/bootcdregtest/testboot.bat.sample @@ -1,6 +1,6 @@ @echo off ECHO -ECHO Installing Programms... +ECHO Installing Programs... ECHO REM ECHO diff --git a/reactos/boot/bootdata/hivesys.inf b/reactos/boot/bootdata/hivesys.inf index 3d550a695ba..7830b18267c 100644 --- a/reactos/boot/bootdata/hivesys.inf +++ b/reactos/boot/bootdata/hivesys.inf @@ -1551,7 +1551,7 @@ HKLM,"SYSTEM\CurrentControlSet\Services\lanmanserver\Parameters","ServiceDll",0x ; Workstation service HKLM,"SYSTEM\CurrentControlSet\Services\lanmanworkstation","DisplayName",0x00000000,"Workstation service" -HKLM,"SYSTEM\CurrentControlSet\Services\lanmanworkstation","Description",0x00000000,"Responsible for creating and maintaning network connections to servers" +HKLM,"SYSTEM\CurrentControlSet\Services\lanmanworkstation","Description",0x00000000,"Responsible for creating and maintaining network connections to servers" HKLM,"SYSTEM\CurrentControlSet\Services\lanmanworkstation","ErrorControl",0x00010001,0x00000001 HKLM,"SYSTEM\CurrentControlSet\Services\lanmanworkstation","Group",0x00000000,"Network Provider" HKLM,"SYSTEM\CurrentControlSet\Services\lanmanworkstation","ImagePath",0x00020000,"%SystemRoot%\system32\svchost.exe -k netsvcs" diff --git a/reactos/boot/environ/app/bootmgr/bootmgr.c b/reactos/boot/environ/app/bootmgr/bootmgr.c index 74516c261fb..bbd9577da30 100644 --- a/reactos/boot/environ/app/bootmgr/bootmgr.c +++ b/reactos/boot/environ/app/bootmgr/bootmgr.c @@ -274,7 +274,7 @@ BmpFwGetApplicationDirectoryPath ( AppPathLength - sizeof(UNICODE_NULL)); PathCopy[AppPathLength] = UNICODE_NULL; - /* Finally, initialize the outoing string */ + /* Finally, initialize the outgoing string */ RtlInitUnicodeString(ApplicationDirectoryPath, PathCopy); } else @@ -1088,7 +1088,7 @@ BmFwVerifySelfIntegrity ( VOID ) { - /* Check if we're booted by UEFI off the DVD directlry */ + /* Check if we're booted by UEFI off the DVD directly */ if ((BlpBootDevice->DeviceType == LocalDevice) && (BlpBootDevice->Local.Type == CdRomDevice) && (BlpApplicationFlags & BL_APPLICATION_FLAG_CONVERTED_FROM_EFI)) @@ -1729,7 +1729,7 @@ BmGetBootMenuPolicy ( return MenuPolicyLegacy; } - /* Use the correct opetion ID */ + /* Use the correct option ID */ OptionId = BcdResumeInteger_BootMenuPolicy; } @@ -1783,7 +1783,7 @@ BmpProcessBootEntry ( /* If the legacy menu must be shown, or if we have a boot entry */ if ((BmGetBootMenuPolicy(BootEntry) != MenuPolicyStandard) || (BootEntry)) { - /* Check if any key has been presseed */ + /* Check if any key has been pressed */ BmDisplayGetBootMenuStatus(&MenuStatus); if (MenuStatus.AnyKey) { @@ -2383,22 +2383,22 @@ BmpTransferExecution ( } else if (ReturnArgs.Flags & 4) { - /* Flag 4 -- unkown */ + /* Flag 4 -- unknown */ *LaunchCode = 1; } else if (ReturnArgs.Flags & 8) { - /* Flag 5 -- unkown */ + /* Flag 5 -- unknown */ *LaunchCode = 5; } else if (ReturnArgs.Flags & 0x10) { - /* Flag 6 -- unkown */ + /* Flag 6 -- unknown */ *LaunchCode = 6; } else if (ReturnArgs.Flags & 0x20) { - /* Flag 7 -- unkown */ + /* Flag 7 -- unknown */ *LaunchCode = 7; } else if (ReturnArgs.Flags & BL_RETURN_ARGUMENTS_NO_PAE_FLAG) @@ -2558,7 +2558,7 @@ TryAgain: return Status; } - /* Check if boot was successfull, or cancelled and we're not doing WinRE */ + /* Check if boot was successful, or cancelled and we're not doing WinRE */ if (((NT_SUCCESS(Status)) || (Status == STATUS_CANCELLED)) && !(DoRecovery)) { return Status; @@ -2898,7 +2898,7 @@ BmMain ( /* Write out the first XML tag */ BlXmiWrite(L""); - /* Check for factory resset */ + /* Check for factory reset */ BlSecureBootCheckForFactoryReset(); /* Load the revocation list */ @@ -2947,7 +2947,7 @@ BmMain ( &CustomActions); if ((NT_SUCCESS(Status)) && (CustomActions)) { - /* We don't suppport this yet */ + /* We don't support this yet */ EfiPrintf(L"Not implemented\r\n"); Status = STATUS_NOT_IMPLEMENTED; goto Failure; diff --git a/reactos/boot/environ/include/bcd.h b/reactos/boot/environ/include/bcd.h index 4ff5dccf1d2..cee8a0c79ea 100644 --- a/reactos/boot/environ/include/bcd.h +++ b/reactos/boot/environ/include/bcd.h @@ -42,7 +42,7 @@ #define BCD_APPLICATION_TYPE_STARTUPCOM 0x09 #define BCD_OBJECT_TYPE_APPLICATION 0x01 -#define BCD_OBJECT_TYPE_INHEREIT 0x02 +#define BCD_OBJECT_TYPE_INHERIT 0x02 #define BCD_OBJECT_TYPE_DEVICE 0x03 typedef enum BcdLibraryElementTypes diff --git a/reactos/boot/environ/include/efi/BlockIo.h b/reactos/boot/environ/include/efi/BlockIo.h index 4bc2109db12..13c0b080fc3 100644 --- a/reactos/boot/environ/include/efi/BlockIo.h +++ b/reactos/boot/environ/include/efi/BlockIo.h @@ -96,7 +96,7 @@ EFI_STATUS @retval EFI_WRITE_PROTECTED The device can not be written to. @retval EFI_DEVICE_ERROR The device reported an error while performing the write. @retval EFI_NO_MEDIA There is no media in the device. - @retval EFI_MEDIA_CHNAGED The MediaId does not matched the current device. + @retval EFI_MEDIA_CHANGED The MediaId does not match the current device. @retval EFI_BAD_BUFFER_SIZE The Buffer was not a multiple of the block size of the device. @retval EFI_INVALID_PARAMETER The write request contains LBAs that are not valid, or the buffer is not on proper alignment. @@ -118,7 +118,7 @@ EFI_STATUS @param This Indicates a pointer to the calling context. @retval EFI_SUCCESS All outstanding data was written to the device - @retval EFI_DEVICE_ERROR The device reported an error while writting back the data + @retval EFI_DEVICE_ERROR The device reported an error while writing back the data @retval EFI_NO_MEDIA There is no media in the device. **/ @@ -133,7 +133,7 @@ EFI_STATUS **/ typedef struct { /// - /// The curent media Id. If the media changes, this value is changed. + /// The current media Id. If the media changes, this value is changed. /// UINT32 MediaId; @@ -144,7 +144,7 @@ typedef struct { /// /// TRUE if there is a media currently present in the device; - /// othersise, FALSE. THis field shows the media present status + /// otherwise, FALSE. THis field shows the media present status /// as of the most recent ReadBlocks() or WriteBlocks() call. /// BOOLEAN MediaPresent; diff --git a/reactos/boot/environ/include/efi/ProcessorBind.h b/reactos/boot/environ/include/efi/ProcessorBind.h index bab3e210ccf..7e551823168 100644 --- a/reactos/boot/environ/include/efi/ProcessorBind.h +++ b/reactos/boot/environ/include/efi/ProcessorBind.h @@ -79,7 +79,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. #pragma warning ( disable : 4057 ) // -// ASSERT(FALSE) or while (TRUE) are legal constructes so supress this warning +// ASSERT(FALSE) or while (TRUE) are legal constructs so suppress this warning // #pragma warning ( disable : 4127 ) diff --git a/reactos/boot/environ/include/efi/SimpleTextOut.h b/reactos/boot/environ/include/efi/SimpleTextOut.h index 730ddbc7133..4f21ec58ba6 100644 --- a/reactos/boot/environ/include/efi/SimpleTextOut.h +++ b/reactos/boot/environ/include/efi/SimpleTextOut.h @@ -146,10 +146,10 @@ typedef EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL SIMPLE_TEXT_OUTPUT_INTERFACE; #define EFI_WIDE_ATTRIBUTE 0x80 /** -Reset the text output device hardware and optionaly run diagnostics +Reset the text output device hardware and optionally run diagnostics @param This The protocol instance pointer. -@param ExtendedVerification Driver may perform more exhaustive verfication +@param ExtendedVerification Driver may perform more exhaustive verification operation of the device during reset. @retval EFI_SUCCESS The text output device was reset. @@ -368,7 +368,7 @@ typedef struct { /// INT32 CursorRow; /// - /// The cursor is currently visbile or not. + /// The cursor is currently visible or not. /// BOOLEAN CursorVisible; } EFI_SIMPLE_TEXT_OUTPUT_MODE; diff --git a/reactos/boot/environ/include/efi/UefiSpec.h b/reactos/boot/environ/include/efi/UefiSpec.h index f7cbb8ba6bd..37069e96bdd 100644 --- a/reactos/boot/environ/include/efi/UefiSpec.h +++ b/reactos/boot/environ/include/efi/UefiSpec.h @@ -817,7 +817,7 @@ image is successfully loaded. @retval EFI_SUCCESS Image was loaded into memory correctly. @retval EFI_NOT_FOUND Both SourceBuffer and DevicePath are NULL. -@retval EFI_INVALID_PARAMETER One or more parametes are invalid. +@retval EFI_INVALID_PARAMETER One or more parameters are invalid. @retval EFI_UNSUPPORTED The image type is not supported. @retval EFI_OUT_OF_RESOURCES Image was not loaded due to insufficient resources. @retval EFI_LOAD_ERROR Image was not loaded because the image format was corrupt or not @@ -969,7 +969,7 @@ typedef enum { /// /// Used to induce a system-wide reset. This sets all circuitry within the /// system to its initial state. This type of reset is asynchronous to system - /// operation and operates withgout regard to cycle boundaries. EfiColdReset + /// operation and operates without regard to cycle boundaries. EfiColdReset /// is tantamount to a system power cycle. /// EfiResetCold, @@ -1277,7 +1277,7 @@ protocol interface was returned in Interface. @retval EFI_UNSUPPORTED Handle does not support Protocol. @retval EFI_INVALID_PARAMETER One or more parameters are invalid. @retval EFI_ACCESS_DENIED Required attributes can't be supported in current environment. -@retval EFI_ALREADY_STARTED Item on the open list already has requierd attributes whose agent +@retval EFI_ALREADY_STARTED Item on the open list already has required attributes whose agent handle is the same as AgentHandle. **/ @@ -1637,13 +1637,13 @@ part of the reset process. @param CapsuleHeaderArray Virtual pointer to an array of virtual pointers to the capsules being passed into update capsule. @param CapsuleCount Number of pointers to EFI_CAPSULE_HEADER in -CaspuleHeaderArray. +CapsuleHeaderArray. @param ScatterGatherList Physical pointer to a set of EFI_CAPSULE_BLOCK_DESCRIPTOR that describes the location in physical memory of a set of capsules. @retval EFI_SUCCESS Valid capsule was passed. If -CAPSULE_FLAGS_PERSIT_ACROSS_RESET is not set, the +CAPSULE_FLAGS_PERSIST_ACROSS_RESET is not set, the capsule has been successfully processed by the firmware. @retval EFI_INVALID_PARAMETER CapsuleSize is NULL, or an incompatible set of flags were set in the capsule header. @@ -1667,8 +1667,8 @@ Returns if the capsule can be supported via UpdateCapsule(). @param CapsuleHeaderArray Virtual pointer to an array of virtual pointers to the capsules being passed into update capsule. @param CapsuleCount Number of pointers to EFI_CAPSULE_HEADER in -CaspuleHeaderArray. -@param MaxiumCapsuleSize On output the maximum size that UpdateCapsule() can +CapsuleHeaderArray. +@param MaximumCapsuleSize On output the maximum size that UpdateCapsule() can support as an argument to UpdateCapsule() via CapsuleHeaderArray and ScatterGatherList. @param ResetType Returns the type of reset required for the capsule update. diff --git a/reactos/boot/environ/include/efi/UgaDraw.h b/reactos/boot/environ/include/efi/UgaDraw.h index f501a6c17f4..70b2ea5ee4e 100644 --- a/reactos/boot/environ/include/efi/UgaDraw.h +++ b/reactos/boot/environ/include/efi/UgaDraw.h @@ -85,7 +85,7 @@ typedef union { } EFI_UGA_PIXEL_UNION; /// -/// Enumration value for actions of Blt operations. +/// Enumeration value for actions of Blt operations. /// typedef enum { EfiUgaVideoFill, ///< Write data from the BltBuffer pixel (SourceX, SourceY) @@ -112,8 +112,8 @@ typedef enum { ///< (DestinationX, DestinationY) (DestinationX + Width, DestinationY + Height). ///< The BltBuffer and Delta are not used in this mode. - EfiUgaBltMax ///< Maxmimum value for enumration value of Blt operation. If a Blt operation - ///< larger or equal to this enumration value, it is invalid. + EfiUgaBltMax ///< Maximum value for enumeration value of Blt operation. If a Blt operation + ///< larger or equal to this enumeration value, it is invalid. } EFI_UGA_BLT_OPERATION; /** @@ -133,7 +133,7 @@ typedef enum { @retval EFI_SUCCESS - The Blt operation completed. @retval EFI_INVALID_PARAMETER - BltOperation is not valid. - @retval EFI_DEVICE_ERROR - A hardware error occured writting to the video buffer. + @retval EFI_DEVICE_ERROR - A hardware error occured writing to the video buffer. **/ typedef diff --git a/reactos/boot/environ/lib/firmware/efi/firmware.c b/reactos/boot/environ/lib/firmware/efi/firmware.c index 5abcad2c447..06d0c42e2e0 100644 --- a/reactos/boot/environ/lib/firmware/efi/firmware.c +++ b/reactos/boot/environ/lib/firmware/efi/firmware.c @@ -118,7 +118,7 @@ EfiGetLeafNode ( } } - /* This now contains the deepeest (leaf) node */ + /* This now contains the deepest (leaf) node */ return DevicePath; } @@ -314,7 +314,7 @@ EfiGetVariable ( *Attributes = LocalAttributes; } - /* Convert the errot to an NTSTATUS and return it */ + /* Convert the error to an NTSTATUS and return it */ Status = EfiGetNtStatusCode(EfiStatus); return Status; } @@ -1724,7 +1724,7 @@ BlpFwInitialize ( NTSTATUS Status = STATUS_SUCCESS; EFI_KEY_TOGGLE_STATE KeyToggleState; - /* Check if we have vaild firmware data */ + /* Check if we have valid firmware data */ if (!(FirmwareData) || !(FirmwareData->Version)) { return STATUS_INVALID_PARAMETER; diff --git a/reactos/boot/environ/lib/io/device.c b/reactos/boot/environ/lib/io/device.c index 008b72365e4..d98b72b9fdf 100644 --- a/reactos/boot/environ/lib/io/device.c +++ b/reactos/boot/environ/lib/io/device.c @@ -600,7 +600,7 @@ BlockIoGetInformation ( _Out_ PBL_DEVICE_INFORMATION DeviceInformation ) { - /* Copy the device speciifc data into the block device information */ + /* Copy the device specific data into the block device information */ RtlCopyMemory(&DeviceInformation->BlockDeviceInfo, DeviceEntry->DeviceSpecificData, sizeof(DeviceInformation->BlockDeviceInfo)); @@ -1002,7 +1002,7 @@ BlockIoEfiGetDeviceInformation ( return Status; } - /* Iteratate twice -- once for the top level, once for the bottom */ + /* Iterate twice -- once for the top level, once for the bottom */ for (i = 0, Found = FALSE; Found == FALSE && Protocol[i].Handle; i++) { /* Check what kind of leaf node device this is */ @@ -2237,7 +2237,7 @@ BlpDeviceOpen ( Status = STATUS_NOT_IMPLEMENTED; } - /* Check if the device was opened successfuly */ + /* Check if the device was opened successfully */ if (NT_SUCCESS(Status)) { DeviceOpened: diff --git a/reactos/boot/environ/lib/io/display/display.c b/reactos/boot/environ/lib/io/display/display.c index d7d5b2401bf..4cbf6fb33ea 100644 --- a/reactos/boot/environ/lib/io/display/display.c +++ b/reactos/boot/environ/lib/io/display/display.c @@ -600,7 +600,7 @@ BlpDisplayInitialize ( Status = DsppInitialize(Flags); } - /* Return display initailziation state */ + /* Return display initialization state */ return Status; } diff --git a/reactos/boot/environ/lib/io/display/efi/gop.c b/reactos/boot/environ/lib/io/display/efi/gop.c index 503d1088a8a..7ec85f022c8 100644 --- a/reactos/boot/environ/lib/io/display/efi/gop.c +++ b/reactos/boot/environ/lib/io/display/efi/gop.c @@ -164,7 +164,7 @@ ConsoleEfiGopEnable ( } else if (CurrentMode != GraphicsConsole->Mode) { - /* We failed seomewhere, reset the mode and the OEM bitmap back */ + /* We failed somewhere, reset the mode and the OEM bitmap back */ EfiGopSetMode(Protocol, CurrentMode); BlDisplayInvalidateOemBitmap(); } diff --git a/reactos/boot/environ/lib/io/display/efi/textcons.c b/reactos/boot/environ/lib/io/display/efi/textcons.c index 886a966988a..495228f7843 100644 --- a/reactos/boot/environ/lib/io/display/efi/textcons.c +++ b/reactos/boot/environ/lib/io/display/efi/textcons.c @@ -358,7 +358,7 @@ ConsoleEfiTextFindModeFromAllowed ( &HRes, &VRes))) { - /* This mode was succesfully queried. Save the data */ + /* This mode was successfully queried. Save the data */ EfiPrintf(L"EFI Firmware Supported Mode %d is H: %d V: %d\r\n", Mode, HRes, VRes); ModeEntry->HRes = HRes; ModeEntry->VRes = VRes; @@ -600,7 +600,7 @@ ConsoleFirmwareTextClear ( return STATUS_NOT_IMPLEMENTED; } - /* Clear the scren */ + /* Clear the screen */ EfiStatus = Console->Protocol->ClearScreen(Console->Protocol); /* Switch back to protected mode if we came from there */ diff --git a/reactos/boot/environ/lib/io/display/guicons.c b/reactos/boot/environ/lib/io/display/guicons.c index f4d8c9a1b79..4a76d78c69a 100644 --- a/reactos/boot/environ/lib/io/display/guicons.c +++ b/reactos/boot/environ/lib/io/display/guicons.c @@ -127,7 +127,7 @@ ConsolepClearBuffer ( /* And the size of line we'll have to clear */ WidthBytes = Width * BytesPerPixel; - /* Allocat a scanline */ + /* Allocate a scanline */ Scanline = BlMmAllocateHeap(WidthBytes); if (Scanline) { diff --git a/reactos/boot/environ/lib/io/etfs.c b/reactos/boot/environ/lib/io/etfs.c index a0b7fd841c7..0b032caf78a 100644 --- a/reactos/boot/environ/lib/io/etfs.c +++ b/reactos/boot/environ/lib/io/etfs.c @@ -635,7 +635,7 @@ EtfsOpen ( NewFile->Flags |= BL_FILE_ENTRY_DIRECTORY; } - /* Write down the name of the filesytem */ + /* Write down the name of the filesystem */ EtfsFile->FsName = L"cdfs"; /* All done, return the file entry, and save the ETFS side */ diff --git a/reactos/boot/environ/lib/io/file.c b/reactos/boot/environ/lib/io/file.c index a008ffa2371..a3f4b6e581e 100644 --- a/reactos/boot/environ/lib/io/file.c +++ b/reactos/boot/environ/lib/io/file.c @@ -212,7 +212,7 @@ FileTablePurgeEntry ( return STATUS_UNSUCCESSFUL; } - /* Purge the entry othwrwise */ + /* Purge the entry otherwise */ return FileTableDestroyEntry(FileEntry, FileEntry->FileId); } diff --git a/reactos/boot/environ/lib/misc/bcd.c b/reactos/boot/environ/lib/misc/bcd.c index 7f38fbd32b7..26cdd4f3246 100644 --- a/reactos/boot/environ/lib/misc/bcd.c +++ b/reactos/boot/environ/lib/misc/bcd.c @@ -1028,7 +1028,7 @@ BiEnumerateElements ( else if ((Flags & BCD_ENUMERATE_FLAG_DEEP) && (ElementType.PackedValue == BcdLibraryObjectList_InheritedObjects)) { - /* Inherited objects are requsted, so allocate a buffer for them */ + /* Inherited objects are requested, so allocate a buffer for them */ SubObjectList = BlMmAllocateHeap(ElementDataLength); if (!SubObjectList) { diff --git a/reactos/boot/environ/lib/misc/image.c b/reactos/boot/environ/lib/misc/image.c index 05dee8913c0..3889f3e6f2c 100644 --- a/reactos/boot/environ/lib/misc/image.c +++ b/reactos/boot/environ/lib/misc/image.c @@ -1186,7 +1186,7 @@ Quickie: //MmPapFreePages(HashBuffer, TRUE); } - /* Check if we have a certificate diretory */ + /* Check if we have a certificate directory */ if ((CertBuffer) && (CertDirectory)) { /* Free it */ diff --git a/reactos/boot/environ/lib/misc/util.c b/reactos/boot/environ/lib/misc/util.c index c7ca31ab740..f6fcd99d4ea 100644 --- a/reactos/boot/environ/lib/misc/util.c +++ b/reactos/boot/environ/lib/misc/util.c @@ -221,7 +221,7 @@ BlUtlInitialize ( VOID BmUpdateProgressInfo ( - _In_ PVOID Uknown, + _In_ PVOID Unknown, _In_ PWCHAR ProgressInfo ) { @@ -307,7 +307,7 @@ BlTblFindEntry ( Argument4); if (Result) { - /* Entry fouund return it */ + /* Entry found return it */ *EntryIndex = Index; Entry = Table[Index]; break; @@ -679,7 +679,7 @@ BlHtStore ( PLIST_ENTRY HashLinkHead; PBL_HASH_TABLE HashTable; - /* Check for invalid tablle ID, missing arguments, or malformed entry */ + /* Check for invalid table ID, missing arguments, or malformed entry */ if ((HtTableSize <= TableId) || !(Entry) || !(Data) || diff --git a/reactos/boot/environ/lib/mm/blkalloc.c b/reactos/boot/environ/lib/mm/blkalloc.c index bbf996d5d70..3133f1a8a3e 100644 --- a/reactos/boot/environ/lib/mm/blkalloc.c +++ b/reactos/boot/environ/lib/mm/blkalloc.c @@ -185,7 +185,7 @@ MmBapFreeBlockAllocatorTableEntry ( } NTSTATUS -MmBapPurgeBlockAlloctorTableEntry ( +MmBapPurgeBlockAllocatorTableEntry ( _In_ PVOID Entry ) { @@ -248,7 +248,7 @@ BlpMmCreateBlockAllocator ( &MmBlockAllocatorTableEntries, BlockInfo, &BlockId, - MmBapPurgeBlockAlloctorTableEntry); + MmBapPurgeBlockAllocatorTableEntry); if (NT_SUCCESS(Status)) { /* Add the initial reference and store the block ID */ diff --git a/reactos/boot/environ/lib/mm/descriptor.c b/reactos/boot/environ/lib/mm/descriptor.c index 58d68c8ae7d..d5e0e7e56a8 100644 --- a/reactos/boot/environ/lib/mm/descriptor.c +++ b/reactos/boot/environ/lib/mm/descriptor.c @@ -44,19 +44,19 @@ MmMdpHasPrecedence ( BL_MEMORY_CLASS Class1, Class2; ULONG i, j; - /* Descriptor is free RAM -- it preceeds */ + /* Descriptor is free RAM -- it precedes */ if (Type1 == BlConventionalMemory) { return TRUE; } - /* It isn't free RAM, but the comparator is -- it suceeds it */ + /* It isn't free RAM, but the comparator is -- it succeeds it */ if (Type2 == BlConventionalMemory) { return FALSE; } - /* Descriptor is not system, application, or loader class -- it preceeds */ + /* Descriptor is not system, application, or loader class -- it precedes */ Class1 = Type1 >> BL_MEMORY_CLASS_SHIFT; if ((Class1 != BlSystemClass) && (Class1 != BlApplicationClass) && @@ -65,7 +65,7 @@ MmMdpHasPrecedence ( return TRUE; } - /* It isn't one of those classes, but the comparator it -- it suceeds it */ + /* It isn't one of those classes, but the comparator it -- it succeeds it */ Class2 = Type2 >> BL_MEMORY_CLASS_SHIFT; if ((Class2 != BlSystemClass) && (Class2 != BlApplicationClass) && @@ -124,23 +124,23 @@ MmMdpHasPrecedence ( } } - /* The comparator isn't system, so it preceeds it */ + /* The comparator isn't system, so it precedes it */ return TRUE; } - /* Descriptor is not system class, but comparator is -- it suceeds it */ + /* Descriptor is not system class, but comparator is -- it succeeds it */ if (Class2 == BlSystemClass) { return FALSE; } - /* Descriptor is loader class -- it preceeds */ + /* Descriptor is loader class -- it precedes */ if (Class1 == BlLoaderClass) { return TRUE; } - /* It isn't loader class -- if the other guy is, suceed it */ + /* It isn't loader class -- if the other guy is, succeed it */ return Class2 != BlLoaderClass; } @@ -343,7 +343,7 @@ MmMdpCoalesceDescriptor ( ((MemoryDescriptor->VirtualPage) && (PreviousDescriptor->VirtualPage) && (PreviousMappedEndPage == MemoryDescriptor->VirtualPage)))) { - EfiPrintf(L"Previous descriptor coalescible!\r\n"); + EfiPrintf(L"Previous descriptor coalescable!\r\n"); } /* CHeck if the current entry touches the next entry, and is compatible */ @@ -355,7 +355,7 @@ MmMdpCoalesceDescriptor ( ((MemoryDescriptor->VirtualPage) && (PreviousDescriptor->VirtualPage) && (MappedEndPage == NextDescriptor->VirtualPage)))) { - EfiPrintf(L"Next descriptor coalescible!\r\n"); + EfiPrintf(L"Next descriptor coalescable!\r\n"); } /* Nothing to do */ diff --git a/reactos/boot/environ/lib/mm/mm.c b/reactos/boot/environ/lib/mm/mm.c index bc679a1d800..9a8ae3c9eda 100644 --- a/reactos/boot/environ/lib/mm/mm.c +++ b/reactos/boot/environ/lib/mm/mm.c @@ -208,7 +208,7 @@ BlMmMapPhysicalAddressEx ( goto Quickie; } - /* Compute the final adress where the mapping was made */ + /* Compute the final address where the mapping was made */ MappedBase = (PVOID)((ULONG_PTR)MappingAddress + PhysicalAddress.LowPart - MappedAddress.LowPart); @@ -274,7 +274,7 @@ BlMmUnmapVirtualAddressEx ( /* Increment call depth */ ++MmDescriptorCallTreeCount; - /* Make sure all parameters are tehre */ + /* Make sure all parameters are there */ if ((VirtualAddress) && (Size)) { /* Unmap the virtual address */ diff --git a/reactos/boot/freeldr/bootsect/ext2.S b/reactos/boot/freeldr/bootsect/ext2.S index 2bc5b6d39ec..bd3119c635f 100644 --- a/reactos/boot/freeldr/bootsect/ext2.S +++ b/reactos/boot/freeldr/bootsect/ext2.S @@ -597,7 +597,7 @@ Ext2ReadEntireFileDone: // ECX contains the max number of blocks to read // EAX contains the number of blocks left to read // On return: -// EAX contians the new number of blocks left to read +// EAX contains the new number of blocks left to read Ext2ReadDirectBlockList: cmp eax,ecx // Compare it to the maximum number of blocks to read ja CallExt2ReadDirectBlocks // If it will take more blocks then just read all of the blocks diff --git a/reactos/boot/freeldr/bootsect/ext2.asm b/reactos/boot/freeldr/bootsect/ext2.asm index 3dd20a2a883..ed83aee9de0 100644 --- a/reactos/boot/freeldr/bootsect/ext2.asm +++ b/reactos/boot/freeldr/bootsect/ext2.asm @@ -584,7 +584,7 @@ Ext2ReadEntireFileDone: ; ECX contains the max number of blocks to read ; EAX contains the number of blocks left to read ; On return: -; EAX contians the new number of blocks left to read +; EAX contains the new number of blocks left to read Ext2ReadDirectBlockList: cmp eax,ecx ; Compare it to the maximum number of blocks to read ja CallExt2ReadDirectBlocks ; If it will take more blocks then just read all of the blocks diff --git a/reactos/boot/freeldr/fdebug/fdebug.c b/reactos/boot/freeldr/fdebug/fdebug.c index bec2675e028..f43582e3778 100644 --- a/reactos/boot/freeldr/fdebug/fdebug.c +++ b/reactos/boot/freeldr/fdebug/fdebug.c @@ -30,7 +30,7 @@ BOOL bLocalEcho = FALSE; // Tells us if local HANDLE hCaptureFile; // Handle to the capture file DWORD dwThreadId = 0; // Thread id of RS232 communication thread -// Foward declarations of functions included in this code module: +// Forward declarations of functions included in this code module: ATOM MyRegisterClass(HINSTANCE hInstance); BOOL InitInstance(HINSTANCE, int); LRESULT CALLBACK WndProc(HWND, UINT, WPARAM, LPARAM); diff --git a/reactos/boot/freeldr/freeldr/CHANGELOG b/reactos/boot/freeldr/freeldr/CHANGELOG index a253224f102..7bda79d76f7 100644 --- a/reactos/boot/freeldr/freeldr/CHANGELOG +++ b/reactos/boot/freeldr/freeldr/CHANGELOG @@ -223,7 +223,7 @@ Changes in v1.7.7 (9/5/2002) (ekohl) Changes in v1.7.6 (8/31/2002) (ekohl) - bootsect/isoboot.asm: Reduced read transfer size to ensure that - the read buffer for an int13/ah=42h (exended read) does not + the read buffer for an int13/ah=42h (extended read) does not cross a segment boundary. - freeldr.c, bootmgr.c, setupldr.c, makefile: Renamed LoadBootManager() and ReactOSRunSetupLoader() to RunLoader(). diff --git a/reactos/boot/freeldr/freeldr/arch/arm/macharm.c b/reactos/boot/freeldr/freeldr/arch/arm/macharm.c index f9c0c8d3ac7..6be0800793f 100644 --- a/reactos/boot/freeldr/freeldr/arch/arm/macharm.c +++ b/reactos/boot/freeldr/freeldr/arch/arm/macharm.c @@ -66,7 +66,7 @@ VOID DiskStopFloppyMotor(VOID) } VOID -FrLdrCheckCpuCompatiblity(VOID) +FrLdrCheckCpuCompatibility(VOID) { /* Nothing for now */ } diff --git a/reactos/boot/freeldr/freeldr/arch/i386/hardware.c b/reactos/boot/freeldr/freeldr/arch/i386/hardware.c index 0713534499b..b9f222dfa45 100644 --- a/reactos/boot/freeldr/freeldr/arch/i386/hardware.c +++ b/reactos/boot/freeldr/freeldr/arch/i386/hardware.c @@ -296,7 +296,7 @@ DetectPnpBios(PCONFIGURATION_COMPONENT_DATA SystemKey, ULONG *BusNumber) /* The buffer starts after PartialResourceList->PartialDescriptors[0] */ Ptr = (char *)(PartialResourceList + 1); - /* Set instalation check data */ + /* Set installation check data */ memcpy (Ptr, InstData, sizeof(CM_PNP_BIOS_INSTALLATION_CHECK)); Ptr += sizeof(CM_PNP_BIOS_INSTALLATION_CHECK); @@ -1792,7 +1792,7 @@ PcHwIdle(VOID) } VOID -FrLdrCheckCpuCompatiblity(VOID) +FrLdrCheckCpuCompatibility(VOID) { INT CpuInformation[4] = {-1}; ULONG NumberOfIds; diff --git a/reactos/boot/freeldr/freeldr/arch/i386/i386trap.S b/reactos/boot/freeldr/freeldr/arch/i386/i386trap.S index 27e5ec60f22..0be6ec7e5a2 100644 --- a/reactos/boot/freeldr/freeldr/arch/i386/i386trap.S +++ b/reactos/boot/freeldr/freeldr/arch/i386/i386trap.S @@ -146,7 +146,7 @@ TRAP_STUB _i386SimdFloatError, 19 * DEBUGGING SUPPORT FUNCTIONS ************************************************************************/ -MACRO(BREAKPOINT_TEPLATE, functionname, mask1, mask2) +MACRO(BREAKPOINT_TEMPLATE, functionname, mask1, mask2) PUBLIC VAL(functionname) #ifdef _USE_ML functionname: @@ -164,17 +164,17 @@ MACRO(BREAKPOINT_TEPLATE, functionname, mask1, mask2) ret ENDM -BREAKPOINT_TEPLATE _INSTRUCTION_BREAKPOINT1, HEX(0fff0ffff), HEX(000000303) -BREAKPOINT_TEPLATE _MEMORY_READWRITE_BREAKPOINT1, HEX(0fff0ffff), HEX(000030303) -BREAKPOINT_TEPLATE _MEMORY_WRITE_BREAKPOINT1, HEX(0fff0ffff), HEX(000010303) -BREAKPOINT_TEPLATE _INSTRUCTION_BREAKPOINT2, HEX(0ff0fffff), HEX(00000030c) -BREAKPOINT_TEPLATE _MEMORY_READWRITE_BREAKPOINT2, HEX(0ff0fffff), HEX(00030030c) -BREAKPOINT_TEPLATE _MEMORY_WRITE_BREAKPOINT2, HEX(0ff0fffff), HEX(00010030c) -BREAKPOINT_TEPLATE _INSTRUCTION_BREAKPOINT3, HEX(0f0ffffff), HEX(000000330) -BREAKPOINT_TEPLATE _MEMORY_READWRITE_BREAKPOINT3, HEX(0f0ffffff), HEX(003000330) -BREAKPOINT_TEPLATE _MEMORY_WRITE_BREAKPOINT3, HEX(0f0ffffff), HEX(001000330) -BREAKPOINT_TEPLATE _INSTRUCTION_BREAKPOINT4, HEX(00fffffff), HEX(0000003c0) -BREAKPOINT_TEPLATE _MEMORY_READWRITE_BREAKPOINT4, HEX(00fffffff), HEX(0300003c0) -BREAKPOINT_TEPLATE _MEMORY_WRITE_BREAKPOINT4, HEX(00fffffff), HEX(0100003c0) +BREAKPOINT_TEMPLATE _INSTRUCTION_BREAKPOINT1, HEX(0fff0ffff), HEX(000000303) +BREAKPOINT_TEMPLATE _MEMORY_READWRITE_BREAKPOINT1, HEX(0fff0ffff), HEX(000030303) +BREAKPOINT_TEMPLATE _MEMORY_WRITE_BREAKPOINT1, HEX(0fff0ffff), HEX(000010303) +BREAKPOINT_TEMPLATE _INSTRUCTION_BREAKPOINT2, HEX(0ff0fffff), HEX(00000030c) +BREAKPOINT_TEMPLATE _MEMORY_READWRITE_BREAKPOINT2, HEX(0ff0fffff), HEX(00030030c) +BREAKPOINT_TEMPLATE _MEMORY_WRITE_BREAKPOINT2, HEX(0ff0fffff), HEX(00010030c) +BREAKPOINT_TEMPLATE _INSTRUCTION_BREAKPOINT3, HEX(0f0ffffff), HEX(000000330) +BREAKPOINT_TEMPLATE _MEMORY_READWRITE_BREAKPOINT3, HEX(0f0ffffff), HEX(003000330) +BREAKPOINT_TEMPLATE _MEMORY_WRITE_BREAKPOINT3, HEX(0f0ffffff), HEX(001000330) +BREAKPOINT_TEMPLATE _INSTRUCTION_BREAKPOINT4, HEX(00fffffff), HEX(0000003c0) +BREAKPOINT_TEMPLATE _MEMORY_READWRITE_BREAKPOINT4, HEX(00fffffff), HEX(0300003c0) +BREAKPOINT_TEMPLATE _MEMORY_WRITE_BREAKPOINT4, HEX(00fffffff), HEX(0100003c0) END diff --git a/reactos/boot/freeldr/freeldr/arch/i386/pcvideo.c b/reactos/boot/freeldr/freeldr/arch/i386/pcvideo.c index eb81cc05427..0b06e6b210c 100644 --- a/reactos/boot/freeldr/freeldr/arch/i386/pcvideo.c +++ b/reactos/boot/freeldr/freeldr/arch/i386/pcvideo.c @@ -352,7 +352,7 @@ PcVideoSetVerticalResolution(UCHAR VerticalResolutionMode) * Return: * AL = 12h if function supported * - * Specifiy the number of scan lines used to display text modes. + * Specify the number of scan lines used to display text modes. * * The specified resolution will take effect on the next mode set. */ diff --git a/reactos/boot/freeldr/freeldr/arch/powerpc/mboot.c b/reactos/boot/freeldr/freeldr/arch/powerpc/mboot.c index 352d23781cb..07b05713b8a 100644 --- a/reactos/boot/freeldr/freeldr/arch/powerpc/mboot.c +++ b/reactos/boot/freeldr/freeldr/arch/powerpc/mboot.c @@ -359,7 +359,7 @@ FrLdrGetKernelBase(VOID) * FrLdrGetPaeMode * INTERNAL * - * Determines whether PAE mode shoudl be enabled or not. + * Determines whether PAE mode should be enabled or not. * * Params: * None. @@ -390,7 +390,7 @@ FrLdrGetPaeMode(VOID) * None. * * Remarks: - * We are setting PDEs, but using the equvivalent (for our purpose) PTE structure. + * We are setting PDEs, but using the equivalent (for our purpose) PTE structure. * As such, please note that PageFrameNumber == PageEntryNumber. * *--*/ diff --git a/reactos/boot/freeldr/freeldr/bootmgr.c b/reactos/boot/freeldr/freeldr/bootmgr.c index cba68a43efa..e370c28752d 100644 --- a/reactos/boot/freeldr/freeldr/bootmgr.c +++ b/reactos/boot/freeldr/freeldr/bootmgr.c @@ -73,7 +73,7 @@ VOID LoadOperatingSystem(IN OperatingSystemItem* OperatingSystem) if (BootType[0] == ANSI_NULL && SectionName[0] != ANSI_NULL) { - /* Try to infere the boot type value */ + /* Try to infer the boot type value */ #ifdef _M_IX86 ULONG FileId; if (ArcOpen((PSTR)SectionName, OpenReadOnly, &FileId) == ESUCCESS) diff --git a/reactos/boot/freeldr/freeldr/cache/cache.c b/reactos/boot/freeldr/freeldr/cache/cache.c index 92f52375547..dee293a85c4 100644 --- a/reactos/boot/freeldr/freeldr/cache/cache.c +++ b/reactos/boot/freeldr/freeldr/cache/cache.c @@ -133,7 +133,7 @@ BOOLEAN CacheReadDiskSectors(UCHAR DiskNumber, ULONGLONG StartSector, ULONG Sect } // - // Caculate which blocks we must cache + // Calculate which blocks we must cache // StartBlock = (ULONG)(StartSector / CacheManagerDrive.BlockSize); SectorOffsetInStartBlock = (ULONG)(StartSector % CacheManagerDrive.BlockSize); @@ -263,7 +263,7 @@ BOOLEAN CacheForceDiskSectorsIntoCache(UCHAR DiskNumber, ULONGLONG StartSector, } // - // Caculate which blocks we must cache + // Calculate which blocks we must cache // StartBlock = StartSector / CacheManagerDrive.BlockSize; EndBlock = (StartSector + SectorCount) / CacheManagerDrive.BlockSize; diff --git a/reactos/boot/freeldr/freeldr/freeldr.c b/reactos/boot/freeldr/freeldr/freeldr.c index cc68d4183dd..c4ee9852dc3 100644 --- a/reactos/boot/freeldr/freeldr/freeldr.c +++ b/reactos/boot/freeldr/freeldr/freeldr.c @@ -38,7 +38,7 @@ VOID __cdecl BootMain(IN PCCH CmdLine) MachInit(CmdLine); /* Check if the CPU is new enough */ - FrLdrCheckCpuCompatiblity(); // FIXME: Should be done inside MachInit! + FrLdrCheckCpuCompatibility(); // FIXME: Should be done inside MachInit! /* UI pre-initialization */ if (!UiInitialize(FALSE)) diff --git a/reactos/boot/freeldr/freeldr/include/freeldr.h b/reactos/boot/freeldr/freeldr/include/freeldr.h index 8dfb9c00439..bb339cc8527 100644 --- a/reactos/boot/freeldr/freeldr/include/freeldr.h +++ b/reactos/boot/freeldr/freeldr/include/freeldr.h @@ -124,6 +124,6 @@ VOID __cdecl BootMain(IN PCCH CmdLine); VOID LoadOperatingSystem(IN OperatingSystemItem* OperatingSystem); VOID RunLoader(VOID); -VOID FrLdrCheckCpuCompatiblity(VOID); +VOID FrLdrCheckCpuCompatibility(VOID); #endif /* __FREELDR_H */ diff --git a/reactos/boot/freeldr/freeldr/lib/fs/fat.c b/reactos/boot/freeldr/freeldr/lib/fs/fat.c index 52e5775dbfa..986f6bf1980 100644 --- a/reactos/boot/freeldr/freeldr/lib/fs/fat.c +++ b/reactos/boot/freeldr/freeldr/lib/fs/fat.c @@ -916,7 +916,7 @@ BOOLEAN FatGetFatEntry(PFAT_VOLUME_INFO Volume, ULONG Cluster, ULONG* ClusterPoi //TRACE("FatGetFatEntry() Retrieving FAT entry for cluster %d.\n", Cluster); - // We need a buffer for 2 secors + // We need a buffer for 2 sectors ReadBuffer = FrLdrTempAlloc(2 * Volume->BytesPerSector, TAG_FAT_BUFFER); if (!ReadBuffer) { diff --git a/reactos/boot/freeldr/freeldr/lib/mm/heap.c b/reactos/boot/freeldr/freeldr/lib/mm/heap.c index 8fd09d12705..236658a7e8e 100644 --- a/reactos/boot/freeldr/freeldr/lib/mm/heap.c +++ b/reactos/boot/freeldr/freeldr/lib/mm/heap.c @@ -370,7 +370,7 @@ FrLdrHeapAllocateEx( /* Check if the remaining space is large enough for a new block */ if (Remaining > 1) { - /* Make the allocated block as large as neccessary */ + /* Make the allocated block as large as necessary */ Block->Size = BlockSize; /* Get pointer to the new block */ @@ -419,7 +419,7 @@ FrLdrHeapAllocateEx( *REDZONE_LOW(Block) = REDZONE_MARK; *REDZONE_HI(Block) = REDZONE_MARK; - /* Allcoation starts after size field and redzone */ + /* Allocation starts after size field and redzone */ return (PUCHAR)Block->Data + REDZONE_LOW_OFFSET; #endif /* Return pointer to the data */ diff --git a/reactos/boot/freeldr/freeldr/lib/mm/meminit.c b/reactos/boot/freeldr/freeldr/lib/mm/meminit.c index 9917bf24735..bbf7a571fe4 100644 --- a/reactos/boot/freeldr/freeldr/lib/mm/meminit.c +++ b/reactos/boot/freeldr/freeldr/lib/mm/meminit.c @@ -674,7 +674,7 @@ BOOLEAN MmAreMemoryPagesAvailable(PVOID PageLookupTable, PFN_NUMBER TotalPageCou StartPage -= MmLowestPhysicalPage; // Make sure they aren't trying to go past the - // end of availabe memory + // end of available memory if ((StartPage + PageCount) > TotalPageCount) { return FALSE; @@ -683,7 +683,7 @@ BOOLEAN MmAreMemoryPagesAvailable(PVOID PageLookupTable, PFN_NUMBER TotalPageCou for (Index = StartPage; Index < (StartPage + PageCount); Index++) { // If this page is allocated then there obviously isn't - // memory availabe so return FALSE + // memory available so return FALSE if (RealPageLookupTable[Index].PageAllocated != LoaderFree) { return FALSE; diff --git a/reactos/boot/freeldr/freeldr/lib/peloader.c b/reactos/boot/freeldr/freeldr/lib/peloader.c index a41d422f63a..84eef62c252 100644 --- a/reactos/boot/freeldr/freeldr/lib/peloader.c +++ b/reactos/boot/freeldr/freeldr/lib/peloader.c @@ -631,7 +631,7 @@ WinLdrpBindImportName(IN OUT PLIST_ENTRY ModuleListHead, return FALSE; } - /* Everything allright, get the ordinal */ + /* Everything alright, get the ordinal */ Ordinal = OrdinalTable[Middle]; //TRACE("WinLdrpBindImportName() found Ordinal %d\n", Ordinal); diff --git a/reactos/boot/freeldr/freeldr/ntldr/arch/i386/winldr.c b/reactos/boot/freeldr/freeldr/ntldr/arch/i386/winldr.c index 38b167cd88f..bb16ec4d350 100644 --- a/reactos/boot/freeldr/freeldr/ntldr/arch/i386/winldr.c +++ b/reactos/boot/freeldr/freeldr/ntldr/arch/i386/winldr.c @@ -52,7 +52,7 @@ MempAllocatePageTables(VOID) { ULONG NumPageTables, TotalSize; PUCHAR Buffer; - // It's better to allocate PDE + PTEs contigiuos + // It's better to allocate PDE + PTEs contiguous // Max number of entries = MaxPageNum >> 10 // FIXME: This is a number to describe ALL physical memory diff --git a/reactos/boot/freeldr/freeldr/ntldr/setupldr.c b/reactos/boot/freeldr/freeldr/ntldr/setupldr.c index d37c04e91ec..20fc1b63a3d 100644 --- a/reactos/boot/freeldr/freeldr/ntldr/setupldr.c +++ b/reactos/boot/freeldr/freeldr/ntldr/setupldr.c @@ -310,7 +310,7 @@ LoadReactOSSetup(IN OperatingSystemItem* OperatingSystem, UiDrawStatusText("Setup is loading..."); - /* Allocate and minimalistic-initialize LPB */ + /* Allocate and minimalist-initialize LPB */ AllocateAndInitLPB(&LoaderBlock); /* Allocate and initialize setup loader block */ diff --git a/reactos/boot/freeldr/freeldr/ntldr/winldr.c b/reactos/boot/freeldr/freeldr/ntldr/winldr.c index de5135a15dd..74687b5d70c 100644 --- a/reactos/boot/freeldr/freeldr/ntldr/winldr.c +++ b/reactos/boot/freeldr/freeldr/ntldr/winldr.c @@ -441,7 +441,7 @@ LoadModule( BOOLEAN Success; CHAR FullFileName[MAX_PATH]; CHAR ProgressString[256]; - PVOID BaseAdress = NULL; + PVOID BaseAddress = NULL; UiDrawBackdrop(); sprintf(ProgressString, "Loading %s...", File); @@ -451,13 +451,13 @@ LoadModule( strcat(FullFileName, "SYSTEM32\\"); strcat(FullFileName, File); - Success = WinLdrLoadImage(FullFileName, MemoryType, &BaseAdress); + Success = WinLdrLoadImage(FullFileName, MemoryType, &BaseAddress); if (!Success) { TRACE("Loading %s failed\n", File); return FALSE; } - TRACE("%s loaded successfully at %p\n", File, BaseAdress); + TRACE("%s loaded successfully at %p\n", File, BaseAddress); strcpy(FullFileName, "WINDOWS\\SYSTEM32\\"); strcat(FullFileName, File); @@ -469,7 +469,7 @@ LoadModule( Success = WinLdrAllocateDataTableEntry(&LoaderBlock->LoadOrderListHead, (IsKdTransportDll ? "KDCOM.DLL" : File), FullFileName, - BaseAdress, + BaseAddress, Dte); return Success; @@ -692,7 +692,7 @@ LoadAndBootWindows(IN OperatingSystemItem* OperatingSystem, TRACE("BootPath: '%s'\n", BootPath); - /* Allocate and minimalistic-initialize LPB */ + /* Allocate and minimalist-initialize LPB */ AllocateAndInitLPB(&LoaderBlock); /* Load Hive */ diff --git a/reactos/boot/freeldr/freeldr/ntldr/wlregistry.c b/reactos/boot/freeldr/freeldr/ntldr/wlregistry.c index 888d2b123c1..3dc72f25b20 100644 --- a/reactos/boot/freeldr/freeldr/ntldr/wlregistry.c +++ b/reactos/boot/freeldr/freeldr/ntldr/wlregistry.c @@ -563,7 +563,7 @@ WinLdrScanRegistry(IN OUT PLIST_ENTRY BootDriverListHead, ValueSize = sizeof(TempImagePath); rc = RegQueryValue(hDriverKey, L"ImagePath", NULL, (PUCHAR)TempImagePath, &ValueSize); - /* Write the whole path if it suceeded, else prepare to fail */ + /* Write the whole path if it succeeded, else prepare to fail */ if (rc != ERROR_SUCCESS) { TRACE_CH(REACTOS, "ImagePath: not found\n"); diff --git a/reactos/boot/freeldr/freeldr/options.c b/reactos/boot/freeldr/freeldr/options.c index 0fd1f0fe0d3..ebb7709823e 100644 --- a/reactos/boot/freeldr/freeldr/options.c +++ b/reactos/boot/freeldr/freeldr/options.c @@ -53,7 +53,7 @@ PCSTR OptionsMenuList[] = PCSTR FrldrDbgMsg = "Enable FreeLdr debug channels\n" "Acceptable syntax: [level1]#channel1[,[level2]#channel2]\n" "level can be one of: trace,warn,fixme,err\n" - " if the level is ommited all levels\n" + " if the level is omitted all levels\n" " are enabled for the specified channel\n" "# can be either + or -\n" "channel can be one of the following:\n" diff --git a/reactos/boot/freeldr/freeldr/ui/ui.c b/reactos/boot/freeldr/freeldr/ui/ui.c index 9eda981a047..7acbdb331f9 100644 --- a/reactos/boot/freeldr/freeldr/ui/ui.c +++ b/reactos/boot/freeldr/freeldr/ui/ui.c @@ -50,7 +50,7 @@ CHAR UiTitleBoxTitleText[260] = "Boot Menu"; // Title box's tit BOOLEAN UiUseSpecialEffects = FALSE; // Tells us if we should use fade effects BOOLEAN UiDrawTime = TRUE; // Tells us if we should draw the time BOOLEAN UiCenterMenu = TRUE; // Tells us if we should use a centered or left-aligned menu -BOOLEAN UiMenuBox = TRUE; // Tells us if we shuld draw a box around the menu +BOOLEAN UiMenuBox = TRUE; // Tells us if we should draw a box around the menu CHAR UiTimeText[260] = "[Time Remaining: ] "; const CHAR UiMonthNames[12][15] = { "January ", "February ", "March ", "April ", "May ", "June ", "July ", "August ", "September ", "October ", "November ", "December " }; diff --git a/reactos/boot/freeldr/tools/rdel.c b/reactos/boot/freeldr/tools/rdel.c index 5059e5bfc87..713fda2fe63 100644 --- a/reactos/boot/freeldr/tools/rdel.c +++ b/reactos/boot/freeldr/tools/rdel.c @@ -1,7 +1,7 @@ /* * COPYRIGHT: See COPYING in the top level directory * PROGRAMMER: Rex Jolliff (rex@lvcablemodem.com) - * PURPOSE: Platform independant delete command + * PURPOSE: Platform independent delete command */ #include diff --git a/reactos/boot/freeldr/tools/rrmdir.c b/reactos/boot/freeldr/tools/rrmdir.c index a5620e94d24..a541c069f86 100644 --- a/reactos/boot/freeldr/tools/rrmdir.c +++ b/reactos/boot/freeldr/tools/rrmdir.c @@ -2,7 +2,7 @@ * COPYRIGHT: See COPYING in the top level directory * PROGRAMMER: Rex Jolliff (rex@lvcablemodem.com) * Casper S. Hornstrup (chorns@users.sourceforge.net) - * PURPOSE: Platform independant remove directory command + * PURPOSE: Platform independent remove directory command */ #include