Changeset 882d7a8 in mainline for kernel/genarch/src/fb/fb.c
- Timestamp:
- 2008-12-16T19:16:29Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 6e71a9d8
- Parents:
- 5ae4443
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/genarch/src/fb/fb.c
r5ae4443 r882d7a8 160 160 * and setting it to simulate the 8-bit truecolor. 161 161 * 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. 163 163 * 164 164 * Note that the byte is being inverted by this function. The reason is 165 165 * 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 (Sun Blade 1500)166 * is 0 and the black color code is 255, as some machines (Sun Blade 1500) 167 167 * use these codes for black and white and prevent to set codes 168 168 * 0 and 255 to other colors. 169 * 169 170 */ 170 171 static void rgb_323(void *dst, uint32_t rgb)
Note:
See TracChangeset
for help on using the changeset viewer.