The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/dev/ic/pcdisplay.h

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    1 /*      $NetBSD: pcdisplay.h,v 1.1 1998/05/14 23:11:03 drochner Exp $   */
    2 
    3 /*
    4  * IBM PC display definitions
    5  */
    6 
    7 /* Color attributes for foreground text */
    8 
    9 #define FG_BLACK                   0
   10 #define FG_BLUE                    1
   11 #define FG_GREEN                   2
   12 #define FG_CYAN                    3
   13 #define FG_RED                     4
   14 #define FG_MAGENTA                 5
   15 #define FG_BROWN                   6
   16 #define FG_LIGHTGREY               7
   17 #define FG_DARKGREY                8
   18 #define FG_LIGHTBLUE               9
   19 #define FG_LIGHTGREEN             10
   20 #define FG_LIGHTCYAN              11
   21 #define FG_LIGHTRED               12
   22 #define FG_LIGHTMAGENTA           13
   23 #define FG_YELLOW                 14
   24 #define FG_WHITE                  15
   25 #define FG_BLINK                0x80
   26 #define FG_MASK                 0x8f
   27 
   28 /* Color attributes for text background */
   29 
   30 #define BG_BLACK                0x00
   31 #define BG_BLUE                 0x10
   32 #define BG_GREEN                0x20
   33 #define BG_CYAN                 0x30
   34 #define BG_RED                  0x40
   35 #define BG_MAGENTA              0x50
   36 #define BG_BROWN                0x60
   37 #define BG_LIGHTGREY            0x70
   38 #define BG_MASK                 0x70
   39 
   40 /* Monochrome attributes for foreground text */
   41 
   42 #define FG_UNDERLINE            0x01
   43 #define FG_INTENSE              0x08
   44 
   45 /* Monochrome attributes for text background */
   46 
   47 #define BG_INTENSE              0x10

Cache object: 04e5b0096b617885a98c7232a95e7dc3


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.