fb: expose framebuffer devices to userspace

This commit is contained in:
Matheus
2023-07-10 21:15:40 -03:00
parent 29174bd99c
commit ec956306a8
4 changed files with 242 additions and 0 deletions
+1
View File
@@ -9,6 +9,7 @@
#define DEV_MAJOR_FULL 2
#define DEV_MAJOR_ZERO 3
#define DEV_MAJOR_CONSOLE 4
#define DEV_MAJOR_FB 5
typedef struct {
int (*open)(int minor, int flags);
+6
View File
@@ -0,0 +1,6 @@
#ifndef _FB_H
#define _FB_h
void fb_init();
#endif