Remove fbdev, add term_getsizes() syscall to get terminal width+height

This commit is contained in:
2025-11-15 00:57:53 +01:00
parent cf4a6b23c7
commit 871c9cf439
8 changed files with 18 additions and 51 deletions

View File

@ -9,8 +9,6 @@
#define DEV_SERIALDEV_RECVB 2
#define DEV_SERIALDEV_RECVREADY 3
#define DEV_FBDEV_GETINFO 0
#define DEV_STOREDEV_READ 0
#define DEV_STOREDEV_WRITE 1
#define DEV_STOREDEV_SECCOUNT 2
@ -32,12 +30,6 @@ typedef struct {
typedef uint64_t Dev_t;
typedef struct {
uint16_t w, h;
uint16_t margin;
uint8_t fontw, fonth;
} FbDevGetInfo;
typedef struct {
bool present;
char name[0x100];

View File

@ -46,5 +46,6 @@
#define SYS_IPC_MBUSATTCH 44
#define SYS_IPC_MBUSDTTCH 45
#define SYS_TERM_WRITE 46
#define SYS_TERM_GETSIZES 47
#endif // SHARE_HDRS_SYSCALL_H_