diff options
author | Roland McGrath <roland@gnu.org> | 2000-10-29 07:58:01 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2000-10-29 07:58:01 +0000 |
commit | 5caa7b186e7d6f27960509034200b80fffba30d8 (patch) | |
tree | e46c254e866ba8bbf3d3b05903428609d6d57ea3 /i386/include/mach/setjmp.h | |
parent | e04a6ce82daf8cfd3813e081b5fc91913438222d (diff) |
2000-10-29 Roland McGrath <roland@frob.com>
* i386/include/mach/proc_ops.h: Dead file removed.
* i386/include/mach/setjmp.h: Dead file removed.
* i386/include/mach/sa/sys/varargs.h: Dead file removed.
* include/mach/proc_ops.h: Dead file removed.
* Makefile.in (mach-headers): Remove proc_ops.h.
* i386/Makefrag (i386-installed-headers): Likewise.
(installed-headers): Don't touch this any more.
Diffstat (limited to 'i386/include/mach/setjmp.h')
-rw-r--r-- | i386/include/mach/setjmp.h | 58 |
1 files changed, 0 insertions, 58 deletions
diff --git a/i386/include/mach/setjmp.h b/i386/include/mach/setjmp.h deleted file mode 100644 index 6ea42c8..0000000 --- a/i386/include/mach/setjmp.h +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Mach Operating System - * Copyright (c) 1993 Carnegie Mellon University - * All Rights Reserved. - * - * Permission to use, copy, modify and distribute this software and its - * documentation is hereby granted, provided that both the copyright - * notice and this permission notice appear in all copies of the - * software, derivative works or modified versions, and any portions - * thereof, and that both notices appear in supporting documentation. - * - * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS" - * CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND FOR - * ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE. - * - * Carnegie Mellon requests users of this software to return to - * - * Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU - * School of Computer Science - * Carnegie Mellon University - * Pittsburgh PA 15213-3890 - * - * any improvements or extensions that they make and grant Carnegie Mellon - * the rights to redistribute these changes. - */ -/* - * Setjmp/longjmp buffer for i386. - */ -#ifndef _MACH_SETJMP_H_PROCESSED_ -#define _MACH_SETJMP_H_PROCESSED_ 1 - -/* XXX prefix these with mach_ so they don't interfere with higher layers? - This stuff is included by cthreads.h. */ - -/* XXX The original definition of jmp_buf[] causes problems using - * libthreads when linked against NetBSD and FreeBSD's libc because - * it's too small. When cthreads calls _setjmp, it gets the libc - * version which saves more state than it's expecting and overwrites - * important cthread data. =( This definition is big enough for all - * known systems so far (Linux's is 6, FreeBSD's is 9 and NetBSD's is - * 10). This file really shouldn't even be here, since we should be - * using libc's setjmp.h. - */ -#if 0 -#define _JBLEN 6 -#else -#define _JBLEN 10 -#endif - -typedef int jmp_buf[_JBLEN]; /* ebx, esi, edi, ebp, esp, eip */ - - -extern int setjmp (jmp_buf); -extern void longjmp (jmp_buf, int); -extern int _setjmp (jmp_buf); -extern void _longjmp (jmp_buf, int); - -#endif /* _MACH_SETJMP_H_PROCESSED_ */ |