From 02e447d13593a6cb2601450d8c14afbd2e5e0969 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herm=C3=A8s=20B=C3=A9lusca-Ma=C3=AFto?= Date: Thu, 4 Feb 2016 20:27:44 +0000 Subject: [PATCH] [CODE]: s/interupt/interrupt/ svn path=/trunk/; revision=70689 --- .../freeldr/freeldr/arch/realmode/int386.inc | 2 +- reactos/drivers/usb/usbohci/hardware.h | 4 +- reactos/hal/halx86/apic/tsc.c | 4 +- reactos/ntoskrnl/ex/interlocked.c | 56 +++++++++---------- reactos/ntoskrnl/ke/amd64/stubs.c | 2 +- reactos/ntoskrnl/ke/arm/thrdini.c | 2 +- reactos/ntoskrnl/ke/i386/thrdini.c | 2 +- reactos/ntoskrnl/ke/i386/traphdlr.c | 2 +- 8 files changed, 37 insertions(+), 37 deletions(-) diff --git a/reactos/boot/freeldr/freeldr/arch/realmode/int386.inc b/reactos/boot/freeldr/freeldr/arch/realmode/int386.inc index ebece0fc175..de2ddda3e30 100644 --- a/reactos/boot/freeldr/freeldr/arch/realmode/int386.inc +++ b/reactos/boot/freeldr/freeldr/arch/realmode/int386.inc @@ -13,7 +13,7 @@ Int386: push gs pushad - /* Get the interupt vector and patch the opcode */ + /* Get the interrupt vector and patch the opcode */ mov al, byte ptr ds:[BSS_IntVector] mov byte ptr ds:[Int386_vector_opcode], al diff --git a/reactos/drivers/usb/usbohci/hardware.h b/reactos/drivers/usb/usbohci/hardware.h index e8ed97ba16b..35e214c8a2b 100644 --- a/reactos/drivers/usb/usbohci/hardware.h +++ b/reactos/drivers/usb/usbohci/hardware.h @@ -151,7 +151,7 @@ | OHCI_BULK_LIST_ENABLE) // -// All interupts +// All interrupts // #define OHCI_ALL_INTERRUPTS (OHCI_SCHEDULING_OVERRUN \ | OHCI_WRITEBACK_DONE_HEAD \ @@ -163,7 +163,7 @@ | OHCI_OWNERSHIP_CHANGE) // -// All normal interupts +// All normal interrupts // #define OHCI_NORMAL_INTERRUPTS (OHCI_SCHEDULING_OVERRUN \ | OHCI_WRITEBACK_DONE_HEAD \ diff --git a/reactos/hal/halx86/apic/tsc.c b/reactos/hal/halx86/apic/tsc.c index cebea261210..261f62b65d5 100644 --- a/reactos/hal/halx86/apic/tsc.c +++ b/reactos/hal/halx86/apic/tsc.c @@ -89,7 +89,7 @@ HalpInitializeTsc(VOID) /* Reset TSC value to 0 */ __writemsr(MSR_RDTSC, 0); - /* Enable the timer interupt */ + /* Enable the timer interrupt */ HalEnableSystemInterrupt(HalpRtcClockVector, CLOCK_LEVEL, Latched); /* Read register C, so that the next interrupt can happen */ @@ -103,7 +103,7 @@ HalpInitializeTsc(VOID) /* Disable the periodic interrupt in the CMOS */ HalpWriteCmos(RTC_REGISTER_B, RegisterB & ~RTC_REG_B_PI); - /* Disable the timer interupt */ + /* Disable the timer interrupt */ HalDisableSystemInterrupt(HalpRtcClockVector, CLOCK_LEVEL); /* Restore old IDT entry */ diff --git a/reactos/ntoskrnl/ex/interlocked.c b/reactos/ntoskrnl/ex/interlocked.c index c29e4ead6a6..80a123b7d67 100644 --- a/reactos/ntoskrnl/ex/interlocked.c +++ b/reactos/ntoskrnl/ex/interlocked.c @@ -29,7 +29,7 @@ FORCEINLINE BOOLEAN -_ExiDisableInteruptsAndAcquireSpinlock( +_ExiDisableInterruptsAndAcquireSpinlock( IN OUT PKSPIN_LOCK Lock) { BOOLEAN Enabled; @@ -45,7 +45,7 @@ _ExiDisableInteruptsAndAcquireSpinlock( FORCEINLINE VOID -_ExiReleaseSpinLockAndRestoreInterupts( +_ExiReleaseSpinLockAndRestoreInterrupts( IN OUT PKSPIN_LOCK Lock, BOOLEAN Enable) { @@ -68,7 +68,7 @@ ExInterlockedAddLargeInteger( BOOLEAN Enable; /* Disable interrupts and acquire the spinlock */ - Enable = _ExiDisableInteruptsAndAcquireSpinlock(Lock); + Enable = _ExiDisableInterruptsAndAcquireSpinlock(Lock); /* Save the old value */ OldValue.QuadPart = Addend->QuadPart; @@ -77,7 +77,7 @@ ExInterlockedAddLargeInteger( Addend->QuadPart += Increment.QuadPart; /* Release the spinlock and restore interrupts */ - _ExiReleaseSpinLockAndRestoreInterupts(Lock, Enable); + _ExiReleaseSpinLockAndRestoreInterrupts(Lock, Enable); /* Return the old value */ return OldValue; @@ -94,7 +94,7 @@ ExInterlockedAddUlong( ULONG OldValue; /* Disable interrupts and acquire the spinlock */ - Enable = _ExiDisableInteruptsAndAcquireSpinlock(Lock); + Enable = _ExiDisableInterruptsAndAcquireSpinlock(Lock); /* Save the old value */ OldValue = *Addend; @@ -103,7 +103,7 @@ ExInterlockedAddUlong( *Addend += Increment; /* Release the spinlock and restore interrupts */ - _ExiReleaseSpinLockAndRestoreInterupts(Lock, Enable); + _ExiReleaseSpinLockAndRestoreInterrupts(Lock, Enable); /* Return the old value */ return OldValue; @@ -120,7 +120,7 @@ ExInterlockedInsertHeadList( PLIST_ENTRY FirstEntry; /* Disable interrupts and acquire the spinlock */ - Enable = _ExiDisableInteruptsAndAcquireSpinlock(Lock); + Enable = _ExiDisableInterruptsAndAcquireSpinlock(Lock); /* Save the first entry */ FirstEntry = ListHead->Flink; @@ -129,7 +129,7 @@ ExInterlockedInsertHeadList( InsertHeadList(ListHead, ListEntry); /* Release the spinlock and restore interrupts */ - _ExiReleaseSpinLockAndRestoreInterupts(Lock, Enable); + _ExiReleaseSpinLockAndRestoreInterrupts(Lock, Enable); /* Return the old first entry or NULL for empty list */ return (FirstEntry == ListHead) ? NULL : FirstEntry; @@ -146,7 +146,7 @@ ExInterlockedInsertTailList( PLIST_ENTRY LastEntry; /* Disable interrupts and acquire the spinlock */ - Enable = _ExiDisableInteruptsAndAcquireSpinlock(Lock); + Enable = _ExiDisableInterruptsAndAcquireSpinlock(Lock); /* Save the last entry */ LastEntry = ListHead->Blink; @@ -155,7 +155,7 @@ ExInterlockedInsertTailList( InsertTailList(ListHead, ListEntry); /* Release the spinlock and restore interrupts */ - _ExiReleaseSpinLockAndRestoreInterupts(Lock, Enable); + _ExiReleaseSpinLockAndRestoreInterrupts(Lock, Enable); /* Return the old last entry or NULL for empty list */ return (LastEntry == ListHead) ? NULL : LastEntry; @@ -171,7 +171,7 @@ ExInterlockedRemoveHeadList( PLIST_ENTRY ListEntry; /* Disable interrupts and acquire the spinlock */ - Enable = _ExiDisableInteruptsAndAcquireSpinlock(Lock); + Enable = _ExiDisableInterruptsAndAcquireSpinlock(Lock); /* Check if the list is empty */ if (IsListEmpty(ListHead)) @@ -190,7 +190,7 @@ ExInterlockedRemoveHeadList( } /* Release the spinlock and restore interrupts */ - _ExiReleaseSpinLockAndRestoreInterupts(Lock, Enable); + _ExiReleaseSpinLockAndRestoreInterrupts(Lock, Enable); /* Return the entry */ return ListEntry; @@ -206,7 +206,7 @@ ExInterlockedPopEntryList( PSINGLE_LIST_ENTRY ListEntry; /* Disable interrupts and acquire the spinlock */ - Enable = _ExiDisableInteruptsAndAcquireSpinlock(Lock); + Enable = _ExiDisableInterruptsAndAcquireSpinlock(Lock); /* Pop the first entry from the list */ ListEntry = PopEntryList(ListHead); @@ -216,7 +216,7 @@ ExInterlockedPopEntryList( #endif /* Release the spinlock and restore interrupts */ - _ExiReleaseSpinLockAndRestoreInterupts(Lock, Enable); + _ExiReleaseSpinLockAndRestoreInterrupts(Lock, Enable); /* Return the entry */ return ListEntry; @@ -233,7 +233,7 @@ ExInterlockedPushEntryList( PSINGLE_LIST_ENTRY OldListEntry; /* Disable interrupts and acquire the spinlock */ - Enable = _ExiDisableInteruptsAndAcquireSpinlock(Lock); + Enable = _ExiDisableInterruptsAndAcquireSpinlock(Lock); /* Save the old top entry */ OldListEntry = ListHead->Next; @@ -242,7 +242,7 @@ ExInterlockedPushEntryList( PushEntryList(ListHead, ListEntry); /* Release the spinlock and restore interrupts */ - _ExiReleaseSpinLockAndRestoreInterupts(Lock, Enable); + _ExiReleaseSpinLockAndRestoreInterrupts(Lock, Enable); /* Return the entry */ return OldListEntry; @@ -299,7 +299,7 @@ ExfInterlockedAddUlong( ULONG OldValue; /* Disable interrupts and acquire the spinlock */ - Enable = _ExiDisableInteruptsAndAcquireSpinlock(Lock); + Enable = _ExiDisableInterruptsAndAcquireSpinlock(Lock); /* Save the old value */ OldValue = *Addend; @@ -308,7 +308,7 @@ ExfInterlockedAddUlong( *Addend += Increment; /* Release the spinlock and restore interrupts */ - _ExiReleaseSpinLockAndRestoreInterupts(Lock, Enable); + _ExiReleaseSpinLockAndRestoreInterrupts(Lock, Enable); /* Return the old value */ return OldValue; @@ -325,7 +325,7 @@ ExfInterlockedInsertHeadList( PLIST_ENTRY FirstEntry; /* Disable interrupts and acquire the spinlock */ - Enable = _ExiDisableInteruptsAndAcquireSpinlock(Lock); + Enable = _ExiDisableInterruptsAndAcquireSpinlock(Lock); /* Save the first entry */ FirstEntry = ListHead->Flink; @@ -334,7 +334,7 @@ ExfInterlockedInsertHeadList( InsertHeadList(ListHead, ListEntry); /* Release the spinlock and restore interrupts */ - _ExiReleaseSpinLockAndRestoreInterupts(Lock, Enable); + _ExiReleaseSpinLockAndRestoreInterrupts(Lock, Enable); /* Return the old first entry or NULL for empty list */ return (FirstEntry == ListHead) ? NULL : FirstEntry; @@ -351,7 +351,7 @@ ExfInterlockedInsertTailList( PLIST_ENTRY LastEntry; /* Disable interrupts and acquire the spinlock */ - Enable = _ExiDisableInteruptsAndAcquireSpinlock(Lock); + Enable = _ExiDisableInterruptsAndAcquireSpinlock(Lock); /* Save the last entry */ LastEntry = ListHead->Blink; @@ -360,7 +360,7 @@ ExfInterlockedInsertTailList( InsertTailList(ListHead, ListEntry); /* Release the spinlock and restore interrupts */ - _ExiReleaseSpinLockAndRestoreInterupts(Lock, Enable); + _ExiReleaseSpinLockAndRestoreInterrupts(Lock, Enable); /* Return the old last entry or NULL for empty list */ return (LastEntry == ListHead) ? NULL : LastEntry; @@ -377,7 +377,7 @@ ExfInterlockedRemoveHeadList( PLIST_ENTRY ListEntry; /* Disable interrupts and acquire the spinlock */ - Enable = _ExiDisableInteruptsAndAcquireSpinlock(Lock); + Enable = _ExiDisableInterruptsAndAcquireSpinlock(Lock); /* Check if the list is empty */ if (IsListEmpty(ListHead)) @@ -396,7 +396,7 @@ ExfInterlockedRemoveHeadList( } /* Release the spinlock and restore interrupts */ - _ExiReleaseSpinLockAndRestoreInterupts(Lock, Enable); + _ExiReleaseSpinLockAndRestoreInterrupts(Lock, Enable); /* return the entry */ return ListEntry; @@ -412,7 +412,7 @@ ExfInterlockedPopEntryList( PSINGLE_LIST_ENTRY ListEntry; /* Disable interrupts and acquire the spinlock */ - Enable = _ExiDisableInteruptsAndAcquireSpinlock(Lock); + Enable = _ExiDisableInterruptsAndAcquireSpinlock(Lock); /* Pop the first entry from the list */ ListEntry = PopEntryList(ListHead); @@ -422,7 +422,7 @@ ExfInterlockedPopEntryList( #endif /* Release the spinlock and restore interrupts */ - _ExiReleaseSpinLockAndRestoreInterupts(Lock, Enable); + _ExiReleaseSpinLockAndRestoreInterrupts(Lock, Enable); /* return the entry */ return ListEntry; @@ -439,7 +439,7 @@ ExfInterlockedPushEntryList( PSINGLE_LIST_ENTRY OldListEntry; /* Disable interrupts and acquire the spinlock */ - Enable = _ExiDisableInteruptsAndAcquireSpinlock(Lock); + Enable = _ExiDisableInterruptsAndAcquireSpinlock(Lock); /* Save the old top entry */ OldListEntry = ListHead->Next; @@ -448,7 +448,7 @@ ExfInterlockedPushEntryList( PushEntryList(ListHead, ListEntry); /* Release the spinlock and restore interrupts */ - _ExiReleaseSpinLockAndRestoreInterupts(Lock, Enable); + _ExiReleaseSpinLockAndRestoreInterrupts(Lock, Enable); /* return the entry */ return OldListEntry; diff --git a/reactos/ntoskrnl/ke/amd64/stubs.c b/reactos/ntoskrnl/ke/amd64/stubs.c index efe280c0e7a..6c134ffe2f1 100644 --- a/reactos/ntoskrnl/ke/amd64/stubs.c +++ b/reactos/ntoskrnl/ke/amd64/stubs.c @@ -139,7 +139,7 @@ KiIdleLoop(VOID) /* Check if a new thread is scheduled for execution */ if (Prcb->NextThread) { - /* Enable interupts */ + /* Enable interrupts */ _enable(); /* Capture current thread data */ diff --git a/reactos/ntoskrnl/ke/arm/thrdini.c b/reactos/ntoskrnl/ke/arm/thrdini.c index 4031ac4e6a3..acc8d729e99 100644 --- a/reactos/ntoskrnl/ke/arm/thrdini.c +++ b/reactos/ntoskrnl/ke/arm/thrdini.c @@ -179,7 +179,7 @@ KiIdleLoop(VOID) /* Check if a new thread is scheduled for execution */ if (Prcb->NextThread) { - /* Enable interupts */ + /* Enable interrupts */ _enable(); /* Capture current thread data */ diff --git a/reactos/ntoskrnl/ke/i386/thrdini.c b/reactos/ntoskrnl/ke/i386/thrdini.c index a1d075f2ba5..ba7935c3dd1 100644 --- a/reactos/ntoskrnl/ke/i386/thrdini.c +++ b/reactos/ntoskrnl/ke/i386/thrdini.c @@ -294,7 +294,7 @@ KiIdleLoop(VOID) /* Check if a new thread is scheduled for execution */ if (Prcb->NextThread) { - /* Enable interupts */ + /* Enable interrupts */ _enable(); /* Capture current thread data */ diff --git a/reactos/ntoskrnl/ke/i386/traphdlr.c b/reactos/ntoskrnl/ke/i386/traphdlr.c index e6e4452b333..7da18843c04 100644 --- a/reactos/ntoskrnl/ke/i386/traphdlr.c +++ b/reactos/ntoskrnl/ke/i386/traphdlr.c @@ -1219,7 +1219,7 @@ KiTrap0EHandler(IN PKTRAP_FRAME TrapFrame) /* Save CR2 */ Cr2 = __readcr2(); - /* Enable interupts */ + /* Enable interrupts */ _enable(); /* Check if we came in with interrupts disabled */