Ignore:
File:
1 edited

Legend:

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

    r95b9963 ra71c158  
    3737
    3838#include <arch/types.h>
    39 #include <synch/spinlock.h>
     39#include <console/chardev.h>
     40#include <genarch/fb/visuals.h>
    4041
    4142/**
     
    4546        /** Physical address of the framebuffer device. */
    4647        uintptr_t addr;
    47 
     48       
    4849        /**
    4950         * Address where the first (top left) pixel is mapped,
     
    5152         */
    5253        unsigned int offset;
    53 
     54       
    5455        /** Screen width in pixels. */
    5556        unsigned int x;
    56 
     57       
    5758        /** Screen height in pixels. */
    5859        unsigned int y;
    59 
     60       
    6061        /** Bytes per one scanline. */
    6162        unsigned int scan;
    62 
     63       
    6364        /** Color model. */
    64         unsigned int visual;
     65        visual_t visual;
    6566} fb_properties_t;
    6667
    67 SPINLOCK_EXTERN(fb_lock);
    68 
    69 void fb_redraw(void);
    70 void fb_init(fb_properties_t *props);
     68outdev_t *fb_init(fb_properties_t *props);
    7169
    7270#endif
Note: See TracChangeset for help on using the changeset viewer.