From f6417c24aede5213c856a78fc21bc3ac7e1becab Mon Sep 17 00:00:00 2001 From: John Hodge Date: Wed, 19 Jun 2013 09:35:05 +0800 Subject: [PATCH] Modules/PL110 - Updated to recent(ish) VFS change --- KernelLand/Modules/Display/PL110/main.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/KernelLand/Modules/Display/PL110/main.c b/KernelLand/Modules/Display/PL110/main.c index e1e3ff8d..5f22546c 100644 --- a/KernelLand/Modules/Display/PL110/main.c +++ b/KernelLand/Modules/Display/PL110/main.c @@ -64,8 +64,8 @@ const int ciPL110_ModeCount = sizeof(caPL110_Modes)/sizeof(caPL110_Modes[0]); void PL110_Uninstall(); // Internal // Filesystem -size_t PL110_Read(tVFS_Node *node, off_t Offset, size_t len, void *buffer); -size_t PL110_Write(tVFS_Node *node, off_t offset, size_t len, const void *buffer); +size_t PL110_Read(tVFS_Node *node, off_t Offset, size_t len, void *buffer, Uint flags); +size_t PL110_Write(tVFS_Node *node, off_t offset, size_t len, const void *buffer, Uint flags); int PL110_IOCtl(tVFS_Node *node, int id, void *data); // -- Internals int PL110_int_SetResolution(int W, int H); @@ -132,7 +132,7 @@ void PL110_Uninstall() /** * \brief Read from the framebuffer */ -size_t PL110_Read(tVFS_Node *node, off_t off, size_t len, void *buffer) +size_t PL110_Read(tVFS_Node *node, off_t off, size_t len, void *buffer, Uint flags) { return 0; } @@ -140,7 +140,7 @@ size_t PL110_Read(tVFS_Node *node, off_t off, size_t len, void *buffer) /** * \brief Write to the framebuffer */ -size_t PL110_Write(tVFS_Node *Node, off_t Offset, size_t Length, const void *Buffer) +size_t PL110_Write(tVFS_Node *Node, off_t Offset, size_t Length, const void *Buffer, Uint flags) { gPL110_DrvUtil_BufInfo.BufferFormat = giPL110_BufferMode; return DrvUtil_Video_WriteLFB(&gPL110_DrvUtil_BufInfo, Offset, Length, Buffer); -- 2.20.1