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.
13 lines
505 B
C
13 lines
505 B
C
#ifndef __FB_H__
|
|
#define __FB_H__
|
|
|
|
int arch_fb_init(int minor, struct device *dev);
|
|
int arch_get_device(int minor, struct device *dev);
|
|
int arch_get_varscreeninfo(int minor, struct fb_var_screeninfo *fbvsp);
|
|
int arch_put_varscreeninfo(int minor, struct fb_var_screeninfo *fbvs_copy);
|
|
int arch_get_fixscreeninfo(int minor, struct fb_fix_screeninfo *fbfsp);
|
|
int arch_pan_display(int minor, struct fb_var_screeninfo *fbvs_copy);
|
|
|
|
#define FB_MESSAGE "Hello, world! From framebuffer!\n"
|
|
|
|
#endif /* __FB_H__ */
|