Fixed the MP build.
authorHartmut Birr <osexpert@googlemail.com>
Thu, 15 Sep 2005 16:52:23 +0000 (16:52 +0000)
committerHartmut Birr <osexpert@googlemail.com>
Thu, 15 Sep 2005 16:52:23 +0000 (16:52 +0000)
svn path=/trunk/; revision=17863

reactos/ntoskrnl/ex/power.c
reactos/ntoskrnl/ke/apc.c
reactos/ntoskrnl/ke/bug.c
reactos/ntoskrnl/ke/dpc.c

index 906a7ca..0be94a5 100644 (file)
@@ -80,7 +80,7 @@ ShutdownThreadMain(PVOID Context)
                KeInitializeDpc(Dpc, KiHaltProcessorDpcRoutine, (PVOID)Dpc);
                KeSetTargetProcessorDpc(Dpc, i);
                KeInsertQueueDpc(Dpc, NULL, NULL);
-               KiIpiSendRequest(1 << i, IPI_REQUEST_DPC);
+               KiIpiSendRequest(1 << i, IPI_DPC);
              }
          }
         KeLowerIrql(OldIrql);
index 3bee737..a7788bb 100644 (file)
@@ -341,7 +341,7 @@ KiInsertQueueApc(PKAPC Apc,
                   if (Prcb->CurrentThread == Thread)
                   {
                      ASSERT (CurrentPrcb != Prcb);
-                     KiIpiSendRequest(Prcb->SetMember, IPI_REQUEST_APC);
+                     KiIpiSendRequest(Prcb->SetMember, IPI_APC);
                      break;
                   }
                }
index e527bfe..2e4994c 100644 (file)
@@ -428,7 +428,7 @@ KeBugCheckWithTf(ULONG BugCheckCode,
             if (i != (LONG)KeGetCurrentProcessorNumber())
             {
                 /* Send the IPI and give them one second to catch up */
-                KiIpiSendRequest(1 << i, IPI_REQUEST_FREEZE);
+                KiIpiSendRequest(1 << i, IPI_FREEZE);
                 KeStallExecutionProcessor(1000000);
             }
         }
index b236504..319c78a 100644 (file)
@@ -246,10 +246,10 @@ KeInsertQueueDpc(PKDPC Dpc,
 
                 if (Dpc->Number >= MAXIMUM_PROCESSORS) {
 
-                    KiIpiSendRequest(1 << (Dpc->Number - MAXIMUM_PROCESSORS), IPI_REQUEST_DPC);
+                    KiIpiSendRequest(1 << (Dpc->Number - MAXIMUM_PROCESSORS), IPI_DPC);
                 } else {
 
-                    KiIpiSendRequest(1 << Dpc->Number, IPI_REQUEST_DPC);
+                    KiIpiSendRequest(1 << Dpc->Number, IPI_DPC);
                 }
 
             }