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


Ignore:
Timestamp:
2009-02-16T18:50:48Z (16 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
  • kernel/genarch/src/fb/fb.c

    r17f168e rae318d3  
    5252
    5353SPINLOCK_INITIALIZE(fb_lock);
    54 
    55 /**< Physical memory area for fb. */
    56 static parea_t fb_parea;
    5754
    5855static uint8_t *fb_addr;
     
    520517        fb_addr = (uint8_t *) hw_map((uintptr_t) props->addr, fbsize);
    521518       
    522         fb_parea.pbase = (uintptr_t) props->addr + props->offset;
    523         fb_parea.vbase = (uintptr_t) fb_addr;
    524         fb_parea.frames = SIZE2FRAMES(fbsize);
    525         fb_parea.cacheable = false;
    526         ddi_parea_register(&fb_parea);
    527        
    528519        sysinfo_set_item_val("fb", NULL, true);
    529520        sysinfo_set_item_val("fb.kind", NULL, 1);
Note: See TracChangeset for help on using the changeset viewer.