summaryrefslogtreecommitdiff
path: root/drivers/sound
diff options
context:
space:
mode:
authorRob Clark <robdclark@gmail.com>2017-10-10 08:23:01 -0400
committerAlexander Graf <agraf@suse.de>2017-10-12 17:24:25 +0200
commit2d5dc2a52d412964031c9920d354ad5bdc91c654 (patch)
treed1d7bb7121e191a74b245fba924410a17e9e4510 /drivers/sound
parentbf19273e81eb5e23c9bc14c3881f92a120565561 (diff)
efi_loader: console support for color attributes
Shell.efi uses this, and supporting color attributes makes things look nicer. Map the EFI fg/bg color attributes to ANSI escape sequences. Not all colors have a perfect match, but spec just says "Devices supporting a different number of text colors are required to emulate the above colors to the best of the device’s capabilities". Signed-off-by: Rob Clark <robdclark@gmail.com> Tested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Alexander Graf <agraf@suse.de> [agraf: s/unsigned/unsigned int/] Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'drivers/sound')
0 files changed, 0 insertions, 0 deletions