From: John Hodge Date: Sat, 18 May 2013 09:50:39 +0000 (+0800) Subject: Usermode/ld-acess - Fixed compilation errors in devices.h, added another PTY IOCtl X-Git-Tag: rel0.15~467 X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=aa2484473e41fade8480379a62e182dda5cfe4af;p=tpg%2Facess2.git Usermode/ld-acess - Fixed compilation errors in devices.h, added another PTY IOCtl --- diff --git a/Usermode/Libraries/ld-acess.so_src/include_exp/acess/devices.h b/Usermode/Libraries/ld-acess.so_src/include_exp/acess/devices.h index c154c0bb..8c0955aa 100644 --- a/Usermode/Libraries/ld-acess.so_src/include_exp/acess/devices.h +++ b/Usermode/Libraries/ld-acess.so_src/include_exp/acess/devices.h @@ -28,20 +28,20 @@ enum eDrv_Video { VID_IOCTL_FINDMODE, VID_IOCTL_MODEINFO, VID_IOCTL_REQLFB // Request LFB -}; -struct sVideo_IOCtl_Mode { - short id; - Uint16 width; - Uint16 height; - Uint16 bpp; -}; +}; +struct sVideo_IOCtl_Mode { + short id; + unsigned short width; + unsigned short height; + unsigned short bpp; +}; typedef struct sVideo_IOCtl_Mode tVideo_IOCtl_Mode; //!< Mode Type // === MOUSE === -enum eDrv_Mouse { - MSE_IOCTL_SENS = 4, - MSE_IOCTL_MAX_X, - MSE_IOCTL_MAX_Y +enum eDrv_Mouse { + MSE_IOCTL_SENS = 4, + MSE_IOCTL_MAX_X, + MSE_IOCTL_MAX_Y }; // === Terminal === diff --git a/Usermode/Libraries/ld-acess.so_src/include_exp/acess/devices/pty.h b/Usermode/Libraries/ld-acess.so_src/include_exp/acess/devices/pty.h index 31978f43..d6136b63 100644 --- a/Usermode/Libraries/ld-acess.so_src/include_exp/acess/devices/pty.h +++ b/Usermode/Libraries/ld-acess.so_src/include_exp/acess/devices/pty.h @@ -37,6 +37,7 @@ enum PTY_IOCTL_SETMODE, PTY_IOCTL_GETDIMS, PTY_IOCTL_SETDIMS, + PTY_IOCTL_GETID, }; #endif