Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/kdump Added support for IRIX emulation



details:   https://anonhg.NetBSD.org/src/rev/d030d177d19a
branches:  trunk
changeset: 518327:d030d177d19a
user:      manu <manu%NetBSD.org@localhost>
date:      Wed Nov 28 10:36:48 2001 +0000

description:
Added support for IRIX emulation

diffstat:

 usr.bin/kdump/setemul.c |  15 +++++++++++++--
 1 files changed, 13 insertions(+), 2 deletions(-)

diffs (57 lines):

diff -r 741051c6297f -r d030d177d19a usr.bin/kdump/setemul.c
--- a/usr.bin/kdump/setemul.c   Wed Nov 28 10:21:10 2001 +0000
+++ b/usr.bin/kdump/setemul.c   Wed Nov 28 10:36:48 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: setemul.c,v 1.8 2001/03/11 21:28:59 eeh Exp $  */
+/*     $NetBSD: setemul.c,v 1.9 2001/11/28 10:36:48 manu Exp $ */
 
 /*-
  * Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -73,7 +73,7 @@
 
 #include <sys/cdefs.h>
 #ifndef lint
-__RCSID("$NetBSD: setemul.c,v 1.8 2001/03/11 21:28:59 eeh Exp $");
+__RCSID("$NetBSD: setemul.c,v 1.9 2001/11/28 10:36:48 manu Exp $");
 #endif /* not lint */
 
 #include <sys/param.h>
@@ -95,6 +95,7 @@
 #include "../../sys/compat/freebsd/freebsd_syscall.h"
 #include "../../sys/compat/hpux/hpux_syscall.h"
 #include "../../sys/compat/ibcs2/ibcs2_syscall.h"
+#include "../../sys/compat/irix/irix_syscall.h"
 #include "../../sys/compat/linux/linux_syscall.h"
 #include "../../sys/compat/osf1/osf1_syscall.h"
 #include "../../sys/compat/sunos32/sunos32_syscall.h"
@@ -110,6 +111,7 @@
 #include "../../sys/compat/freebsd/freebsd_syscalls.c"
 #include "../../sys/compat/hpux/hpux_syscalls.c"
 #include "../../sys/compat/ibcs2/ibcs2_syscalls.c"
+#include "../../sys/compat/irix/irix_syscalls.c"
 #include "../../sys/compat/linux/linux_syscalls.c"
 #include "../../sys/compat/osf1/osf1_syscalls.c"
 #include "../../sys/compat/sunos/sunos_syscalls.c"
@@ -121,6 +123,9 @@
 #include "../../sys/compat/hpux/hpux_errno.c"
 #include "../../sys/compat/svr4/svr4_errno.c"
 #include "../../sys/compat/ibcs2/ibcs2_errno.c"
+#ifdef notyet
+#include "../../sys/compat/irix/irix_errno.c"
+#endif
 #include "../../sys/compat/linux/common/linux_errno.c"
 #undef KTRACE
 
@@ -137,6 +142,12 @@
          native_to_hpux_errno,  NELEM(native_to_hpux_errno)  },
        {    "ibcs2",    ibcs2_syscallnames,   IBCS2_SYS_MAXSYSCALL,
         native_to_ibcs2_errno,  NELEM(native_to_ibcs2_errno) },
+       {    "irix",    irix_syscallnames,   IRIX_SYS_MAXSYSCALL,
+#ifdef notyet
+        native_to_irix_errno,  NELEM(native_to_irix_errno) },
+#else
+        native_to_svr4_errno,  NELEM(native_to_svr4_errno) },
+#endif
        {    "linux",    linux_syscallnames,   LINUX_SYS_MAXSYSCALL,
         native_to_linux_errno,  NELEM(native_to_linux_errno) },
        {     "osf1",     osf1_syscallnames,    OSF1_SYS_MAXSYSCALL,



Home | Main Index | Thread Index | Old Index