[CODE]: s/interupt/interrupt/
authorHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Thu, 4 Feb 2016 20:27:44 +0000 (20:27 +0000)
committerHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Thu, 4 Feb 2016 20:27:44 +0000 (20:27 +0000)
svn path=/trunk/; revision=70689

reactos/boot/freeldr/freeldr/arch/realmode/int386.inc
reactos/drivers/usb/usbohci/hardware.h
reactos/hal/halx86/apic/tsc.c
reactos/ntoskrnl/ex/interlocked.c
reactos/ntoskrnl/ke/amd64/stubs.c
reactos/ntoskrnl/ke/arm/thrdini.c
reactos/ntoskrnl/ke/i386/thrdini.c
reactos/ntoskrnl/ke/i386/traphdlr.c

index ebece0f..de2ddda 100644 (file)
@@ -13,7 +13,7 @@ Int386:
     push gs\r
     pushad\r
 \r
     push gs\r
     pushad\r
 \r
-    /* Get the interupt vector and patch the opcode */\r
+    /* Get the interrupt vector and patch the opcode */\r
     mov al, byte ptr ds:[BSS_IntVector]\r
     mov byte ptr ds:[Int386_vector_opcode], al\r
 \r
     mov al, byte ptr ds:[BSS_IntVector]\r
     mov byte ptr ds:[Int386_vector_opcode], al\r
 \r
index e8ed97b..35e214c 100644 (file)
                                 | OHCI_BULK_LIST_ENABLE)
 
 //
                                 | OHCI_BULK_LIST_ENABLE)
 
 //
-//  All interupts
+//  All interrupts
 // 
 #define OHCI_ALL_INTERRUPTS     (OHCI_SCHEDULING_OVERRUN \
                                 | OHCI_WRITEBACK_DONE_HEAD \
 // 
 #define OHCI_ALL_INTERRUPTS     (OHCI_SCHEDULING_OVERRUN \
                                 | OHCI_WRITEBACK_DONE_HEAD \
                                 | OHCI_OWNERSHIP_CHANGE)
 
 //
                                 | OHCI_OWNERSHIP_CHANGE)
 
 //
-//  All normal interupts
+//  All normal interrupts
 //
 #define OHCI_NORMAL_INTERRUPTS      (OHCI_SCHEDULING_OVERRUN \
                                     | OHCI_WRITEBACK_DONE_HEAD \
 //
 #define OHCI_NORMAL_INTERRUPTS      (OHCI_SCHEDULING_OVERRUN \
                                     | OHCI_WRITEBACK_DONE_HEAD \
index cebea26..261f62b 100644 (file)
@@ -89,7 +89,7 @@ HalpInitializeTsc(VOID)
     /* Reset TSC value to 0 */
     __writemsr(MSR_RDTSC, 0);
 
     /* 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 */
     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 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 */
     HalDisableSystemInterrupt(HalpRtcClockVector, CLOCK_LEVEL);
 
     /* Restore old IDT entry */
index c29e4ea..80a123b 100644 (file)
@@ -29,7 +29,7 @@
 
 FORCEINLINE
 BOOLEAN
 
 FORCEINLINE
 BOOLEAN
