#ifndef SHARE_SYSDEFS_DEVCTL_H_ #define SHARE_SYSDEFS_DEVCTL_H_ #define DEVCTL_GET_HANDLE 100 #define DEV_TERMDEV_PUTCH 0 #define DEV_PS2KBDEV_READCH 0 #define DEV_PS2KBDEV_ATTCHCONS 1 #define DEV_SERIALDEV_SENDB 0 #define DEV_SERIALDEV_SENDREADY 1 #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_