/[qemu]/qemu/linux-user/syscall.c
ViewVC logotype

Diff of /qemu/linux-user/syscall.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.62 by bellard, Sat Jul 23 15:10:20 2005 UTC revision 1.63 by bellard, Sat Nov 26 18:47:20 2005 UTC
# Line 1497  int do_fork(CPUState *env, unsigned int Line 1497  int do_fork(CPUState *env, unsigned int
1497          new_env->regs[0] = 0;          new_env->regs[0] = 0;
1498  #elif defined(TARGET_SPARC)  #elif defined(TARGET_SPARC)
1499          printf ("HELPME: %s:%d\n", __FILE__, __LINE__);          printf ("HELPME: %s:%d\n", __FILE__, __LINE__);
1500    #elif defined(TARGET_MIPS)
1501            printf ("HELPME: %s:%d\n", __FILE__, __LINE__);
1502  #elif defined(TARGET_PPC)  #elif defined(TARGET_PPC)
1503          if (!newsp)          if (!newsp)
1504              newsp = env->gpr[1];              newsp = env->gpr[1];
# Line 2184  long do_syscall(void *cpu_env, int num, Line 2186  long do_syscall(void *cpu_env, int num,
2186              ret = get_errno(settimeofday(&tv, NULL));              ret = get_errno(settimeofday(&tv, NULL));
2187          }          }
2188          break;          break;
2189    #ifdef TARGET_NR_select
2190      case TARGET_NR_select:      case TARGET_NR_select:
2191          {          {
2192              struct target_sel_arg_struct *sel = (void *)arg1;              struct target_sel_arg_struct *sel = (void *)arg1;
# Line 2196  long do_syscall(void *cpu_env, int num, Line 2199  long do_syscall(void *cpu_env, int num,
2199                              (void *)sel->exp, (void *)sel->tvp);                              (void *)sel->exp, (void *)sel->tvp);
2200          }          }
2201          break;          break;
2202    #endif
2203      case TARGET_NR_symlink:      case TARGET_NR_symlink:
2204          ret = get_errno(symlink((const char *)arg1, (const char *)arg2));          ret = get_errno(symlink((const char *)arg1, (const char *)arg2));
2205          break;          break;
# Line 2802  long do_syscall(void *cpu_env, int num, Line 2806  long do_syscall(void *cpu_env, int num,
2806      case TARGET_NR_putpmsg:      case TARGET_NR_putpmsg:
2807          goto unimplemented;          goto unimplemented;
2808  #endif  #endif
2809    #ifdef TARGET_NR_vfork
2810      case TARGET_NR_vfork:      case TARGET_NR_vfork:
2811          ret = get_errno(do_fork(cpu_env, CLONE_VFORK | CLONE_VM | SIGCHLD, 0));          ret = get_errno(do_fork(cpu_env, CLONE_VFORK | CLONE_VM | SIGCHLD, 0));
2812          break;          break;
2813    #endif
2814  #ifdef TARGET_NR_ugetrlimit  #ifdef TARGET_NR_ugetrlimit
2815      case TARGET_NR_ugetrlimit:      case TARGET_NR_ugetrlimit:
2816      {      {

Legend:
Removed from v.1.62  
changed lines
  Added in v.1.63

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26