]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
x86: duplicate acpi_wakeup.c per i386 and amd64
authorKonstantin Belousov <kib@FreeBSD.org>
Sun, 12 Sep 2021 19:24:33 +0000 (22:24 +0300)
committerKonstantin Belousov <kib@FreeBSD.org>
Mon, 13 Sep 2021 21:23:14 +0000 (00:23 +0300)
commit2b6eec531a1b52621223316f7c2940ed1e293886
tree1d3d65af7a5cee61663f5dd4b99d0adf8c96ec8e
parentabf774528d7e497460510b0026db85e30f054142
x86: duplicate acpi_wakeup.c per i386 and amd64

The file as is is the maze of #ifdef passages, all slightly different.
Divorcing i386 and amd64 version actually makes changing the code
easier, also no changes for i386 are planned.

Reviewed by: markj
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D31931
sys/amd64/acpica/acpi_wakeup.c [moved from sys/x86/acpica/acpi_wakeup.c with 86% similarity]
sys/conf/files.amd64
sys/conf/files.i386
sys/conf/files.x86
sys/i386/acpica/acpi_wakeup.c [new file with mode: 0644]