Add fbdev for getting framebuffer information
This commit is contained in:
@ -12,10 +12,18 @@
|
||||
#define DEV_SERIALDEV_RECVB 2
|
||||
#define DEV_SERIALDEV_RECVREADY 3
|
||||
|
||||
#define DEV_FBDEV_GETINFO 0
|
||||
|
||||
#if !defined(__ASSEMBLER__)
|
||||
|
||||
typedef uint64_t Dev_t;
|
||||
|
||||
typedef struct {
|
||||
uint16_t w, h;
|
||||
uint16_t margin;
|
||||
uint8_t fontw, fonth;
|
||||
} FbDevGetInfo;
|
||||
|
||||
#endif
|
||||
|
||||
#endif // SHARE_SYSDEFS_DEVCTL_H_
|
||||
|
Reference in New Issue
Block a user