diff options
author | John Baldwin <jhb@FreeBSD.org> | 2012-03-09 19:20:19 +0000 |
---|---|---|
committer | John Baldwin <jhb@FreeBSD.org> | 2012-03-09 19:20:19 +0000 |
commit | 5e9fcac6f40ccbff89478aff1987a69eec5bdb60 (patch) | |
tree | bb8ba6eb04b631496cbd989550abc2fa3b8245a9 /sys/i386/i386/machdep.c | |
parent | b3f40a410789bab4958e57f096e45fff1ecdd05d (diff) | |
download | src-5e9fcac6f40ccbff89478aff1987a69eec5bdb60.tar.gz src-5e9fcac6f40ccbff89478aff1987a69eec5bdb60.zip |
MFamd64:
- Return failure for a suspend attempt if we have no wake address.
- Use intr_disable()/intr_restore() instead of ACPI_DISABLE_IRQS().
- Invoke intr_suspend() earlier and call intr_resume() if suspend
fails.
- Use pause in the loop waiting for CPU to suspend.
- Restore PAT MSR, switchtime, switchticks, and MTRRs on resume.
Reviewed by: jkim (earlier version)
MFC after: 2 weeks
Notes
Notes:
svn path=/head/; revision=232742
Diffstat (limited to 'sys/i386/i386/machdep.c')
0 files changed, 0 insertions, 0 deletions