diff options
author | Michael Brown | 2013-12-07 21:53:20 +0100 |
---|---|---|
committer | Michael Brown | 2013-12-09 16:34:07 +0100 |
commit | 7025f5c648aedf744690e9e04257d6dddc94919d (patch) | |
tree | 7117fefd350b81c92732f8f600ff2d7959c0e0fc /src/include/ipxe/errfile.h | |
parent | [fbcon] Always draw cursor using current foreground and background colours (diff) | |
download | ipxe-7025f5c648aedf744690e9e04257d6dddc94919d.tar.gz ipxe-7025f5c648aedf744690e9e04257d6dddc94919d.tar.xz ipxe-7025f5c648aedf744690e9e04257d6dddc94919d.zip |
[console] Add centralised concept of colours and colour pairs
Add a centralised concept of colours and colour pairs (using the
default colour pairs as configured via config/colour.h). A colour
pair consists of a pair of colour indices.
Add the ability to redefine both a colour pair and an individual
colour index, with minimal overhead if this feature is not required
(e.g. because the relevant shell commands are not present in the
build).
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include/ipxe/errfile.h')
-rw-r--r-- | src/include/ipxe/errfile.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/include/ipxe/errfile.h b/src/include/ipxe/errfile.h index b2476480..32c596ff 100644 --- a/src/include/ipxe/errfile.h +++ b/src/include/ipxe/errfile.h @@ -66,6 +66,8 @@ FILE_LICENCE ( GPL2_OR_LATER ); #define ERRFILE_null_reboot ( ERRFILE_CORE | 0x001a0000 ) #define ERRFILE_pinger ( ERRFILE_CORE | 0x001b0000 ) #define ERRFILE_fbcon ( ERRFILE_CORE | 0x001c0000 ) +#define ERRFILE_ansicol ( ERRFILE_CORE | 0x001d0000 ) +#define ERRFILE_ansicoldef ( ERRFILE_CORE | 0x001e0000 ) #define ERRFILE_eisa ( ERRFILE_DRIVER | 0x00000000 ) #define ERRFILE_isa ( ERRFILE_DRIVER | 0x00010000 ) |