<directory name="generic">
<xi:include href="generic/generic.rbuild" />
</directory>
- <directory name="up">
- <xi:include href="up/halup.rbuild" />
- </directory>
</group>
+++ /dev/null
-/* $Id: halinit_up.c 24964 2006-11-29 08:28:20Z ion $
- *
- * COPYRIGHT: See COPYING in the top level directory
- * PROJECT: ReactOS kernel
- * FILE: ntoskrnl/hal/x86/halinit.c
- * PURPOSE: Initalize the x86 hal
- * PROGRAMMER: David Welch (welch@cwcom.net)
- * UPDATE HISTORY:
- * 11/06/98: Created
- */
-
-/* INCLUDES *****************************************************************/
-
-#include <hal.h>
-#define NDEBUG
-#include <debug.h>
-
-/* FUNCTIONS ***************************************************************/
-
-VOID
-HalpInitPhase0(IN PLOADER_PARAMETER_BLOCK LoaderBlock)
-{
-
-}
-
-VOID
-HalpInitPhase1(VOID)
-{
-
-}
-
-/* EOF */
+++ /dev/null
-#define REACTOS_VERSION_DLL
-#define REACTOS_STR_FILE_DESCRIPTION "AMD64 Uniprocessor Hardware Abstraction Layer\0"
-#define REACTOS_STR_INTERNAL_NAME "halup\0"
-#define REACTOS_STR_ORIGINAL_FILENAME "halup.dll\0"
-#include <reactos/version.rc>
+++ /dev/null
-/*
- * PROJECT: ReactOS HAL
- * LICENSE: GPL - See COPYING in the top level directory
- * FILE: hal/halamd64/up/processor.c
- * PURPOSE: HAL Processor Routines
- * PROGRAMMERS: Alex Ionescu (alex.ionescu@reactos.org)
- */
-
-/* INCLUDES ******************************************************************/
-
-#include <hal.h>
-#define NDEBUG
-#include <debug.h>
-
-LONG HalpActiveProcessors;
-KAFFINITY HalpDefaultInterruptAffinity;
-
-/* FUNCTIONS *****************************************************************/
-
-/*
- * @implemented
- */
-VOID
-NTAPI
-HalInitializeProcessor(IN ULONG ProcessorNumber,
- IN PLOADER_PARAMETER_BLOCK LoaderBlock)
-{
- /* Set default stall count */
- KeGetPcr()->StallScaleFactor = INITIAL_STALL_COUNT;
-
- /* Update the interrupt affinity and processor mask */
- InterlockedBitTestAndSet(&HalpActiveProcessors, ProcessorNumber);
- InterlockedBitTestAndSet((PLONG)&HalpDefaultInterruptAffinity,
- ProcessorNumber);
-
- /* Register routines for KDCOM */
- HalpRegisterKdSupportFunctions();
-
- /* Do per CPU interrupt handling initialization */
-// HalpInitCpuInterruptHandling(ProcessorNumber);
-}
-
-/*
- * @implemented
- */
-BOOLEAN
-NTAPI
-HalAllProcessorsStarted(VOID)
-{
- /* Do nothing */
- return TRUE;
-}
-
-/*
- * @implemented
- */
-BOOLEAN
-NTAPI
-HalStartNextProcessor(IN PLOADER_PARAMETER_BLOCK LoaderBlock,
- IN PKPROCESSOR_STATE ProcessorState)
-{
- /* Ready to start */
- return FALSE;
-}
-
-/*
- * @implemented
- */
-VOID
-NTAPI
-HalProcessorIdle(VOID)
-{
- /* Enable interrupts and halt the processor */
- _enable();
- __halt();
-}
-
-/*
- * @implemented
- */
-VOID
-NTAPI
-HalRequestIpi(KAFFINITY TargetSet)
-{
- /* Not implemented on NT */
- __debugbreak();
-}
-
-/* EOF */
<group xmlns:xi="http://www.w3.org/2001/XInclude">
<xi:include href="hal_generic.rbuild" />
- <xi:include href="hal_generic_pc.rbuild" />
<xi:include href="hal_generic_up.rbuild" />
<if property="ARCH" value="i386">
- <xi:include href="halup.rbuild" />
+ <xi:include href="hal.rbuild" />
<xi:include href="halxbox.rbuild" />
<if property="BUILD_MP" value="1">
- <xi:include href="halmp.rbuild" />
+ <xi:include href="halmps.rbuild" />
</if>
</if>
- <!-- if property="ARCH" value="amd64">
+ <if property="ARCH" value="amd64">
<xi:include href="halamd64.rbuild" />
- </if -->
+ </if>
</group>
<define name="_NTHAL_" />
<library>hal_generic</library>
<library>hal_generic_up</library>
- <library>hal_generic_pc</library>
<library>ntoskrnl</library>
<directory name="up">
<file>halinit_up.c</file>
+++ /dev/null
-<?xml version="1.0"?>
-<!DOCTYPE group SYSTEM "../../../tools/rbuild/project.dtd">
-<group>
- <module name="hal_generic_pc" type="objectlibrary">
- <include>include</include>
- <include base="ntoskrnl">include</include>
- <define name="_NTHAL_" />
- <directory name="generic">
- <directory name="bus">
- <file>pcibus.c</file>
- </directory>
- </directory>
- </module>
-</group>
<?xml version="1.0"?>
<!DOCTYPE module SYSTEM "../../../tools/rbuild/project.dtd">
<module name="hal" type="kernelmodedll" entrypoint="HalInitSystem" installbase="system32" installname="hal.dll">
- <importlibrary base="hal" definition="../../hal.pspec" />
+ <importlibrary base="hal" definition="../hal.pspec" />
<bootstrap installbase="$(CDOUTPUT)" nameoncd="hal.dll" />
- <include base="hal">../include</include>
+ <include base="hal">include</include>
<include base="ntoskrnl">include</include>
<define name="_DISABLE_TIDENTS" />
<define name="_NTHAL_" />
<library>hal_generic_amd64</library>
<library>hal_generic</library>
+ <library>hal_generic_up</library>
<library>ntoskrnl</library>
- <file>halinit_up.c</file>
- <file>halup.rc</file>
- <file>processor.c</file>
+
+ <directory name="up">
+ <file>halinit_up.c</file>
+ <file>halup.rc</file>
+ </directory>
+
+ <!--directory name="mp">
+ <file>apic.c</file>
+ </directory -->
</module>
<?xml version="1.0"?>
<!DOCTYPE group SYSTEM "../../tools/rbuild/project.dtd">
<group xmlns:xi="http://www.w3.org/2001/XInclude">
- <module name="halmp" type="kernelmodedll" entrypoint="HalInitSystem@8">
+ <module name="halmps" type="kernelmodedll" entrypoint="HalInitSystem@8">
<importlibrary base="hal" definition="../hal.pspec" />
<bootstrap installbase="$(CDOUTPUT)" />
<include>include</include>
<define name="CONFIG_SMP" />
<define name="_NTHAL_" />
<library>hal_generic</library>
- <library>hal_generic_pc</library>
<library>ntoskrnl</library>
<directory name="mp">
<file>apic.c</file>