Kernel - Update VFS API to use off_t/size_t instead of Uint64
[tpg/acess2.git] / KernelLand / Modules / Input / PS2KbMouse / ps2mouse.c
index 44be3b7..69ce2b2 100644 (file)
@@ -19,8 +19,8 @@
  int   PS2Mouse_Install(char **Arguments);\r
 void   PS2Mouse_HandleInterrupt(Uint8 InputByte);\r
 // - Filesystem -\r
-Uint64 PS2Mouse_Read(tVFS_Node *Node, Uint64 Offset, Uint64 Length, void *Buffer);\r
-int    PS2Mouse_IOCtl(tVFS_Node *Node, int ID, void *Data);\r
+size_t PS2Mouse_Read(tVFS_Node *Node, off_t Offset, size_t Length, void *Buffer);\r
+ int   PS2Mouse_IOCtl(tVFS_Node *Node, int ID, void *Data);\r
 \r
 // == GLOBALS ==\r
 void   (*gpMouse_EnableFcn)(void);\r
@@ -150,7 +150,7 @@ void PS2Mouse_HandleInterrupt(Uint8 InputByte)
 \r
 /* Read mouse state (coordinates)\r
  */\r
-Uint64 PS2Mouse_Read(tVFS_Node *Node, Uint64 Offset, Uint64 Length, void *Buffer)\r
+size_t PS2Mouse_Read(tVFS_Node *Node, off_t Offset, size_t Length, void *Buffer)\r
 {\r
        if(Offset > sizeof(gMouse_FileData))    return 0;\r
        if(Length > sizeof(gMouse_FileData))    Length = sizeof(gMouse_FileData);\r

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