diff options
Diffstat (limited to 'src/arch/i386/include/bits/setjmp.h')
| -rw-r--r-- | src/arch/i386/include/bits/setjmp.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/arch/i386/include/bits/setjmp.h b/src/arch/i386/include/bits/setjmp.h new file mode 100644 index 000000000..6b2ec9613 --- /dev/null +++ b/src/arch/i386/include/bits/setjmp.h @@ -0,0 +1,24 @@ +#ifndef _BITS_SETJMP_H +#define _BITS_SETJMP_H + +FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL ); + +#include <stdint.h> + +/** A jump buffer */ +typedef struct { + /** Saved return address */ + uint32_t retaddr; + /** Saved stack pointer */ + uint32_t stack; + /** Saved %ebx */ + uint32_t ebx; + /** Saved %esi */ + uint32_t esi; + /** Saved %edi */ + uint32_t edi; + /** Saved %ebp */ + uint32_t ebp; +} jmp_buf[1]; + +#endif /* _BITS_SETJMP_H */ |
