Modules/PL110 - Updated to recent(ish) VFS change
authorJohn Hodge <[email protected]>
Wed, 19 Jun 2013 01:35:05 +0000 (09:35 +0800)
committerJohn Hodge <[email protected]>
Wed, 19 Jun 2013 01:35:05 +0000 (09:35 +0800)
KernelLand/Modules/Display/PL110/main.c

index e1e3ff8..5f22546 100644 (file)
@@ -64,8 +64,8 @@ const int     ciPL110_ModeCount = sizeof(caPL110_Modes)/sizeof(caPL110_Modes[0]);
 void   PL110_Uninstall();\r
 // Internal\r
 // Filesystem\r
-size_t PL110_Read(tVFS_Node *node, off_t Offset, size_t len, void *buffer);\r
-size_t PL110_Write(tVFS_Node *node, off_t offset, size_t len, const void *buffer);\r
+size_t PL110_Read(tVFS_Node *node, off_t Offset, size_t len, void *buffer, Uint flags);\r
+size_t PL110_Write(tVFS_Node *node, off_t offset, size_t len, const void *buffer, Uint flags);\r
  int   PL110_IOCtl(tVFS_Node *node, int id, void *data);\r
 // -- Internals\r
  int   PL110_int_SetResolution(int W, int H);\r
@@ -132,7 +132,7 @@ void PL110_Uninstall()
 /**\r
  * \brief Read from the framebuffer\r
  */\r
-size_t PL110_Read(tVFS_Node *node, off_t off, size_t len, void *buffer)\r
+size_t PL110_Read(tVFS_Node *node, off_t off, size_t len, void *buffer, Uint flags)\r
 {\r
        return 0;\r
 }\r
@@ -140,7 +140,7 @@ size_t PL110_Read(tVFS_Node *node, off_t off, size_t len, void *buffer)
 /**\r
  * \brief Write to the framebuffer\r
  */\r
-size_t PL110_Write(tVFS_Node *Node, off_t Offset, size_t Length, const void *Buffer)\r
+size_t PL110_Write(tVFS_Node *Node, off_t Offset, size_t Length, const void *Buffer, Uint flags)\r
 {\r
        gPL110_DrvUtil_BufInfo.BufferFormat = giPL110_BufferMode;\r
        return DrvUtil_Video_WriteLFB(&gPL110_DrvUtil_BufInfo, Offset, Length, Buffer);\r

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