From 1d9fd1477c4bc922565118cb9ab3210d74711972 Mon Sep 17 00:00:00 2001 From: Jung-uk Kim Date: Fri, 23 Oct 2009 18:57:52 +0000 Subject: Try hiding annoying text cursor after the video controller is reset. --- sys/amd64/acpica/acpi_wakecode.S | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'sys/amd64/acpica/acpi_wakecode.S') 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: -- cgit v1.2.3