diff options
author | jhb <jhb@FreeBSD.org> | 2014-09-06 15:23:28 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2014-09-06 15:23:28 +0000 |
commit | 3a8cf1a38b96c596b62254406e9a4599340dea51 (patch) | |
tree | 4b6d323d2c22200ffbb3107e8dc814b6c1d9cf1d /sys/dev/acpica/acpi.c | |
parent | cd70b067cc30d9b2494dffc0658705e127c96c2c (diff) | |
download | FreeBSD-src-3a8cf1a38b96c596b62254406e9a4599340dea51.zip FreeBSD-src-3a8cf1a38b96c596b62254406e9a4599340dea51.tar.gz |
Create a separate structure for per-CPU state saved across suspend and
resume that is a superset of a pcb. Move the FPU state out of the pcb and
into this new structure. As part of this, move the FPU resume code on
amd64 into a C function. This allows resumectx() to still operate only on
a pcb and more closely mirrors the i386 code.
Reviewed by: kib (earlier version)
Diffstat (limited to 'sys/dev/acpica/acpi.c')
-rw-r--r-- | sys/dev/acpica/acpi.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/dev/acpica/acpi.c b/sys/dev/acpica/acpi.c index b37e252..47ab4c6 100644 --- a/sys/dev/acpica/acpi.c +++ b/sys/dev/acpica/acpi.c @@ -1211,6 +1211,11 @@ acpi_set_resource(device_t dev, device_t child, int type, int rid, if (!(type == SYS_RES_IOPORT && start == CONF1_ADDR_PORT)) #endif { + if (bootverbose) + device_printf(dev, + "Ignoring %s range %#lx-%#lx for %s\n", + type == SYS_RES_MEMORY ? "memory" : "I/O", + start, start + count - 1, acpi_name(ad->ad_handle)); AcpiOsFree(devinfo); return (0); } |