Remove fbdev, add term_getsizes() syscall to get terminal width+height
This commit is contained in:
@ -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];
|
||||
|
||||
@ -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_
|
||||
|
||||
Reference in New Issue
Block a user