filename | test/include/machine/setjmp-dj.h |
changeset | 185:6755a04c447f |
author | nkeynes |
date | Tue Jan 06 01:58:08 2009 +0000 (15 years ago) |
branch | lxdream-mem |
permissions | -rw-r--r-- |
last change | Fully integrate SQ with the new address space code - added additional 'prefetch' memory accessor. TLB is utterly untested, but non-TLB at least still works. |
view | annotate | diff | log | raw |
1 /*
2 ** Copyright (C) 1991 DJ Delorie, 24 Kirsten Ave, Rochester NH 03867-2954
3 **
4 ** This file is distributed under the terms listed in the document
5 ** "copying.dj", available from DJ Delorie at the address above.
6 ** A copy of "copying.dj" should accompany this file; if not, a copy
7 ** should be available from where this file was obtained. This file
8 ** may not be distributed without a verbatim copy of "copying.dj".
9 **
10 ** This file is distributed WITHOUT ANY WARRANTY; without even the implied
11 ** warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
12 */
14 /* Modified to use SETJMP_DJ_H rather than SETJMP_H to avoid
15 conflicting with setjmp.h. Ian Taylor, Cygnus support, April,
16 1993. */
18 #ifndef _SETJMP_DJ_H_
19 #define _SETJMP_DJ_H_
21 #ifdef __cplusplus
22 extern "C" {
23 #endif
25 typedef struct {
26 unsigned long eax;
27 unsigned long ebx;
28 unsigned long ecx;
29 unsigned long edx;
30 unsigned long esi;
31 unsigned long edi;
32 unsigned long ebp;
33 unsigned long esp;
34 unsigned long eip;
35 } jmp_buf[1];
37 extern int setjmp(jmp_buf);
38 extern void longjmp(jmp_buf, int);
40 #ifdef __cplusplus
41 }
42 #endif
44 #endif
.