Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/genarch/include/fb/fb.h

    ra71c158 r95b9963  
    3737
    3838#include <arch/types.h>
    39 #include <console/chardev.h>
    40 #include <genarch/fb/visuals.h>
     39#include <synch/spinlock.h>
    4140
    4241/**
     
    4645        /** Physical address of the framebuffer device. */
    4746        uintptr_t addr;
    48        
     47
    4948        /**
    5049         * Address where the first (top left) pixel is mapped,
     
    5251         */
    5352        unsigned int offset;
    54        
     53
    5554        /** Screen width in pixels. */
    5655        unsigned int x;
    57        
     56
    5857        /** Screen height in pixels. */
    5958        unsigned int y;
    60        
     59
    6160        /** Bytes per one scanline. */
    6261        unsigned int scan;
    63        
     62
    6463        /** Color model. */
    65         visual_t visual;
     64        unsigned int visual;
    6665} fb_properties_t;
    6766
    68 outdev_t *fb_init(fb_properties_t *props);
     67SPINLOCK_EXTERN(fb_lock);
     68
     69void fb_redraw(void);
     70void fb_init(fb_properties_t *props);
    6971
    7072#endif
Note: See TracChangeset for help on using the changeset viewer.