efi_loader: Set default console colors on efi_cout_clear_screen if needed
authorJan Kiszka <jan.kiszka@siemens.com>
Wed, 18 Jan 2023 21:25:00 +0000 (22:25 +0100)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Fri, 20 Jan 2023 15:38:52 +0000 (16:38 +0100)
commitde94f0f3209e27ff36b264c58d5e6a8d54e07c65
tree806071fcd26f1a91f24fcb110a1a9df38a905415
parent5ef229a007b19caa03228531ef32ac4cd5f25239
efi_loader: Set default console colors on efi_cout_clear_screen if needed

Ensures a consistent background color of the whole screen for succeeding
outputs as both demanded by the spec and implemented in EDK2 as well.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
lib/efi_loader/efi_console.c