summaryrefslogtreecommitdiffstats
path: root/source/components/hardware/hwxfsleep.c
diff options
context:
space:
mode:
authorjkim <jkim@FreeBSD.org>2012-07-11 16:51:47 +0000
committerjkim <jkim@FreeBSD.org>2012-07-11 16:51:47 +0000
commitdbd90a99cde8c4a942a41f095faa72f479694173 (patch)
treeadad4747b5f7a0166c805c0a7a6bdd4c884aa24b /source/components/hardware/hwxfsleep.c
parentbed871bb76b9fc47b3a3595700ef242f22f33ea4 (diff)
downloadFreeBSD-src-dbd90a99cde8c4a942a41f095faa72f479694173.zip
FreeBSD-src-dbd90a99cde8c4a942a41f095faa72f479694173.tar.gz
Import ACPICA 20120711.
Diffstat (limited to 'source/components/hardware/hwxfsleep.c')
-rw-r--r--source/components/hardware/hwxfsleep.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/source/components/hardware/hwxfsleep.c b/source/components/hardware/hwxfsleep.c
index b7cbbc8..caa51a8 100644
--- a/source/components/hardware/hwxfsleep.c
+++ b/source/components/hardware/hwxfsleep.c
@@ -101,6 +101,14 @@ AcpiSetFirmwareWakingVector (
ACPI_FUNCTION_TRACE (AcpiSetFirmwareWakingVector);
+ /*
+ * According to the ACPI specification 2.0c and later, the 64-bit
+ * waking vector should be cleared and the 32-bit waking vector should
+ * be used, unless we want the wake-up code to be called by the BIOS in
+ * Protected Mode. Some systems (for example HP dv5-1004nr) are known
+ * to fail to resume if the 64-bit vector is used.
+ */
+
/* Set the 32-bit vector */
AcpiGbl_FACS->FirmwareWakingVector = PhysicalAddress;
OpenPOWER on IntegriCloud