Last change
on this file since e225e77 was 7258c6a, checked in by Thomas Lopatic <thomas@…>, 7 years ago |
Use standard integer types.
|
-
Property mode
set to
100644
|
File size:
1.0 KB
|
Rev | Line | |
---|
[f40a309] | 1 | /*
|
---|
| 2 | =============================================================================
|
---|
| 3 | setjmp.h -- header for setjmp() and longjmp() functions
|
---|
| 4 | Version 1 -- 1987-06-11 -- D.N. Lynx Crowe
|
---|
| 5 |
|
---|
| 6 | Registers a0 and d0 are assumed to be scratch registers,
|
---|
| 7 | and are not saved by these functions.
|
---|
| 8 |
|
---|
| 9 | Register d0 is usually used as the return value register.
|
---|
| 10 | Exception: Motorola C uses a0 for the return value if it's a pointer.
|
---|
| 11 |
|
---|
| 12 | This is true of most C compilers for the 68000, including:
|
---|
| 13 | Digital Research / Alcyon, Lattice, Aztec / Manx, Greenhills, Motorola.
|
---|
| 14 | =============================================================================
|
---|
| 15 | */
|
---|
| 16 |
|
---|
| 17 | struct JMP_BUF { /* setjmp() / longjmp() environment structure */
|
---|
| 18 |
|
---|
[7258c6a] | 19 | int32_t jmpret; /* return address */
|
---|
| 20 |
|
---|
| 21 | int32_t jmp_d1; /* data registers */
|
---|
| 22 | int32_t jmp_d2;
|
---|
| 23 | int32_t jmp_d3;
|
---|
| 24 | int32_t jmp_d4;
|
---|
| 25 | int32_t jmp_d5;
|
---|
| 26 | int32_t jmp_d6;
|
---|
| 27 | int32_t jmp_d7;
|
---|
| 28 |
|
---|
| 29 | int32_t jmp_a1; /* address registers */
|
---|
| 30 | int32_t jmp_a2;
|
---|
| 31 | int32_t jmp_a3;
|
---|
| 32 | int32_t jmp_a4;
|
---|
| 33 | int32_t jmp_a5;
|
---|
| 34 | int32_t jmp_a6;
|
---|
| 35 | int32_t jmp_a7;
|
---|
[f40a309] | 36 | };
|
---|
| 37 |
|
---|
| 38 | typedef struct JMP_BUF jmp_buf;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.