From: Sir Richard Date: Mon, 29 Mar 2010 21:35:31 +0000 (+0000) Subject: [HALACPI]: Add project, right now it just builds the normal HAL. The idea is to split... X-Git-Tag: backups/header-work@57446~68^2~67 X-Git-Url: https://git.reactos.org/?p=reactos.git;a=commitdiff_plain;h=d42e771516af3ede59617cb4e1bc84012c5b3828 [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 --- diff --git a/reactos/hal/halx86/directory.rbuild b/reactos/hal/halx86/directory.rbuild index 81a989facea..abedef8ea1c 100644 --- a/reactos/hal/halx86/directory.rbuild +++ b/reactos/hal/halx86/directory.rbuild @@ -8,6 +8,7 @@ + diff --git a/reactos/hal/halx86/generic/acpi/.gitignore b/reactos/hal/halx86/generic/acpi/.gitignore new file mode 100644 index 00000000000..e69de29bb2d diff --git a/reactos/hal/halx86/generic/legacy/.gitignore b/reactos/hal/halx86/generic/legacy/.gitignore new file mode 100644 index 00000000000..e69de29bb2d diff --git a/reactos/hal/halx86/hal.rbuild b/reactos/hal/halx86/hal.rbuild index 2c672c2f5f4..b551cc3308c 100644 --- a/reactos/hal/halx86/hal.rbuild +++ b/reactos/hal/halx86/hal.rbuild @@ -8,7 +8,7 @@ include - hal_generic + hal_generic_legacy hal_generic_up ntoskrnl libcntpr diff --git a/reactos/hal/halx86/hal_generic.rbuild b/reactos/hal/halx86/hal_generic.rbuild index 154379fa8a9..4fcb90bb3c0 100644 --- a/reactos/hal/halx86/hal_generic.rbuild +++ b/reactos/hal/halx86/hal_generic.rbuild @@ -1,7 +1,53 @@ - + + include + include + + + + + bushndlr.c + isabus.c + halbus.c + pcibus.c + pcidata.c + sysbus.c + + beep.c + bios.c + cmos.c + display.c + dma.c + drive.c + halinit.c + misc.c + profil.c + reboot.c + sysinfo.c + timer.c + usage.c + + + portio.c + systimer.S + trap.S + + + + + x86bios.c + systimer.S + + + + + hal.h + + + + include include diff --git a/reactos/hal/halx86/halacpi.rbuild b/reactos/hal/halx86/halacpi.rbuild new file mode 100644 index 00000000000..7d22a84b79f --- /dev/null +++ b/reactos/hal/halx86/halacpi.rbuild @@ -0,0 +1,20 @@ + + + + + + + include + include + + + hal_generic_acpi + hal_generic_up + ntoskrnl + libcntpr + + halinit_up.c + halup.rc + + + diff --git a/reactos/hal/halx86/halamd64.rbuild b/reactos/hal/halx86/halamd64.rbuild index 4a09aa2c838..6b52fdef9e5 100644 --- a/reactos/hal/halx86/halamd64.rbuild +++ b/reactos/hal/halx86/halamd64.rbuild @@ -10,7 +10,7 @@ - hal_generic + hal_generic_acpi hal_generic_up ntoskrnl diff --git a/reactos/hal/halx86/halmps.rbuild b/reactos/hal/halx86/halmps.rbuild index ad17eac9002..2570cb84620 100644 --- a/reactos/hal/halx86/halmps.rbuild +++ b/reactos/hal/halx86/halmps.rbuild @@ -9,7 +9,7 @@ - hal_generic + hal_generic_legacy hal_generic_mp ntoskrnl libcntpr diff --git a/reactos/hal/halx86/halxbox.rbuild b/reactos/hal/halx86/halxbox.rbuild index cee7f614e90..54423ab9075 100644 --- a/reactos/hal/halx86/halxbox.rbuild +++ b/reactos/hal/halx86/halxbox.rbuild @@ -8,7 +8,7 @@ - hal_generic + hal_generic_legacy hal_generic_up ntoskrnl libcntpr