Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/sys extract compat netbsd32 gunk.
details: https://anonhg.NetBSD.org/src/rev/4c366bb1f6b8
branches: trunk
changeset: 584318:4c366bb1f6b8
user: christos <christos%NetBSD.org@localhost>
date: Tue Sep 13 03:22:32 2005 +0000
description:
extract compat netbsd32 gunk.
diffstat:
sys/sys/ucontext.h | 29 +----------------------------
1 files changed, 1 insertions(+), 28 deletions(-)
diffs (57 lines):
diff -r 4bb7e0e2478e -r 4c366bb1f6b8 sys/sys/ucontext.h
--- a/sys/sys/ucontext.h Tue Sep 13 02:45:38 2005 +0000
+++ b/sys/sys/ucontext.h Tue Sep 13 03:22:32 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ucontext.h,v 1.6 2005/02/26 22:25:34 perry Exp $ */
+/* $NetBSD: ucontext.h,v 1.7 2005/09/13 03:22:32 christos Exp $ */
/*-
* Copyright (c) 1999, 2003 The NetBSD Foundation, Inc.
@@ -39,10 +39,6 @@
#ifndef _SYS_UCONTEXT_H_
#define _SYS_UCONTEXT_H_
-#if defined(_KERNEL_OPT)
-#include "opt_compat_netbsd32.h"
-#endif
-
#include <sys/sigtypes.h>
#include <machine/mcontext.h>
@@ -63,23 +59,6 @@
#define _UC_UCONTEXT_ALIGN (~0)
#endif
-#if defined(COMPAT_NETBSD32) && defined(_KERNEL)
-
-typedef struct __ucontext32 ucontext32_t;
-
-struct __ucontext32 {
- unsigned int uc_flags; /* properties */
- uint32_t uc_link; /* context to resume */
- sigset_t uc_sigmask; /* signals blocked in this context */
- stack32_t uc_stack; /* the stack used by this context */
- mcontext32_t uc_mcontext; /* machine state */
-#if defined(_UC_MACHINE32_PAD)
- int __uc_pad[_UC_MACHINE32_PAD];
-#endif
-};
-
-#endif /* COMPAT_NETBSD32 && _KERNEL */
-
/* uc_flags */
#define _UC_SIGMASK 0x01 /* valid uc_sigmask */
#define _UC_STACK 0x02 /* valid uc_stack */
@@ -130,12 +109,6 @@
int setucontext(struct lwp *, const ucontext_t *);
void cpu_getmcontext(struct lwp *, mcontext_t *, unsigned int *);
int cpu_setmcontext(struct lwp *, const mcontext_t *, unsigned int);
-#ifdef COMPAT_NETBSD32
-void getucontext32(struct lwp *, ucontext32_t *);
-int setucontext32(struct lwp *, const ucontext32_t *);
-void cpu_getmcontext32(struct lwp *, mcontext32_t *, unsigned int *);
-int cpu_setmcontext32(struct lwp *, const mcontext32_t *, unsigned int);
-#endif /* COMPAT_NETBSD32 */
#endif /* _KERNEL */
#endif /* !_SYS_UCONTEXT_H_ */
Home |
Main Index |
Thread Index |
Old Index