summaryrefslogtreecommitdiffstats
path: root/sys/amd64/acpica
diff options
context:
space:
mode:
authorjkim <jkim@FreeBSD.org>2009-10-23 18:57:52 +0000
committerjkim <jkim@FreeBSD.org>2009-10-23 18:57:52 +0000
commita4935a5479e466de35aebb737287d9347491ae03 (patch)
tree7b015cb2ee35f43ded03dff337740b417bbf5b96 /sys/amd64/acpica
parentd6af65574ab7690dcd351a87bec0ffa6ec42c645 (diff)
downloadFreeBSD-src-a4935a5479e466de35aebb737287d9347491ae03.zip
FreeBSD-src-a4935a5479e466de35aebb737287d9347491ae03.tar.gz
Try hiding annoying text cursor after the video controller is reset.
Diffstat (limited to 'sys/amd64/acpica')
-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 1372cc1..94a34f7 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:
OpenPOWER on IntegriCloud