-_ExiDisableInteruptsAndAcquireSpinlock(
+_ExiDisableInterruptsAndAcquireSpinlock(
     IN OUT PKSPIN_LOCK Lock)
 {
     BOOLEAN Enabled;
     IN OUT PKSPIN_LOCK Lock)
 {
     BOOLEAN Enabled;
@@ -45,7 +45,7 @@ _ExiDisableInteruptsAndAcquireSpinlock(
 
 FORCEINLINE
 VOID
 
 FORCEINLINE
 VOID
-_ExiReleaseSpinLockAndRestoreInterupts(
+_ExiReleaseSpinLockAndRestoreInterrupts(
     IN OUT PKSPIN_LOCK Lock,
     BOOLEAN Enable)
 {
     IN OUT PKSPIN_LOCK Lock,
     BOOLEAN Enable)
 {
@@ -68,7 +68,7 @@ ExInterlockedAddLargeInteger(
     BOOLEAN Enable;
 
     /* Disable interrupts and acquire the spinlock */
     BOOLEAN Enable;
 
     /* Disable interrupts and acquire the spinlock */
-    Enable = _ExiDisableInteruptsAndAcquireSpinlock(Lock);
+    Enable = _ExiDisableInterruptsAndAcquireSpinlock(Lock);
 
     /* Save the old value */
     OldValue.QuadPart = Addend->QuadPart;
 
     /* Save the old value */
     OldValue.QuadPart = Addend->QuadPart;
@@ -77,7 +77,7 @@ ExInterlockedAddLargeInteger(
     Addend->QuadPart += Increment.QuadPart;
 
     /* Release the spinlock and restore interrupts */
     Addend->QuadPart += Increment.QuadPart;
 
     /* Release the spinlock and restore interrupts */
-    _ExiReleaseSpinLockAndRestoreInterupts(Lock, Enable);
+    _ExiReleaseSpinLockAndRestoreInterrupts(Lock, Enable);
 
     /* Return the old value */
     return OldValue;
 
     /* Return the old value */
     return OldValue;
@@ -94,7 +94,7 @@ ExInterlockedAddUlong(
     ULONG OldValue;
 
     /* Disable interrupts and acquire the spinlock */
     ULONG OldValue;
 
     /* Disable interrupts and acquire the spinlock */
-    Enable = _ExiDisableInteruptsAndAcquireSpinlock(Lock);
+    Enable = _ExiDisableInterruptsAndAcquireSpinlock(Lock);
 
     /* Save the old value */
     OldValue = *Addend;
 
     /* Save the old value */
     OldValue = *Addend;
@@ -103,7 +103,7 @@ ExInterlockedAddUlong(
     *Addend += Increment;
 
     /* Release the spinlock and restore interrupts */
     *Addend += Increment;
 
     /* Release the spinlock and restore interrupts */
-    _ExiReleaseSpinLockAndRestoreInterupts(Lock, Enable);
+    _ExiReleaseSpinLockAndRestoreInterrupts(Lock, Enable);
 
     /* Return the old value */
     return OldValue;
 
     /* Return the old value */
     return OldValue;
@@ -120,7 +120,7 @@ ExInterlockedInsertHeadList(
     PLIST_ENTRY FirstEntry;
 
     /* Disable interrupts and acquire the spinlock */
     PLIST_ENTRY FirstEntry;
 
     /* Disable interrupts and acquire the spinlock */
-    Enable = _ExiDisableInteruptsAndAcquireSpinlock(Lock);
+    Enable = _ExiDisableInterruptsAndAcquireSpinlock(Lock);
 
     /* Save the first entry */
     FirstEntry = ListHead->Flink;
 
     /* Save the first entry */
     FirstEntry = ListHead->Flink;
@@ -129,7 +129,7 @@ ExInterlockedInsertHeadList(
     InsertHeadList(ListHead, ListEntry);
 
     /* Release the spinlock and restore interrupts */
     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;
 
     /* 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 */
     PLIST_ENTRY LastEntry;
 
     /* Disable interrupts and acquire the spinlock */
-    Enable = _ExiDisableInteruptsAndAcquireSpinlock(Lock);
+    Enable = _ExiDisableInterruptsAndAcquireSpinlock(Lock);
 
     /* Save the last entry */
     LastEntry = ListHead->Blink;
 
     /* Save the last entry */
     LastEntry = ListHead->Blink;
@@ -155,7 +155,7 @@ ExInterlockedInsertTailList(
     InsertTailList(ListHead, ListEntry);
 
     /* Release the spinlock and restore interrupts */
     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;
 
     /* 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 */
     PLIST_ENTRY ListEntry;
 
     /* Disable interrupts and acquire the spinlock */
-    Enable = _ExiDisableInteruptsAndAcquireSpinlock(Lock);
+    Enable = _ExiDisableInterruptsAndAcquireSpinlock(Lock);
 
     /* Check if the list is empty */
     if (IsListEmpty(ListHead))
 
     /* Check if the list is empty */
     if (IsListEmpty(ListHead))
@@ -190,7 +190,7 @@ ExInterlockedRemoveHeadList(
     }
 
     /* Release the spinlock and restore interrupts */
     }
 
     /* Release the spinlock and restore interrupts */
-    _ExiReleaseSpinLockAndRestoreInterupts(Lock, Enable);
+    _ExiReleaseSpinLockAndRestoreInterrupts(Lock, Enable);
 
     /* Return the entry */
     return ListEntry;
 
     /* Return the entry */
     return ListEntry;
@@ -206,7 +206,7 @@ ExInterlockedPopEntryList(
     PSINGLE_LIST_ENTRY ListEntry;
 
     /* Disable interrupts and acquire the spinlock */
     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);
 
     /* Pop the first entry from the list */
     ListEntry = PopEntryList(ListHead);
@@ -216,7 +216,7 @@ ExInterlockedPopEntryList(
 #endif
 
     /* Release the spinlock and restore interrupts */
 #endif
 
     /* Release the spinlock and restore interrupts */
-    _ExiReleaseSpinLockAndRestoreInterupts(Lock, Enable);
+    _ExiReleaseSpinLockAndRestoreInterrupts(Lock, Enable);
 
     /* Return the entry */
     return ListEntry;
 
     /* Return the entry */
     return ListEntry;
@@ -233,7 +233,7 @@ ExInterlockedPushEntryList(
     PSINGLE_LIST_ENTRY OldListEntry;
 
     /* Disable interrupts and acquire the spinlock */
     PSINGLE_LIST_ENTRY OldListEntry;
 
     /* Disable interrupts and acquire the spinlock */
-    Enable = _ExiDisableInteruptsAndAcquireSpinlock(Lock);
+    Enable = _ExiDisableInterruptsAndAcquireSpinlock(Lock);
 
     /* Save the old top entry */
     OldListEntry = ListHead->Next;
 
     /* Save the old top entry */
     OldListEntry = ListHead->Next;
@@ -242,7 +242,7 @@ ExInterlockedPushEntryList(
     PushEntryList(ListHead, ListEntry);
 
     /* Release the spinlock and restore interrupts */
     PushEntryList(ListHead, ListEntry);
 
     /* Release the spinlock and restore interrupts */
-    _ExiReleaseSpinLockAndRestoreInterupts(Lock, Enable);
+    _ExiReleaseSpinLockAndRestoreInterrupts(Lock, Enable);
 
     /* Return the entry */
     return OldListEntry;
 
     /* Return the entry */
     return OldListEntry;
@@ -299,7 +299,7 @@ ExfInterlockedAddUlong(
     ULONG OldValue;
 
     /* Disable interrupts and acquire the spinlock */
     ULONG OldValue;
 
     /* Disable interrupts and acquire the spinlock */
-    Enable = _ExiDisableInteruptsAndAcquireSpinlock(Lock);
+    Enable = _ExiDisableInterruptsAndAcquireSpinlock(Lock);
 
     /* Save the old value */
     OldValue = *Addend;
 
     /* Save the old value */
     OldValue = *Addend;
@@ -308,7 +308,7 @@ ExfInterlockedAddUlong(
     *Addend += Increment;
 
     /* Release the spinlock and restore interrupts */
     *Addend += Increment;
 
     /* Release the spinlock and restore interrupts */
-    _ExiReleaseSpinLockAndRestoreInterupts(Lock, Enable);
+    _ExiReleaseSpinLockAndRestoreInterrupts(Lock, Enable);
 
     /* Return the old value */
     return OldValue;
 
     /* Return the old value */
     return OldValue;
@@ -325,7 +325,7 @@ ExfInterlockedInsertHeadList(
     PLIST_ENTRY FirstEntry;
 
     /* Disable interrupts and acquire the spinlock */
     PLIST_ENTRY FirstEntry;
 
     /* Disable interrupts and acquire the spinlock */
-    Enable = _ExiDisableInteruptsAndAcquireSpinlock(Lock);
+    Enable = _ExiDisableInterruptsAndAcquireSpinlock(Lock);
 
     /* Save the first entry */
     FirstEntry = ListHead->Flink;
 
     /* Save the first entry */
     FirstEntry = ListHead->Flink;
@@ -334,7 +334,7 @@ ExfInterlockedInsertHeadList(
     InsertHeadList(ListHead, ListEntry);
 
     /* Release the spinlock and restore interrupts */
     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;
 
     /* 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 */
     PLIST_ENTRY LastEntry;
 
     /* Disable interrupts and acquire the spinlock */
-    Enable = _ExiDisableInteruptsAndAcquireSpinlock(Lock);
+    Enable = _ExiDisableInterruptsAndAcquireSpinlock(Lock);
 
     /* Save the last entry */
     LastEntry = ListHead->Blink;
 
     /* Save the last entry */
     LastEntry = ListHead->Blink;
@@ -360,7 +360,7 @@ ExfInterlockedInsertTailList(
     InsertTailList(ListHead, ListEntry);
 
     /* Release the spinlock and restore interrupts */
     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;
 
     /* 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 */
     PLIST_ENTRY ListEntry;
 
     /* Disable interrupts and acquire the spinlock */
-    Enable = _ExiDisableInteruptsAndAcquireSpinlock(Lock);
+    Enable = _ExiDisableInterruptsAndAcquireSpinlock(Lock);
 
     /* Check if the list is empty */
     if (IsListEmpty(ListHead))
 
     /* Check if the list is empty */
     if (IsListEmpty(ListHead))
@@ -396,7 +396,7 @@ ExfInterlockedRemoveHeadList(
     }
 
     /* Release the spinlock and restore interrupts */
     }
 
     /* Release the spinlock and restore interrupts */
-    _ExiReleaseSpinLockAndRestoreInterupts(Lock, Enable);
+    _ExiReleaseSpinLockAndRestoreInterrupts(Lock, Enable);
 
     /* return the entry */
     return ListEntry;
 
     /* return the entry */
     return ListEntry;
@@ -412,7 +412,7 @@ ExfInterlockedPopEntryList(
     PSINGLE_LIST_ENTRY ListEntry;
 
     /* Disable interrupts and acquire the spinlock */
     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);
 
     /* Pop the first entry from the list */
     ListEntry = PopEntryList(ListHead);
@@ -422,7 +422,7 @@ ExfInterlockedPopEntryList(
 #endif
 
     /* Release the spinlock and restore interrupts */
 #endif
 
     /* Release the spinlock and restore interrupts */
-    _ExiReleaseSpinLockAndRestoreInterupts(Lock, Enable);
+    _ExiReleaseSpinLockAndRestoreInterrupts(Lock, Enable);
 
     /* return the entry */
     return ListEntry;
 
     /* return the entry */
     return ListEntry;
@@ -439,7 +439,7 @@ ExfInterlockedPushEntryList(
     PSINGLE_LIST_ENTRY OldListEntry;
 
     /* Disable interrupts and acquire the spinlock */
     PSINGLE_LIST_ENTRY OldListEntry;
 
     /* Disable interrupts and acquire the spinlock */
-    Enable = _ExiDisableInteruptsAndAcquireSpinlock(Lock);
+    Enable = _ExiDisableInterruptsAndAcquireSpinlock(Lock);
 
     /* Save the old top entry */
     OldListEntry = ListHead->Next;
 
     /* Save the old top entry */
     OldListEntry = ListHead->Next;
@@ -448,7 +448,7 @@ ExfInterlockedPushEntryList(
     PushEntryList(ListHead, ListEntry);
 
     /* Release the spinlock and restore interrupts */
     PushEntryList(ListHead, ListEntry);
 
     /* Release the spinlock and restore interrupts */
-    _ExiReleaseSpinLockAndRestoreInterupts(Lock, Enable);
+    _ExiReleaseSpinLockAndRestoreInterrupts(Lock, Enable);
 
     /* return the entry */
     return OldListEntry;
 
     /* return the entry */
     return OldListEntry;
index efe280c..6c134ff 100644 (file)
@@ -139,7 +139,7 @@ KiIdleLoop(VOID)
         /* Check if a new thread is scheduled for execution */
         if (Prcb->NextThread)
         {
         /* Check if a new thread is scheduled for execution */
         if (Prcb->NextThread)
         {
-            /* Enable interupts */
+            /* Enable interrupts */
             _enable();
 
             /* Capture current thread data */
             _enable();
 
             /* Capture current thread data */
index 4031ac4..acc8d72 100644 (file)
@@ -179,7 +179,7 @@ KiIdleLoop(VOID)
         /* Check if a new thread is scheduled for execution */
         if (Prcb->NextThread)
         {
         /* Check if a new thread is scheduled for execution */
         if (Prcb->NextThread)
         {
-            /* Enable interupts */
+            /* Enable interrupts */
             _enable();
 
             /* Capture current thread data */
             _enable();
 
             /* Capture current thread data */
index a1d075f..ba7935c 100644 (file)
@@ -294,7 +294,7 @@ KiIdleLoop(VOID)
         /* Check if a new thread is scheduled for execution */
         if (Prcb->NextThread)
         {
         /* Check if a new thread is scheduled for execution */
         if (Prcb->NextThread)
         {
-            /* Enable interupts */
+            /* Enable interrupts */
             _enable();
 
             /* Capture current thread data */
             _enable();
 
             /* Capture current thread data */
index e6e4452..7da1884 100644 (file)
@@ -1219,7 +1219,7 @@ KiTrap0EHandler(IN PKTRAP_FRAME TrapFrame)
     /* Save CR2 */
     Cr2 = __readcr2();
 
     /* Save CR2 */
     Cr2 = __readcr2();
 
-    /* Enable interupts */
+    /* Enable interrupts */
     _enable();
 
     /* Check if we came in with interrupts disabled */
     _enable();
 
     /* Check if we came in with interrupts disabled */