devctl commands for getting device info
This commit is contained in:
@ -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_
|
||||
|
Reference in New Issue
Block a user