[CODE]: s/interupt/interrupt/

svn path=/trunk/; revision=70689
This commit is contained in:
Hermès Bélusca-Maïto 2016-02-04 20:27:44 +00:00
parent 8bc34bbe18
commit 02e447d135
8 changed files with 37 additions and 37 deletions

View file

@ -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

View file

@ -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 \

View file

@ -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 */

View file

@ -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;

View file

@ -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 */

View file

@ -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 */

View file

@ -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 */

View file

@ -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 */