aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/acpica
diff options
context:
space:
mode:
authorMitsuru IWASAKI <iwasaki@FreeBSD.org>2012-06-09 00:37:26 +0000
committerMitsuru IWASAKI <iwasaki@FreeBSD.org>2012-06-09 00:37:26 +0000
commitfb864578afd9c1f073b39c9154b2d5642c536ed9 (patch)
treed545096ae7b18322fd63d055e098b158b8862a01 /sys/dev/acpica
parentb347830a7d6e01f2771dac675a57019beed726fc (diff)
downloadsrc-fb864578afd9c1f073b39c9154b2d5642c536ed9.tar.gz
src-fb864578afd9c1f073b39c9154b2d5642c536ed9.zip
Add x86/acpica/acpi_wakeup.c for amd64 and i386. Difference of
suspend/resume procedures are minimized among them. common: - Add global cpuset suspended_cpus to indicate APs are suspended/resumed. - Remove acpi_waketag and acpi_wakemap from acpivar.h (no longer used). - Add some variables in acpi_wakecode.S in order to minimize the difference among amd64 and i386. - Disable load_cr3() because now CR3 is restored in resumectx(). amd64: - Add suspend/resume related members (such as MSR) in PCB. - Modify savectx() for above new PCB members. - Merge acpi_switch.S into cpu_switch.S as resumectx(). i386: - Merge(and remove) suspendctx() into savectx() in order to match with amd64 code. Reviewed by: attilio@, acpi@
Notes
Notes: svn path=/head/; revision=236772
Diffstat (limited to 'sys/dev/acpica')
-rw-r--r--sys/dev/acpica/acpivar.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/dev/acpica/acpivar.h b/sys/dev/acpica/acpivar.h
index dbdd2b745254..4ef92b590940 100644
--- a/sys/dev/acpica/acpivar.h
+++ b/sys/dev/acpica/acpivar.h
@@ -71,8 +71,6 @@ struct acpi_softc {
int acpi_verbose;
int acpi_handle_reboot;
- bus_dma_tag_t acpi_waketag;
- bus_dmamap_t acpi_wakemap;
vm_offset_t acpi_wakeaddr;
vm_paddr_t acpi_wakephys;