vm: fix failed alloc condition
[minix.git] / lib / libcompat_minix / include / i386 / compat_jmp_buf.h
blobbb5526c2c122ae67ae782d97b74d0da4c7522b3e
1 #ifndef _COMPAT_MACHINE_JMP_BUF_H
2 #define _COMPAT_MACHINE_JMP_BUF_H
4 /* This file is strictly dependant on the libc's
5 * setjmp/longjmp code! Keep it in sync! */
7 /* This is used only by libddekit's src/thread.c.
8 * Being incredibly fragile (not to mention hardly
9 * portable, it would be a good idea to replace
10 * that code. */
12 #define JB_PC 0
13 #define JB_SP 8
14 #define JB_BP 12
16 #endif /* _COMPAT_MACHINE_JMP_BUF_H */