mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 00:23:10 +00:00
[REACTOS] Fix typos (#6198)
- Adress -> Address - Currupted -> Corrupted 3rd-party files are not modified.
This commit is contained in:
parent
f380a51040
commit
ffb20d3330
22 changed files with 28 additions and 28 deletions
|
@ -39,7 +39,7 @@ OpenTnefStreamEx(
|
||||||
ULONG ulFlags,
|
ULONG ulFlags,
|
||||||
LPMESSAGE lpMessage,
|
LPMESSAGE lpMessage,
|
||||||
WORD wKeyVal,
|
WORD wKeyVal,
|
||||||
LPADDRESSBOOK lpAdressBook,
|
LPADDRESSBOOK lpAddressBook,
|
||||||
LPSTREAM *lppTNEF)
|
LPSTREAM *lppTNEF)
|
||||||
{
|
{
|
||||||
UNIMPLEMENTED;
|
UNIMPLEMENTED;
|
||||||
|
|
|
@ -161,7 +161,7 @@ VOID IPDispatchProtocol(
|
||||||
AddrInitIPv4(&SrcAddress, ((PIPv4_HEADER)(IPPacket->Header))->SrcAddr);
|
AddrInitIPv4(&SrcAddress, ((PIPv4_HEADER)(IPPacket->Header))->SrcAddr);
|
||||||
break;
|
break;
|
||||||
case IP_ADDRESS_V6:
|
case IP_ADDRESS_V6:
|
||||||
/* FIXME: IPv6 adresses not supported */
|
/* FIXME: IPv6 addresses not supported */
|
||||||
TI_DbgPrint(MIN_TRACE, ("IPv6 datagram discarded.\n"));
|
TI_DbgPrint(MIN_TRACE, ("IPv6 datagram discarded.\n"));
|
||||||
return;
|
return;
|
||||||
default:
|
default:
|
||||||
|
|
|
@ -324,7 +324,7 @@ HalpQueryCapabilities(IN PDEVICE_OBJECT DeviceObject,
|
||||||
Capabilities->UniqueID = TRUE;
|
Capabilities->UniqueID = TRUE;
|
||||||
Capabilities->SilentInstall = TRUE;
|
Capabilities->SilentInstall = TRUE;
|
||||||
|
|
||||||
/* Fill out the adress */
|
/* Fill out the address */
|
||||||
Capabilities->Address = InterfaceTypeUndefined;
|
Capabilities->Address = InterfaceTypeUndefined;
|
||||||
Capabilities->UINumber = InterfaceTypeUndefined;
|
Capabilities->UINumber = InterfaceTypeUndefined;
|
||||||
|
|
||||||
|
|
|
@ -290,7 +290,7 @@ VOID
|
||||||
NTAPI
|
NTAPI
|
||||||
ApicInitializeLocalApic(ULONG Cpu)
|
ApicInitializeLocalApic(ULONG Cpu)
|
||||||
{
|
{
|
||||||
APIC_BASE_ADRESS_REGISTER BaseRegister;
|
APIC_BASE_ADDRESS_REGISTER BaseRegister;
|
||||||
APIC_SPURIOUS_INERRUPT_REGISTER SpIntRegister;
|
APIC_SPURIOUS_INERRUPT_REGISTER SpIntRegister;
|
||||||
LVT_REGISTER LvtEntry;
|
LVT_REGISTER LvtEntry;
|
||||||
|
|
||||||
|
|
|
@ -183,7 +183,7 @@ typedef enum _TIMER_DV
|
||||||
} TIMER_DV;
|
} TIMER_DV;
|
||||||
|
|
||||||
#include <pshpack1.h>
|
#include <pshpack1.h>
|
||||||
typedef union _APIC_BASE_ADRESS_REGISTER
|
typedef union _APIC_BASE_ADDRESS_REGISTER
|
||||||
{
|
{
|
||||||
UINT64 LongLong;
|
UINT64 LongLong;
|
||||||
struct
|
struct
|
||||||
|
@ -195,7 +195,7 @@ typedef union _APIC_BASE_ADRESS_REGISTER
|
||||||
UINT64 BaseAddress:40;
|
UINT64 BaseAddress:40;
|
||||||
UINT64 ReservedMBZ:12;
|
UINT64 ReservedMBZ:12;
|
||||||
};
|
};
|
||||||
} APIC_BASE_ADRESS_REGISTER;
|
} APIC_BASE_ADDRESS_REGISTER;
|
||||||
|
|
||||||
typedef union _APIC_SPURIOUS_INERRUPT_REGISTER
|
typedef union _APIC_SPURIOUS_INERRUPT_REGISTER
|
||||||
{
|
{
|
||||||
|
|
|
@ -301,7 +301,7 @@ HalpQueryCapabilities(IN PDEVICE_OBJECT DeviceObject,
|
||||||
Capabilities->UniqueID = TRUE;
|
Capabilities->UniqueID = TRUE;
|
||||||
Capabilities->SilentInstall = TRUE;
|
Capabilities->SilentInstall = TRUE;
|
||||||
|
|
||||||
/* Fill out the adress */
|
/* Fill out the address */
|
||||||
Capabilities->Address = InterfaceTypeUndefined;
|
Capabilities->Address = InterfaceTypeUndefined;
|
||||||
Capabilities->UINumber = InterfaceTypeUndefined;
|
Capabilities->UINumber = InterfaceTypeUndefined;
|
||||||
|
|
||||||
|
|
|
@ -291,7 +291,7 @@ HaliReadMPConfigTable(PMP_CONFIGURATION_TABLE Table)
|
||||||
|
|
||||||
if (Table->LocalAPICAddress != APIC_DEFAULT_BASE)
|
if (Table->LocalAPICAddress != APIC_DEFAULT_BASE)
|
||||||
{
|
{
|
||||||
DPRINT1("APIC base address is at 0x%X. I cannot handle non-standard adresses\n",
|
DPRINT1("APIC base address is at 0x%X. I cannot handle non-standard addresses\n",
|
||||||
Table->LocalAPICAddress);
|
Table->LocalAPICAddress);
|
||||||
ASSERT(FALSE);
|
ASSERT(FALSE);
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
|
@ -39,9 +39,9 @@ ImageSymToVa(HANDLE hProcess, PSYMBOL_INFO pSym, PBYTE pModule, PCSTR Name)
|
||||||
}
|
}
|
||||||
#if defined(__GNUC__) && \
|
#if defined(__GNUC__) && \
|
||||||
(__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__ < 40400)
|
(__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__ < 40400)
|
||||||
printf("looking up adress for %s: 0x%llx\n", Name, pSym->Address);
|
printf("looking up address for %s: 0x%llx\n", Name, pSym->Address);
|
||||||
#else
|
#else
|
||||||
printf("looking up adress for %s: 0x%I64x\n", Name, pSym->Address);
|
printf("looking up address for %s: 0x%I64x\n", Name, pSym->Address);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
NtHeaders = ImageNtHeader(pModule);
|
NtHeaders = ImageNtHeader(pModule);
|
||||||
|
@ -160,7 +160,7 @@ cont:
|
||||||
|
|
||||||
if (!pW32pServiceTable || !pW32pServiceLimit || !pW32pArgumentTable)
|
if (!pW32pServiceTable || !pW32pServiceLimit || !pW32pArgumentTable)
|
||||||
{
|
{
|
||||||
printf("Couldn't find adress!\n");
|
printf("Couldn't find address!\n");
|
||||||
goto cleanup;
|
goto cleanup;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1386,7 +1386,7 @@ QSI_DEF(SystemHandleInformation)
|
||||||
|
|
||||||
HandleInformation->Handles[Index].CreatorBackTraceIndex = 0;
|
HandleInformation->Handles[Index].CreatorBackTraceIndex = 0;
|
||||||
|
|
||||||
#if 0 /* FIXME!!! Type field currupted */
|
#if 0 /* FIXME!!! Type field corrupted */
|
||||||
HandleInformation->Handles[Index].ObjectTypeIndex =
|
HandleInformation->Handles[Index].ObjectTypeIndex =
|
||||||
(UCHAR) ObjectHeader->Type->Index;
|
(UCHAR) ObjectHeader->Type->Index;
|
||||||
#else
|
#else
|
||||||
|
@ -2572,7 +2572,7 @@ QSI_DEF(SystemExtendedHandleInformation)
|
||||||
|
|
||||||
HandleInformation->Handle[Index].CreatorBackTraceIndex = 0;
|
HandleInformation->Handle[Index].CreatorBackTraceIndex = 0;
|
||||||
|
|
||||||
#if 0 /* FIXME!!! Type field currupted */
|
#if 0 /* FIXME!!! Type field corrupted */
|
||||||
HandleInformation->Handles[Index].ObjectTypeIndex =
|
HandleInformation->Handles[Index].ObjectTypeIndex =
|
||||||
(UCHAR) ObjectHeader->Type->Index;
|
(UCHAR) ObjectHeader->Type->Index;
|
||||||
#else
|
#else
|
||||||
|
|
|
@ -1159,7 +1159,7 @@ KiTrap0DHandler(IN PKTRAP_FRAME TrapFrame)
|
||||||
* which will cause a GPF since the trap frame is a total mess (on purpose)
|
* which will cause a GPF since the trap frame is a total mess (on purpose)
|
||||||
* as built in KiEnterV86Mode.
|
* as built in KiEnterV86Mode.
|
||||||
*
|
*
|
||||||
* The idea is to scan for IRET, scan for the known EIP adress, validate CS
|
* The idea is to scan for IRET, scan for the known EIP address, validate CS
|
||||||
* and then manually issue a jump to the V8086 return EIP.
|
* and then manually issue a jump to the V8086 return EIP.
|
||||||
*/
|
*/
|
||||||
Instructions = (PUCHAR)TrapFrame->Eip;
|
Instructions = (PUCHAR)TrapFrame->Eip;
|
||||||
|
|
|
@ -862,7 +862,7 @@ MI_MAKE_PROTOTYPE_PTE(IN PMMPTE NewPte,
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Prototype PTEs are only valid in paged pool by design, this little trick
|
* Prototype PTEs are only valid in paged pool by design, this little trick
|
||||||
* lets us only use 30 bits for the adress of the PTE, as long as the area
|
* lets us only use 30 bits for the address of the PTE, as long as the area
|
||||||
* stays 1024MB At most.
|
* stays 1024MB At most.
|
||||||
*/
|
*/
|
||||||
Offset = (ULONG_PTR)PointerPte - (ULONG_PTR)MmPagedPoolStart;
|
Offset = (ULONG_PTR)PointerPte - (ULONG_PTR)MmPagedPoolStart;
|
||||||
|
|
|
@ -1142,7 +1142,7 @@ MiMapViewInSystemSpace(
|
||||||
SectionOffset->QuadPart);
|
SectionOffset->QuadPart);
|
||||||
ASSERT(NT_SUCCESS(Status));
|
ASSERT(NT_SUCCESS(Status));
|
||||||
|
|
||||||
/* Return the base adress of the mapping and success */
|
/* Return the base address of the mapping and success */
|
||||||
*MappedBase = Base;
|
*MappedBase = Base;
|
||||||
return STATUS_SUCCESS;
|
return STATUS_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
|
@ -904,7 +904,7 @@ MmSetDirtyBit(PEPROCESS Process, PVOID Address, BOOLEAN Bit)
|
||||||
MiMakePdeExistAndMakeValid(MiAddressToPde(Address), Process, MM_NOIRQL);
|
MiMakePdeExistAndMakeValid(MiAddressToPde(Address), Process, MM_NOIRQL);
|
||||||
|
|
||||||
PointerPte = MiAddressToPte(Address);
|
PointerPte = MiAddressToPte(Address);
|
||||||
// We shouldnl't set dirty bit on non-mapped adresses
|
// We shouldnl't set dirty bit on non-mapped addresses
|
||||||
if (!PointerPte->u.Hard.Valid && (FlagOn(PointerPte->u.Long, 0x800) || (PointerPte->u.Hard.PageFrameNumber == 0)))
|
if (!PointerPte->u.Hard.Valid && (FlagOn(PointerPte->u.Long, 0x800) || (PointerPte->u.Hard.PageFrameNumber == 0)))
|
||||||
{
|
{
|
||||||
DPRINT1("Invalid Pte %lx\n", PointerPte->u.Long);
|
DPRINT1("Invalid Pte %lx\n", PointerPte->u.Long);
|
||||||
|
|
|
@ -346,7 +346,7 @@ MmFreeMemoryArea(
|
||||||
ASSERT(MemoryArea->Type == MEMORY_AREA_SECTION_VIEW);
|
ASSERT(MemoryArea->Type == MEMORY_AREA_SECTION_VIEW);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* MmCleanProcessAddressSpace might have removed it (and this would be MmDeleteProcessAdressSpace) */
|
/* MmCleanProcessAddressSpace might have removed it (and this would be MmDeleteProcessAddressSpace) */
|
||||||
ASSERT(MemoryArea->VadNode.u.VadFlags.Spare != 0);
|
ASSERT(MemoryArea->VadNode.u.VadFlags.Spare != 0);
|
||||||
if (((PMMVAD)MemoryArea->Vad)->u.VadFlags.Spare == 1)
|
if (((PMMVAD)MemoryArea->Vad)->u.VadFlags.Spare == 1)
|
||||||
{
|
{
|
||||||
|
|
|
@ -4551,7 +4551,7 @@ MmMapViewInSystemSpaceEx (
|
||||||
return Status;
|
return Status;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* This function must be called with adress space lock held */
|
/* This function must be called with address space lock held */
|
||||||
NTSTATUS
|
NTSTATUS
|
||||||
NTAPI
|
NTAPI
|
||||||
MiRosUnmapViewInSystemSpace(IN PVOID MappedBase)
|
MiRosUnmapViewInSystemSpace(IN PVOID MappedBase)
|
||||||
|
|
|
@ -98,7 +98,7 @@ struct __basic_iostring : public basic_string<_CharT, char_traits<_CharT>, __ios
|
||||||
/*
|
/*
|
||||||
* A consequence of the non standard conformant allocator is that a string using it
|
* A consequence of the non standard conformant allocator is that a string using it
|
||||||
* must always be presized to the allocator static buffer size because the basic_string implementation
|
* must always be presized to the allocator static buffer size because the basic_string implementation
|
||||||
* do not manage an allocator returning always the same memory adress as long as the
|
* do not manage an allocator returning always the same memory address as long as the
|
||||||
* requested memory block size is under a certain value.
|
* requested memory block size is under a certain value.
|
||||||
*/
|
*/
|
||||||
typedef __basic_iostring<_CharT> _Self;
|
typedef __basic_iostring<_CharT> _Self;
|
||||||
|
|
|
@ -672,7 +672,7 @@ typedef struct _MM_AVL_TABLE
|
||||||
} MM_AVL_TABLE, *PMM_AVL_TABLE;
|
} MM_AVL_TABLE, *PMM_AVL_TABLE;
|
||||||
|
|
||||||
//
|
//
|
||||||
// Virtual Adress List used in VADs
|
// Virtual Address List used in VADs
|
||||||
//
|
//
|
||||||
typedef struct _MMADDRESS_LIST
|
typedef struct _MMADDRESS_LIST
|
||||||
{
|
{
|
||||||
|
|
|
@ -435,7 +435,7 @@ typedef ULONG NDIS_OID, *PNDIS_OID;
|
||||||
|
|
||||||
#define NDIS_MAC_OPTION_EOTX_INDICATION 0x00000020
|
#define NDIS_MAC_OPTION_EOTX_INDICATION 0x00000020
|
||||||
#define NDIS_MAC_OPTION_8021P_PRIORITY 0x00000040
|
#define NDIS_MAC_OPTION_8021P_PRIORITY 0x00000040
|
||||||
#define NDIS_MAC_OPTION_SUPPORTS_MAC_ADRESS_OVERWRITE 0x00000080
|
#define NDIS_MAC_OPTION_SUPPORTS_MAC_ADDRESS_OVERWRITE 0x00000080
|
||||||
#define NDIS_MAC_OPTION_RECEIVE_AT_DPC 0x00000100
|
#define NDIS_MAC_OPTION_RECEIVE_AT_DPC 0x00000100
|
||||||
#define NDIS_MAC_OPTION_8021Q_VLAN 0x00000200
|
#define NDIS_MAC_OPTION_8021Q_VLAN 0x00000200
|
||||||
#define NDIS_MAC_OPTION_RESERVED 0x80000000
|
#define NDIS_MAC_OPTION_RESERVED 0x80000000
|
||||||
|
|
|
@ -77,7 +77,7 @@ __delayLoadHelper2(PCImgDelayDescr pidd, PImgThunkData pIATEntry)
|
||||||
dli.dlp.fImportByName = !IMAGE_SNAP_BY_ORDINAL(pINT[index].u1.Ordinal);
|
dli.dlp.fImportByName = !IMAGE_SNAP_BY_ORDINAL(pINT[index].u1.Ordinal);
|
||||||
if (dli.dlp.fImportByName)
|
if (dli.dlp.fImportByName)
|
||||||
{
|
{
|
||||||
/* u1.AdressOfData points to a IMAGE_IMPORT_BY_NAME struct */
|
/* u1.AddressOfData points to a IMAGE_IMPORT_BY_NAME struct */
|
||||||
PIMAGE_IMPORT_BY_NAME piibn = PFromRva((RVA)pINT[index].u1.AddressOfData);
|
PIMAGE_IMPORT_BY_NAME piibn = PFromRva((RVA)pINT[index].u1.AddressOfData);
|
||||||
dli.dlp.szProcName = (LPCSTR)&piibn->Name;
|
dli.dlp.szProcName = (LPCSTR)&piibn->Name;
|
||||||
}
|
}
|
||||||
|
|
|
@ -347,7 +347,7 @@ RtlpTryToUnwindEpilog(
|
||||||
|
|
||||||
LocalContext.Rsp = GetReg(&LocalContext, Reg);
|
LocalContext.Rsp = GetReg(&LocalContext, Reg);
|
||||||
|
|
||||||
/* Get adressing mode */
|
/* Get addressing mode */
|
||||||
Mod = (Instr >> 22) & 0x3;
|
Mod = (Instr >> 22) & 0x3;
|
||||||
if (Mod == 0)
|
if (Mod == 0)
|
||||||
{
|
{
|
||||||
|
|
|
@ -269,7 +269,7 @@ DwExecIntruction(PDW2CFSTATE State, char *pc)
|
||||||
}
|
}
|
||||||
|
|
||||||
/* These work differently. We are in a new function.
|
/* These work differently. We are in a new function.
|
||||||
* We have to parse a lea opcode to find the adress of
|
* We have to parse a lea opcode to find the address of
|
||||||
* the jump target. This is the reference to find the
|
* the jump target. This is the reference to find the
|
||||||
* appropriate C_SCOPE_TABLE. */
|
* appropriate C_SCOPE_TABLE. */
|
||||||
case 6: /* Filter func */
|
case 6: /* Filter func */
|
||||||
|
|
|
@ -226,7 +226,7 @@ LDEVOBJ_pvFindImageProcAddress(
|
||||||
{
|
{
|
||||||
PVOID pvImageBase;
|
PVOID pvImageBase;
|
||||||
PIMAGE_EXPORT_DIRECTORY pExportDir;
|
PIMAGE_EXPORT_DIRECTORY pExportDir;
|
||||||
PVOID pvProcAdress = NULL;
|
PVOID pvProcAddress = NULL;
|
||||||
PUSHORT pOrdinals;
|
PUSHORT pOrdinals;
|
||||||
PULONG pNames, pAddresses;
|
PULONG pNames, pAddresses;
|
||||||
ULONG i;
|
ULONG i;
|
||||||
|
@ -255,13 +255,13 @@ LDEVOBJ_pvFindImageProcAddress(
|
||||||
if (_stricmp(pszProcName, RVA_TO_ADDR(pvImageBase, pNames[i])) == 0)
|
if (_stricmp(pszProcName, RVA_TO_ADDR(pvImageBase, pNames[i])) == 0)
|
||||||
{
|
{
|
||||||
/* Found! Calculate the procedure address */
|
/* Found! Calculate the procedure address */
|
||||||
pvProcAdress = RVA_TO_ADDR(pvImageBase, pAddresses[pOrdinals[i]]);
|
pvProcAddress = RVA_TO_ADDR(pvImageBase, pAddresses[pOrdinals[i]]);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Return the address */
|
/* Return the address */
|
||||||
return pvProcAdress;
|
return pvProcAddress;
|
||||||
}
|
}
|
||||||
|
|
||||||
static
|
static
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue