Add fbdev for getting framebuffer information

This commit is contained in:
2025-10-05 15:56:16 +02:00
parent 933083ffeb
commit 247ef1bbd1
4 changed files with 46 additions and 0 deletions

View File

@ -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_