Usermode/ld-acess - Fixed compilation errors in devices.h, added another PTY IOCtl
authorJohn Hodge <[email protected]>
Sat, 18 May 2013 09:50:39 +0000 (17:50 +0800)
committerJohn Hodge <[email protected]>
Sat, 18 May 2013 09:50:39 +0000 (17:50 +0800)
Usermode/Libraries/ld-acess.so_src/include_exp/acess/devices.h
Usermode/Libraries/ld-acess.so_src/include_exp/acess/devices/pty.h

index c154c0b..8c0955a 100644 (file)
@@ -28,20 +28,20 @@ enum eDrv_Video {
        VID_IOCTL_FINDMODE,
        VID_IOCTL_MODEINFO,
        VID_IOCTL_REQLFB        // Request LFB
-};\r
-struct sVideo_IOCtl_Mode {\r
-       short   id;\r
-       Uint16  width;\r
-       Uint16  height;\r
-       Uint16  bpp;\r
-};\r
+};
+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 {\r
-       MSE_IOCTL_SENS = 4,\r
-       MSE_IOCTL_MAX_X,\r
-       MSE_IOCTL_MAX_Y\r
+enum eDrv_Mouse {
+       MSE_IOCTL_SENS = 4,
+       MSE_IOCTL_MAX_X,
+       MSE_IOCTL_MAX_Y
 };
 
 // === Terminal ===
index 31978f4..d6136b6 100644 (file)
@@ -37,6 +37,7 @@ enum
        PTY_IOCTL_SETMODE,
        PTY_IOCTL_GETDIMS,
        PTY_IOCTL_SETDIMS,
+       PTY_IOCTL_GETID,
 };
 
 #endif

UCC git Repository :: git.ucc.asn.au