Reorganise HAL so multiple HAL versions can be built in parallel
[reactos.git] / reactos / hal / halx86 / generic / misc.c
similarity index 67%
rename from reactos/hal/halx86/misc.c
rename to reactos/hal/halx86/generic/misc.c
index 4339d80..a94d747 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: misc.c,v 1.8 2004/11/28 01:30:01 hbirr Exp $
+/* $Id: misc.c,v 1.1 2004/12/03 20:10:43 gvg Exp $
  *
  * COPYRIGHT:             See COPYING in the top level directory
  * PROJECT:               ReactOS kernel
@@ -9,26 +9,14 @@
 
 /* INCLUDES *****************************************************************/
 
-#include <roscfg.h>
 #include <ddk/ntddk.h>
 #include <hal.h>
 
-#ifdef MP
-#include <apic.h>
-#endif
-
 #define NDEBUG
 #include <internal/debug.h>
 
 /* FUNCTIONS ****************************************************************/
 
-#ifdef MP
-
-VOID
-HaliReconfigurePciInterrupts(VOID);
-
-#endif
-
 VOID STDCALL
 HalHandleNMI(ULONG Unused)
 {
@@ -61,16 +49,6 @@ HalProcessorIdle(VOID)
 #endif
 }
 
-VOID STDCALL
-HalRequestIpi(ULONG ProcessorNo)
-{
-  DPRINT("HalRequestIpi(ProcessorNo %d)\n", ProcessorNo);
-#ifdef MP 
-  APICSendIPI(1 << ProcessorNo,
-             IPI_VECTOR|APIC_ICR0_LEVEL_DEASSERT|APIC_ICR0_DESTM);
-#endif
-}
-
 ULONG FASTCALL
 HalSystemVectorDispatchEntry (
        ULONG   Unknown1,
@@ -88,22 +66,4 @@ KeFlushWriteBuffer(VOID)
   return;
 }
 
-
-VOID STDCALL
-HalReportResourceUsage(VOID)
-{
-  /*
-   * FIXME: Report all resources used by hal.
-   *        Calls IoReportHalResourceUsage()
-   */
-
-  /* Initialize PCI bus. */
-  HalpInitPciBus ();
-#ifdef MP
-
-  HaliReconfigurePciInterrupts();
-#endif
-
-}
-
 /* EOF */