X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=KernelLand%2FModules%2FDisplay%2FPL110%2Fmain.c;h=e1e3ff8dfeaaddfdf19d7cd92fb524d369fd1f0f;hb=880dd63bfcba522dab0a75cc63fdec1d04ff8c89;hp=c3b6e526893d12426cfccfc381b8265bce2cba3c;hpb=51ab5f489bc356940c95cc936fd0508e8f07ea97;p=tpg%2Facess2.git diff --git a/KernelLand/Modules/Display/PL110/main.c b/KernelLand/Modules/Display/PL110/main.c index c3b6e526..e1e3ff8d 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 -Uint64 PL110_Read(tVFS_Node *node, Uint64 off, Uint64 len, void *buffer); -Uint64 PL110_Write(tVFS_Node *node, Uint64 off, Uint64 len, const void *buffer); +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); 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 */ -Uint64 PL110_Read(tVFS_Node *node, Uint64 off, Uint64 len, void *buffer) +size_t PL110_Read(tVFS_Node *node, off_t off, size_t len, void *buffer) { return 0; } @@ -140,7 +140,7 @@ Uint64 PL110_Read(tVFS_Node *node, Uint64 off, Uint64 len, void *buffer) /** * \brief Write to the framebuffer */ -Uint64 PL110_Write(tVFS_Node *Node, Uint64 Offset, Uint64 Length, const void *Buffer) +size_t PL110_Write(tVFS_Node *Node, off_t Offset, size_t Length, const void *Buffer) { gPL110_DrvUtil_BufInfo.BufferFormat = giPL110_BufferMode; return DrvUtil_Video_WriteLFB(&gPL110_DrvUtil_BufInfo, Offset, Length, Buffer);