mirror of
https://github.com/reactos/reactos.git
synced 2025-01-06 06:20:13 +00:00
Fix build by:
- Matching HAL MP HalStartNextProcessor() and commenting out a call to HaliStartApplicationProcessor() (because it needs ProcessorContext). Proper fix should be done. - Removing HalReportResourceUsage from MP version, and marking what it did differently as FIXME in the generic version. svn path=/trunk/; revision=24763
This commit is contained in:
parent
b649dd5293
commit
44eba681e0
4 changed files with 12 additions and 43 deletions
|
@ -62,6 +62,9 @@ HalReportResourceUsage(VOID)
|
|||
/* Initialize PCI bus. */
|
||||
HalpInitPciBus();
|
||||
|
||||
/* FIXME: This is done in ReactOS MP HAL only*/
|
||||
//HaliReconfigurePciInterrupts();
|
||||
|
||||
/* FIXME: Report HAL Usage to kernel */
|
||||
}
|
||||
|
||||
|
|
|
@ -19,7 +19,6 @@
|
|||
<file>mpsboot.asm</file>
|
||||
<file>mpsirql.c</file>
|
||||
<file>processor_mp.c</file>
|
||||
<file>resource_mp.c</file>
|
||||
<file>spinlock.c</file>
|
||||
<file>halmp.rc</file>
|
||||
</module>
|
||||
|
|
|
@ -88,19 +88,21 @@ HalAllProcessorsStarted (VOID)
|
|||
return FALSE;
|
||||
}
|
||||
|
||||
BOOLEAN STDCALL
|
||||
HalStartNextProcessor(ULONG Unknown1,
|
||||
ULONG ProcessorStack)
|
||||
BOOLEAN
|
||||
NTAPI
|
||||
HalStartNextProcessor(
|
||||
IN struct _LOADER_PARAMETER_BLOCK *LoaderBlock,
|
||||
IN PKPROCESSOR_STATE ProcessorState)
|
||||
{
|
||||
ULONG CPU;
|
||||
|
||||
DPRINT("HalStartNextProcessor(%x %x)\n", Unknown1, ProcessorStack);
|
||||
DPRINT("HalStartNextProcessor(%x %x)\n", LoaderBlock, ProcessorState);
|
||||
|
||||
for (CPU = 0; CPU < CPUCount; CPU++)
|
||||
{
|
||||
if (!(OnlineCPUs & (1<<CPU)))
|
||||
{
|
||||
break;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -111,7 +113,8 @@ HalStartNextProcessor(ULONG Unknown1,
|
|||
|
||||
DPRINT1("Attempting to boot CPU %d\n", CPU);
|
||||
|
||||
HaliStartApplicationProcessor(CPU, ProcessorStack);
|
||||
//FIXME: ProcessorStack?
|
||||
//HaliStartApplicationProcessor(CPU, ProcessorStack);
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
|
|
@ -1,36 +0,0 @@
|
|||
/* $Id$
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS kernel
|
||||
* FILE: hal/halx86/mp/resource_mp.c
|
||||
* PURPOSE: Miscellaneous resource functions for MP
|
||||
* PROGRAMMER: Eric Kohl (ekohl@rz-online.de)
|
||||
*/
|
||||
|
||||
/* INCLUDES *****************************************************************/
|
||||
|
||||
#include <hal.h>
|
||||
#define NDEBUG
|
||||
#include <debug.h>
|
||||
|
||||
/* FUNCTIONS ****************************************************************/
|
||||
|
||||
VOID
|
||||
HaliReconfigurePciInterrupts(VOID);
|
||||
|
||||
|
||||
VOID STDCALL
|
||||
HalReportResourceUsage(VOID)
|
||||
{
|
||||
/*
|
||||
* FIXME: Report all resources used by hal.
|
||||
* Calls IoReportHalResourceUsage()
|
||||
*/
|
||||
|
||||
/* Initialize PCI bus. */
|
||||
HalpInitPciBus ();
|
||||
|
||||
HaliReconfigurePciInterrupts();
|
||||
}
|
||||
|
||||
/* EOF */
|
Loading…
Reference in a new issue