ba49a155b5
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.
14 lines
417 B
C
14 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 */
|