Changeset adec5b45 in mainline for kernel/genarch/src/fb/fb.c


Ignore:
Timestamp:
2012-01-27T22:19:12Z (12 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
1ccd0aa
Parents:
d4673296
Message:

Rename hw_map() to km_map() and add protection flags argument
to make it more generic.

File:
1 edited

Legend:

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

    rd4673296 radec5b45  
    587587        size_t glyphsize = FONT_GLYPHS * instance->glyphbytes;
    588588       
    589         instance->addr = (uint8_t *) hw_map((uintptr_t) props->addr, fbsize);
     589        instance->addr = (uint8_t *) km_map((uintptr_t) props->addr, fbsize,
     590            PAGE_WRITE | PAGE_NOT_CACHEABLE);
    590591        if (!instance->addr) {
    591592                LOG("Unable to map framebuffer.");
Note: See TracChangeset for help on using the changeset viewer.