summaryrefslogtreecommitdiffstats
path: root/sys/boot/efi
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2004-03-09 04:00:33 +0000
committermarcel <marcel@FreeBSD.org>2004-03-09 04:00:33 +0000
commit4c2f4222e3453cca9ac48c23b80bfb872cc0f49e (patch)
treedce50cf46e027bc39cf9dee53bce6138c3c4e3e6 /sys/boot/efi
parent89565a73015d907c1f7df2b0e0db1b419ea3e91a (diff)
downloadFreeBSD-src-4c2f4222e3453cca9ac48c23b80bfb872cc0f49e.zip
FreeBSD-src-4c2f4222e3453cca9ac48c23b80bfb872cc0f49e.tar.gz
Reset the text attributes when initializing the console. The EFI
loader typically doesn't do this so that we end up booting the with whatever the EFI loader has set it to last.
Diffstat (limited to 'sys/boot/efi')
-rw-r--r--sys/boot/efi/libefi/efi_console.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/boot/efi/libefi/efi_console.c b/sys/boot/efi/libefi/efi_console.c
index c88462e..3538994 100644
--- a/sys/boot/efi/libefi/efi_console.c
+++ b/sys/boot/efi/libefi/efi_console.c
@@ -46,6 +46,7 @@ efi_cons_probe(struct console *cp)
static int
efi_cons_init(int arg)
{
+ conout->SetAttribute(conout, EFI_TEXT_ATTR(EFI_LIGHTGRAY, EFI_BLACK));
return 0;
}
OpenPOWER on IntegriCloud