Changeset 6ac14a70 in mainline for kernel/genarch/src/fb/fb.c


Ignore:
Timestamp:
2009-07-28T12:47:31Z (15 years ago)
Author:
Vineeth Pillai <vineethrp@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
5e73815
Parents:
7038f55
Message:

ARM port for development board integratorcp(ARM926EJ core module).

File:
1 edited

Legend:

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

    r7038f55 r6ac14a70  
    115115        *((uint32_t *) dst)
    116116            = (BLUE(rgb, 8) << 16) | (GREEN(rgb, 8) << 8) | RED(rgb, 8);
     117}
     118
     119static void rgb_8880(void *dst, uint32_t rgb)
     120{
     121        *((uint32_t *) dst)
     122           = (RED(rgb, 8) << 24) | (GREEN(rgb, 8) << 16) | (BLUE(rgb, 8) << 8);
     123
    117124}
    118125
     
    471478                break;
    472479        case VISUAL_RGB_8_8_8_0:
    473                 rgb_conv = rgb_888;
     480                rgb_conv = rgb_8880;
    474481                pixelbytes = 4;
    475482                break;
Note: See TracChangeset for help on using the changeset viewer.