Changeset 882d7a8 in mainline for kernel/genarch/src/fb/fb.c


Ignore:
Timestamp:
2008-12-16T19:16:29Z (16 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
6e71a9d8
Parents:
5ae4443
Message:

invert VGA 3:2:3 palette to reflect changes in revision 3692

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/genarch/src/fb/fb.c

    r5ae4443 r882d7a8  
    160160 * and setting it to simulate the 8-bit truecolor.
    161161 *
    162  * Currently we set the palette on the ia32 and sparc64 port.
     162 * Currently we set the palette on the ia32, amd64 and sparc64 port.
    163163 *
    164164 * Note that the byte is being inverted by this function. The reason is
    165165 * that we would like to use a color palette where the white color code
    166  * is 0 and the black color code is 255, as some machines (SunBlade 1500)
     166 * is 0 and the black color code is 255, as some machines (Sun Blade 1500)
    167167 * use these codes for black and white and prevent to set codes
    168168 * 0 and 255 to other colors.
     169 *
    169170 */
    170171static void rgb_323(void *dst, uint32_t rgb)
Note: See TracChangeset for help on using the changeset viewer.