Changeset ae318d3 in mainline for uspace/srv/fb/fb.c


Ignore:
Timestamp:
2009-02-16T18:50:48Z (15 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
06da55b
Parents:
17f168e
Message:

overhaul pareas: use one single physical area for the physical address space not belonging to physical memory

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/fb/fb.c

    r17f168e rae318d3  
    16721672        void *fb_addr = as_get_mappable_page(fbsize);
    16731673       
    1674         physmem_map(fb_ph_addr + fb_offset, fb_addr,
    1675             ALIGN_UP(fbsize, PAGE_SIZE) >> PAGE_WIDTH, AS_AREA_READ | AS_AREA_WRITE);
     1674        if (physmem_map(fb_ph_addr + fb_offset, fb_addr,
     1675            ALIGN_UP(fbsize, PAGE_SIZE) >> PAGE_WIDTH, AS_AREA_READ | AS_AREA_WRITE) != 0)
     1676                return -1;
    16761677       
    16771678        if (screen_init(fb_addr, fb_width, fb_height, fb_scanline, fb_visual))
Note: See TracChangeset for help on using the changeset viewer.