aboutsummaryrefslogtreecommitdiff
path: root/sys/amd64/acpica/acpi_wakecode.S
diff options
context:
space:
mode:
authorJung-uk Kim <jkim@FreeBSD.org>2009-10-23 18:57:52 +0000
committerJung-uk Kim <jkim@FreeBSD.org>2009-10-23 18:57:52 +0000
commit1d9fd1477c4bc922565118cb9ab3210d74711972 (patch)
tree7b015cb2ee35f43ded03dff337740b417bbf5b96 /sys/amd64/acpica/acpi_wakecode.S
parent974f3534c04b35c7f32082a93199490ef18408f5 (diff)
downloadsrc-1d9fd1477c4bc922565118cb9ab3210d74711972.tar.gz
src-1d9fd1477c4bc922565118cb9ab3210d74711972.zip
Try hiding annoying text cursor after the video controller is reset.
Notes
Notes: svn path=/head/; revision=198422
Diffstat (limited to 'sys/amd64/acpica/acpi_wakecode.S')
-rw-r--r--sys/amd64/acpica/acpi_wakecode.S5
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/amd64/acpica/acpi_wakecode.S b/sys/amd64/acpica/acpi_wakecode.S
index 1372cc1a2d09..94a34f782ded 100644
--- a/sys/amd64/acpica/acpi_wakecode.S
+++ b/sys/amd64/acpica/acpi_wakecode.S
@@ -88,6 +88,11 @@ wakeup_start:
movb $0, reset_video - wakeup_start
lcall $0xc000, $3
+ /* When we reach here, int 0x10 should be ready. Hide cursor. */
+ movb $0x01, %ah
+ movb $0x20, %ch
+ int $0x10
+
/* Re-start in case the previous BIOS call clobbers them. */
jmp wakeup_start
1: