mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 17:34:57 +00:00
[HALACPI]: Add project, right now it just builds the normal HAL. The idea is to split the generic HAL into legacy (x86 only) and ACPI (x86+ACPI, or x64). Bus handling, reboot/shutdown, PnP, power management (sleep/resume/hibernate), timer, environment variable, debugging, and initialization code is expected to differ between legacy and ACPI, if not more.
svn path=/trunk/; revision=46574
This commit is contained in:
parent
4102dbabef
commit
d42e771516
9 changed files with 72 additions and 5 deletions
|
@ -8,6 +8,7 @@
|
|||
|
||||
<if property="ARCH" value="i386">
|
||||
<xi:include href="hal.rbuild" />
|
||||
<xi:include href="halacpi.rbuild" />
|
||||
<xi:include href="halxbox.rbuild" />
|
||||
<if property="BUILD_MP" value="1">
|
||||
<xi:include href="halmps.rbuild" />
|
||||
|
|
0
reactos/hal/halx86/generic/acpi/.gitignore
vendored
Normal file
0
reactos/hal/halx86/generic/acpi/.gitignore
vendored
Normal file
0
reactos/hal/halx86/generic/legacy/.gitignore
vendored
Normal file
0
reactos/hal/halx86/generic/legacy/.gitignore
vendored
Normal file
|
@ -8,7 +8,7 @@
|
|||
<include base="ntoskrnl">include</include>
|
||||
<define name="_NTHALDLL_" />
|
||||
<define name="_NTHAL_" />
|
||||
<library>hal_generic</library>
|
||||
<library>hal_generic_legacy</library>
|
||||
<library>hal_generic_up</library>
|
||||
<library>ntoskrnl</library>
|
||||
<library>libcntpr</library>
|
||||
|
|
|
@ -1,7 +1,53 @@
|
|||
<?xml version="1.0"?>
|
||||
<!DOCTYPE group SYSTEM "../../tools/rbuild/project.dtd">
|
||||
<group>
|
||||
<module name="hal_generic" type="objectlibrary">
|
||||
<module name="hal_generic_legacy" type="objectlibrary">
|
||||
<include>include</include>
|
||||
<include base="ntoskrnl">include</include>
|
||||
<define name="_NTHALDLL_" />
|
||||
<define name="_NTHAL_" />
|
||||
<directory name="generic">
|
||||
<directory name="bus">
|
||||
<file>bushndlr.c</file>
|
||||
<file>isabus.c</file>
|
||||
<file>halbus.c</file>
|
||||
<file>pcibus.c</file>
|
||||
<file>pcidata.c</file>
|
||||
<file>sysbus.c</file>
|
||||
</directory>
|
||||
<file>beep.c</file>
|
||||
<file>bios.c</file>
|
||||
<file>cmos.c</file>
|
||||
<file>display.c</file>
|
||||
<file>dma.c</file>
|
||||
<file>drive.c</file>
|
||||
<file>halinit.c</file>
|
||||
<file>misc.c</file>
|
||||
<file>profil.c</file>
|
||||
<file>reboot.c</file>
|
||||
<file>sysinfo.c</file>
|
||||
<file>timer.c</file>
|
||||
<file>usage.c</file>
|
||||
<if property="ARCH" value="i386">
|
||||
<directory name="i386">
|
||||
<file>portio.c</file>
|
||||
<file>systimer.S</file>
|
||||
<file>trap.S</file>
|
||||
</directory>
|
||||
</if>
|
||||
<if property="ARCH" value="amd64">
|
||||
<directory name="amd64">
|
||||
<file>x86bios.c</file>
|
||||
<file>systimer.S</file>
|
||||
</directory>
|
||||
</if>
|
||||
</directory>
|
||||
<directory name="include">
|
||||
<pch>hal.h</pch>
|
||||
</directory>
|
||||
</module>
|
||||
|
||||
<module name="hal_generic_acpi" type="objectlibrary">
|
||||
<include>include</include>
|
||||
<include base="ntoskrnl">include</include>
|
||||
<define name="_NTHALDLL_" />
|
||||
|
|
20
reactos/hal/halx86/halacpi.rbuild
Normal file
20
reactos/hal/halx86/halacpi.rbuild
Normal file
|
@ -0,0 +1,20 @@
|
|||
<?xml version="1.0"?>
|
||||
<!DOCTYPE group SYSTEM "../../tools/rbuild/project.dtd">
|
||||
<group xmlns:xi="http://www.w3.org/2001/XInclude">
|
||||
<module name="halacpi" type="kernelmodedll" entrypoint="HalInitSystem@8" installbase="system32" installname="halacpi.dll">
|
||||
<importlibrary base="hal" definition="../hal.pspec" />
|
||||
<bootstrap installbase="$(CDOUTPUT)" />
|
||||
<include>include</include>
|
||||
<include base="ntoskrnl">include</include>
|
||||
<define name="_NTHALDLL_" />
|
||||
<define name="_NTHAL_" />
|
||||
<library>hal_generic_acpi</library>
|
||||
<library>hal_generic_up</library>
|
||||
<library>ntoskrnl</library>
|
||||
<library>libcntpr</library>
|
||||
<directory name="up">
|
||||
<file>halinit_up.c</file>
|
||||
<file>halup.rc</file>
|
||||
</directory>
|
||||
</module>
|
||||
</group>
|
|
@ -10,7 +10,7 @@
|
|||
<define name="_DISABLE_TIDENTS" />
|
||||
<define name="_NTHAL_" />
|
||||
<define name="_X86BIOS_" />
|
||||
<library>hal_generic</library>
|
||||
<library>hal_generic_acpi</library>
|
||||
<library>hal_generic_up</library>
|
||||
<library>ntoskrnl</library>
|
||||
<!-- library>x86emu</library -->
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
<define name="CONFIG_SMP" />
|
||||
<define name="_NTHALDLL_" />
|
||||
<define name="_NTHAL_" />
|
||||
<library>hal_generic</library>
|
||||
<library>hal_generic_legacy</library>
|
||||
<library>hal_generic_mp</library>
|
||||
<library>ntoskrnl</library>
|
||||
<library>libcntpr</library>
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
<define name="_NTHALDLL_" />
|
||||
<define name="_NTHAL_" />
|
||||
<define name="SARCH_XBOX" />
|
||||
<library>hal_generic</library>
|
||||
<library>hal_generic_legacy</library>
|
||||
<library>hal_generic_up</library>
|
||||
<library>ntoskrnl</library>
|
||||
<library>libcntpr</library>
|
||||
|
|
Loading…
Reference in a new issue