mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 17:34:57 +00:00
- Fix some kernel MSC compilation issues:
- ShutdownThreadMain: Define SMP-only variables compatibly - MmArmInitSystem: Define MiNonPagedPoolStart and MiNonPagedPoolLength externs compatibly - KdbpCallMainLoop: Add VOID to parameter list svn path=/trunk/; revision=42204
This commit is contained in:
parent
21777b7cab
commit
23abd61d3e
3 changed files with 11 additions and 6 deletions
|
@ -133,6 +133,10 @@ ShutdownThreadMain(PVOID Context)
|
|||
"<Place your Ad here>\n"
|
||||
};
|
||||
LARGE_INTEGER Now;
|
||||
#ifdef CONFIG_SMP
|
||||
LONG i;
|
||||
KIRQL OldIrql;
|
||||
#endif
|
||||
|
||||
/* Run the thread on the boot processor */
|
||||
KeSetSystemAffinityThread(1);
|
||||
|
@ -172,9 +176,6 @@ ShutdownThreadMain(PVOID Context)
|
|||
HalReturnToFirmware (FIRMWARE_OFF);
|
||||
#else
|
||||
#ifdef CONFIG_SMP
|
||||
LONG i;
|
||||
KIRQL OldIrql;
|
||||
|
||||
OldIrql = KeRaiseIrqlToDpcLevel();
|
||||
/* Halt all other processors */
|
||||
for (i = 0; i < KeNumberProcessors; i++)
|
||||
|
|
|
@ -1175,7 +1175,7 @@ KdbpAttachToProcess(
|
|||
/*!\brief Calls the main loop ...
|
||||
*/
|
||||
static VOID
|
||||
KdbpCallMainLoop()
|
||||
KdbpCallMainLoop(VOID)
|
||||
{
|
||||
KdbpCliMainLoop(KdbEnteredOnSingleStep);
|
||||
}
|
||||
|
|
|
@ -95,6 +95,12 @@ PVOID MmNonPagedPoolStart;
|
|||
PVOID MmNonPagedPoolExpansionStart;
|
||||
PVOID MmNonPagedPoolEnd = MI_NONPAGED_POOL_END;
|
||||
|
||||
//
|
||||
// Old ReactOS Mm nonpaged pool
|
||||
//
|
||||
extern PVOID MiNonPagedPoolStart;
|
||||
extern ULONG MiNonPagedPoolLength;
|
||||
|
||||
//
|
||||
// This is where paged pool starts by default
|
||||
//
|
||||
|
@ -1211,8 +1217,6 @@ MmArmInitSystem(IN ULONG Phase,
|
|||
//
|
||||
// Print the memory layout
|
||||
//
|
||||
extern PVOID MiNonPagedPoolStart;
|
||||
extern ULONG MiNonPagedPoolLength;
|
||||
DPRINT1(" 0x%p - 0x%p\t%s\n",
|
||||
MmSystemRangeStart,
|
||||
(ULONG_PTR)MmSystemRangeStart + MmBootImageSize,
|
||||
|
|
Loading…
Reference in a new issue