devctl commands for getting device info

This commit is contained in:
2025-10-08 19:32:37 +02:00
parent 3830af45c8
commit 0ac80c76b0
2 changed files with 46 additions and 0 deletions

View File

@ -2,6 +2,8 @@
#define SHARE_SYSDEFS_DEVCTL_H_
#define DEVCTL_GET_HANDLE 100
#define DEVCTL_DEVLS_SZ 101
#define DEVCTL_DEVLS_STAT 102
#define DEV_TERMDEV_PUTCH 0
@ -25,6 +27,12 @@ typedef struct {
uint8_t fontw, fonth;
} FbDevGetInfo;
typedef struct {
bool present;
char name[0x100];
size_t nfns;
} DevStat;
#endif
#endif // SHARE_SYSDEFS_DEVCTL_H_