Subversion Repositories HelenOS

Compare Revisions

Regard whitespace Rev 3741 → Rev 3742

/branches/sparc/kernel/genarch/include/fb/fb.h
42,29 → 42,31
* Properties of the framebuffer device.
*/
typedef struct fb_properties {
/** Physical address of the framebuffer device (as returned by OBP) */
/** Physical address of the framebuffer device. */
uintptr_t addr;
 
/**
* Address where the first (top left) pixel is mapped,
* relative to "addr"
* relative to "addr".
*/
unsigned int fb_start;
unsigned int offset;
 
/** Screen width in pixels */
/** Screen width in pixels. */
unsigned int x;
 
/** Screen height in pixels */
/** Screen height in pixels. */
unsigned int y;
 
/** Bytes per one scanline */
/** Bytes per one scanline. */
unsigned int scan;
 
/** Color model */
/** Color model. */
unsigned int visual;
} fb_properties_t;
 
SPINLOCK_EXTERN(fb_lock);
 
void fb_redraw(void);
void fb_init(fb_properties_t *props);
 
#endif