Source-Changes-HG archive

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

[src/trunk]: src/usr.bin/kdump Add COMPAT_NETBSD32 support.



details:   https://anonhg.NetBSD.org/src/rev/23be765a44e9
branches:  trunk
changeset: 480063:23be765a44e9
user:      eeh <eeh%NetBSD.org@localhost>
date:      Fri Dec 31 22:27:59 1999 +0000

description:
Add COMPAT_NETBSD32 support.

diffstat:

 usr.bin/kdump/kdump.c |  8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diffs (43 lines):

diff -r 22cb42a8e98b -r 23be765a44e9 usr.bin/kdump/kdump.c
--- a/usr.bin/kdump/kdump.c     Fri Dec 31 22:26:21 1999 +0000
+++ b/usr.bin/kdump/kdump.c     Fri Dec 31 22:27:59 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: kdump.c,v 1.24 1999/08/06 00:11:03 thorpej Exp $       */
+/*     $NetBSD: kdump.c,v 1.25 1999/12/31 22:27:59 eeh Exp $   */
 
 /*-
  * Copyright (c) 1988, 1993
@@ -43,7 +43,7 @@
 #if 0
 static char sccsid[] = "@(#)kdump.c    8.4 (Berkeley) 4/28/95";
 #else
-__RCSID("$NetBSD: kdump.c,v 1.24 1999/08/06 00:11:03 thorpej Exp $");
+__RCSID("$NetBSD: kdump.c,v 1.25 1999/12/31 22:27:59 eeh Exp $");
 #endif
 #endif /* not lint */
 
@@ -75,6 +75,7 @@
 
 #include <sys/syscall.h>
 
+#include "../../sys/compat/netbsd32/netbsd32_syscall.h"
 #include "../../sys/compat/freebsd/freebsd_syscall.h"
 #include "../../sys/compat/hpux/hpux_syscall.h"
 #include "../../sys/compat/ibcs2/ibcs2_syscall.h"
@@ -87,6 +88,7 @@
 #define KTRACE
 #include "../../sys/kern/syscalls.c"
 
+#include "../../sys/compat/netbsd32/netbsd32_syscalls.c"
 #include "../../sys/compat/freebsd/freebsd_syscalls.c"
 #include "../../sys/compat/hpux/hpux_syscalls.c"
 #include "../../sys/compat/ibcs2/ibcs2_syscalls.c"
@@ -115,6 +117,8 @@
 static struct emulation emulations[] = {
        {   "netbsd",          syscallnames,         SYS_MAXSYSCALL,
                NULL,                   0 },
+       {   "netbsd32", netbsd32_syscallnames,       SYS_MAXSYSCALL,
+               NULL,                   0 },
        {  "freebsd",  freebsd_syscallnames, FREEBSD_SYS_MAXSYSCALL,
                NULL,                   0 },
        {     "hpux",     hpux_syscallnames,    HPUX_SYS_MAXSYSCALL,



Home | Main Index | Thread Index | Old Index