Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys if IBCS2_MACHDEP_HAS_SEPARATED_SYSCALL is defined, put i...
details: https://anonhg.NetBSD.org/src/rev/820816909fc6
branches: trunk
changeset: 499942:820816909fc6
user: jdolecek <jdolecek%NetBSD.org@localhost>
date: Sat Dec 02 16:09:44 2000 +0000
description:
if IBCS2_MACHDEP_HAS_SEPARATED_SYSCALL is defined, put ibcs2_syscall to
emul_ibcs2
define IBCS2_MACHDEP_HAS_SEPARATED_SYSCALL in i386 ibcs2_machdep.h
diffstat:
sys/arch/i386/include/ibcs2_machdep.h | 5 ++++-
sys/compat/ibcs2/ibcs2_exec.c | 8 +++++++-
2 files changed, 11 insertions(+), 2 deletions(-)
diffs (39 lines):
diff -r b1ebe5ff41aa -r 820816909fc6 sys/arch/i386/include/ibcs2_machdep.h
--- a/sys/arch/i386/include/ibcs2_machdep.h Sat Dec 02 16:05:04 2000 +0000
+++ b/sys/arch/i386/include/ibcs2_machdep.h Sat Dec 02 16:09:44 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ibcs2_machdep.h,v 1.6 2000/06/21 05:45:15 matt Exp $ */
+/* $NetBSD: ibcs2_machdep.h,v 1.7 2000/12/02 16:09:44 jdolecek Exp $ */
/*-
* Copyright (c) 1997 The NetBSD Foundation, Inc.
@@ -53,4 +53,7 @@
#endif /* _KERNEL */
+/* i386 has separated ibcs2_syscall() from syscall() */
+#define IBCS2_MACHDEP_HAS_SEPARATED_SYSCALL
+
#endif /* !_I386_IBCS2_MACHDEP_H_ */
diff -r b1ebe5ff41aa -r 820816909fc6 sys/compat/ibcs2/ibcs2_exec.c
--- a/sys/compat/ibcs2/ibcs2_exec.c Sat Dec 02 16:05:04 2000 +0000
+++ b/sys/compat/ibcs2/ibcs2_exec.c Sat Dec 02 16:09:44 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ibcs2_exec.c,v 1.39 2000/12/01 19:17:41 jdolecek Exp $ */
+/* $NetBSD: ibcs2_exec.c,v 1.40 2000/12/02 16:09:45 jdolecek Exp $ */
/*
* Copyright (c) 1994, 1995, 1998 Scott Bartram
@@ -78,6 +78,12 @@
NULL,
NULL,
EMUL_GETPID_PASS_PPID|EMUL_GETID_PASS_EID,
+#ifdef IBCS2_MACHDEP_HAS_SEPARATED_SYSCALL
+ ibcs2_syscall,
+#else
+ NULL,
+#endif
+#
};
/*
Home |
Main Index |
Thread Index |
Old Index