minix/include/sys/ioc_fb.h
Thomas Veerman ba49a155b5 fb: introduce framebuffer support to Minix
This patch introduces a framebuffer to Minix. It's written for the ARM
port of Minix, but has an architectural split that separates the
hardware dependent part from the non-hardware dependent part. Futhermore,
this driver was developed using a screen that has a native resolution of
1024x600 pixels and having lack of support for obtaining EDID from the
screen. Consequently, it uses a hardcoded resolution of 1024x600.

The driver uses an interface based on the Linux ioctl API, but supports
only a very limited subset.
2013-02-21 10:29:08 +00:00

15 lines
417 B
C

/* sys/ioc_fb.h - Framebuffer command codes
*
*/
#ifndef _S_I_FB_H
#define _S_I_FB_H
/* The I/O control requests. */
#define FBIOGET_VSCREENINFO _IOR('V', 1, struct fb_var_screeninfo)
#define FBIOPUT_VSCREENINFO _IOW('V', 2, struct fb_var_screeninfo)
#define FBIOGET_FSCREENINFO _IOR('V', 3, struct fb_fix_screeninfo)
#define FBIOPAN_DISPLAY _IOW('V', 4, struct fb_var_screeninfo)
#endif /* _S_I_FB_H */