diff options
author | Nate Lawson <njl@FreeBSD.org> | 2004-10-11 05:39:15 +0000 |
---|---|---|
committer | Nate Lawson <njl@FreeBSD.org> | 2004-10-11 05:39:15 +0000 |
commit | 31ad3b8802c0ba40f91664c225a580f309e51609 (patch) | |
tree | a73d71113eb92df36ffa37efd3031bb3c11a1489 /sys/amd64/acpica | |
parent | 905454c86c74bd47d284910daa6834665e86e4a8 (diff) | |
download | src-31ad3b8802c0ba40f91664c225a580f309e51609.tar.gz src-31ad3b8802c0ba40f91664c225a580f309e51609.zip |
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
Notes
Notes:
svn path=/head/; revision=136366
Diffstat (limited to 'sys/amd64/acpica')
-rw-r--r-- | sys/amd64/acpica/acpi_machdep.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/amd64/acpica/acpi_machdep.c b/sys/amd64/acpica/acpi_machdep.c index 352842f99100..1a3263c027f3 100644 --- a/sys/amd64/acpica/acpi_machdep.c +++ b/sys/amd64/acpica/acpi_machdep.c @@ -61,3 +61,9 @@ acpi_machdep_quirks(int *quirks) { return (0); } + +void +acpi_cpu_c1() +{ + __asm __volatile("sti; hlt"); +} |