Changeset 7ca8b36b in mainline for generic/src/syscall/syscall.c


Ignore:
Timestamp:
2006-05-21T14:32:28Z (19 years ago)
Author:
Ondrej Palkovsky <ondrap@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
25bf215
Parents:
a33c990
Message:

Fixed mips bug fith TLS register not being properly saved on syscall context
switch.
Reverted SYS_IO, so that it could be used on machines without fb.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • generic/src/syscall/syscall.c

    ra33c990 r7ca8b36b  
    4848#include <sysinfo/sysinfo.h>
    4949
    50 static __native sys_io(int fd, const void * buf, size_t count) {
    51        
    52         return count; /*Syscall deprecated*/
     50static __native sys_io(int fd, const void * buf, size_t count)
     51{
     52//      return count; /*Syscall deprecated*/
    5353        // TODO: buf sanity checks and a lot of other stuff ...
    54 /*
     54
    5555        size_t i;
    5656       
     
    5858                putchar(((char *) buf)[i]);
    5959       
    60         return count;*/
     60        return count;
    6161}
    6262
Note: See TracChangeset for help on using the changeset viewer.