OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [newlib-1.18.0/] [newlib/] [libc/] [include/] [machine/] [setjmp-dj.h] - Blame information for rev 207

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 207 jeremybenn
/*
2
 * Copyright (C) 1991 DJ Delorie
3
 * All rights reserved.
4
 *
5
 * Redistribution and use in source and binary forms is permitted
6
 * provided that the above copyright notice and following paragraph are
7
 * duplicated in all such forms.
8
 *
9
 * This file is distributed WITHOUT ANY WARRANTY; without even the implied
10
 * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
11
 */
12
 
13
/* Modified to use SETJMP_DJ_H rather than SETJMP_H to avoid
14
   conflicting with setjmp.h.  Ian Taylor, Cygnus support, April,
15
   1993.  */
16
 
17
#ifndef _SETJMP_DJ_H_
18
#define _SETJMP_DJ_H_
19
 
20
#ifdef __cplusplus
21
extern "C" {
22
#endif
23
 
24
typedef struct {
25
  unsigned long eax;
26
  unsigned long ebx;
27
  unsigned long ecx;
28
  unsigned long edx;
29
  unsigned long esi;
30
  unsigned long edi;
31
  unsigned long ebp;
32
  unsigned long esp;
33
  unsigned long eip;
34
} jmp_buf[1];
35
 
36
extern int setjmp(jmp_buf);
37
extern void longjmp(jmp_buf, int);
38
 
39
#ifdef __cplusplus
40
}
41
#endif
42
 
43
#endif

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.