diff options
author | marcel <marcel@FreeBSD.org> | 2004-03-09 04:00:33 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2004-03-09 04:00:33 +0000 |
commit | 4c2f4222e3453cca9ac48c23b80bfb872cc0f49e (patch) | |
tree | dce50cf46e027bc39cf9dee53bce6138c3c4e3e6 /sys/boot/efi/libefi | |
parent | 89565a73015d907c1f7df2b0e0db1b419ea3e91a (diff) | |
download | FreeBSD-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/libefi')
-rw-r--r-- | sys/boot/efi/libefi/efi_console.c | 1 |
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; } |