diff options
author | njl <njl@FreeBSD.org> | 2004-10-11 05:39:15 +0000 |
---|---|---|
committer | njl <njl@FreeBSD.org> | 2004-10-11 05:39:15 +0000 |
commit | abd4abd5bde7b89f9bfa1f389c3cd5f5394d9631 (patch) | |
tree | a73d71113eb92df36ffa37efd3031bb3c11a1489 /sys/ia64/acpica | |
parent | bc7aea493bcaeac179e22ccbf789af1f6fc3a312 (diff) | |
download | FreeBSD-src-abd4abd5bde7b89f9bfa1f389c3cd5f5394d9631.zip FreeBSD-src-abd4abd5bde7b89f9bfa1f389c3cd5f5394d9631.tar.gz |
Move the code for halting the CPU (acpi_cpu_c1) into machdep files.
This removes the last MD portion of acpi_cpu.c.
MFC after: 2 weeks
Diffstat (limited to 'sys/ia64/acpica')
-rw-r--r-- | sys/ia64/acpica/acpi_machdep.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sys/ia64/acpica/acpi_machdep.c b/sys/ia64/acpica/acpi_machdep.c index 2389750..22377f8 100644 --- a/sys/ia64/acpica/acpi_machdep.c +++ b/sys/ia64/acpica/acpi_machdep.c @@ -31,6 +31,7 @@ #include "acpi.h" #include <dev/acpica/acpivar.h> +#include <machine/pal.h> int acpi_machdep_init(device_t dev) @@ -49,3 +50,9 @@ acpi_machdep_quirks(int *quirks) { return (0); } + +void +acpi_cpu_c1() +{ + ia64_call_pal_static(PAL_HALT_LIGHT, 0, 0, 0); +} |