Added SYS_READ implementation
authorJohn Hodge <tpg@portege.(none)>
Mon, 21 Sep 2009 10:35:32 +0000 (18:35 +0800)
committerJohn Hodge <tpg@portege.(none)>
Mon, 21 Sep 2009 10:35:32 +0000 (18:35 +0800)
Kernel/syscalls.c

index 32cc45d..84c9a92 100644 (file)
@@ -120,6 +120,14 @@ void SyscallHandler(tSyscallRegs *Regs)
                #endif
                break;
        
+       case SYS_READ:
+               #if BITS < 64
+               VFS_Read( Regs->Arg1, Regs->Arg2|((Uint64)Regs->Arg3<<32), (void*)Regs->Arg4 );
+               #else
+               VFS_Read( Regs->Arg1, Regs->Arg2, (void*)Regs->Arg3 );
+               #endif
+               break;
+       
        
        // -- Debug
        case SYS_DEBUG:

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