summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkettenis <kettenis@openbsd.org>2010-02-22 19:44:11 +0000
committerkettenis <kettenis@openbsd.org>2010-02-22 19:44:11 +0000
commitce56b36527caa4130a10176aca362d5023fc26e2 (patch)
tree113b788367a47bb91db8705a7ae6e7508497383f
parentcompute intermediate results in double precision; from pjanzen@, ok (diff)
downloadwireguard-openbsd-ce56b36527caa4130a10176aca362d5023fc26e2.tar.xz
wireguard-openbsd-ce56b36527caa4130a10176aca362d5023fc26e2.zip
Don't attempt to repost the video hardware. There are quite a few machines
where jumping to the "standard" video BIOS entry point locks up or even resets the machine. This will break resume on some other machines in the sense that the display on them will remain disabled. But hopefully those machines make it into a state where the kernel is running and we can fix that. ok deraadt@, marco@, mlarkin@
-rw-r--r--sys/arch/amd64/amd64/acpi_wakecode.S4
-rw-r--r--sys/arch/i386/i386/acpi_wakecode.S2
2 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/amd64/amd64/acpi_wakecode.S b/sys/arch/amd64/amd64/acpi_wakecode.S
index 8beb64f0b6f..89320a11345 100644
--- a/sys/arch/amd64/amd64/acpi_wakecode.S
+++ b/sys/arch/amd64/amd64/acpi_wakecode.S
@@ -1,4 +1,4 @@
-/* $OpenBSD: acpi_wakecode.S,v 1.9 2009/12/09 16:20:33 pirofti Exp $ */
+/* $OpenBSD: acpi_wakecode.S,v 1.10 2010/02/22 19:44:11 kettenis Exp $ */
/*
* Copyright (c) 2001 Takanori Watanabe <takawata@jp.freebsd.org>
* Copyright (c) 2001 Mitsuru IWASAKI <iwasaki@jp.freebsd.org>
@@ -131,7 +131,7 @@ _C_LABEL(acpi_real_mode_resume):
* laptops), we might not restore the proper VGA mode
* on resume. Caveat emptor.
*/
- /* jmp nobiosreset */ /* XXX make this a tunable */
+ jmp nobiosreset /* XXX make this a tunable */
lcall $0xc000,$3
/*
diff --git a/sys/arch/i386/i386/acpi_wakecode.S b/sys/arch/i386/i386/acpi_wakecode.S
index 121fbe47f4e..78d79124fec 100644
--- a/sys/arch/i386/i386/acpi_wakecode.S
+++ b/sys/arch/i386/i386/acpi_wakecode.S
@@ -127,7 +127,7 @@ _C_LABEL(acpi_real_mode_resume):
* laptops), we might not restore the proper VGA mode
* on resume. Caveat emptor.
*/
- /* jmp nobiosreset */ /* XXX make this a tunable */
+ jmp nobiosreset /* XXX make this a tunable */
lcall $0xc000,$3
/*