Changeset 1787e527 in mainline for kernel/genarch/include/fb/fb.h


Ignore:
Timestamp:
2009-11-16T21:22:54Z (14 years ago)
Author:
Lenka Trochtova <trochtova.lenka@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
5ebdf94
Parents:
fcbd1be (diff), 9c70ed6 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

merged with head (unstable)

File:
1 edited

Legend:

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

    rfcbd1be r1787e527  
    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.