diff options
author | Rob Clark <robdclark@gmail.com> | 2017-10-10 08:23:01 -0400 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2017-10-12 17:24:25 +0200 |
commit | 2d5dc2a52d412964031c9920d354ad5bdc91c654 (patch) | |
tree | d1d7bb7121e191a74b245fba924410a17e9e4510 /drivers/sound | |
parent | bf19273e81eb5e23c9bc14c3881f92a120565561 (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