19 |
|
|
20 |
#define MUST_COPY_VA_LIST |
#define MUST_COPY_VA_LIST |
21 |
#define NULL_OR_ON_C_STACK(x) ((x)==0 || ((((unsigned long)x) > 0x100000000) && ((unsigned long)x) < 0x120000000)) |
#define NULL_OR_ON_C_STACK(x) ((x)==0 || ((((unsigned long)x) > 0x100000000) && ((unsigned long)x) < 0x120000000)) |
22 |
|
|
23 |
|
#undef MPROTECT_ACTION_FLAGS |
24 |
|
#define MPROTECT_ACTION_FLAGS SA_RESTART|SA_SIGINFO |
25 |
|
#ifdef IN_GBC |
26 |
|
#include <ucontext.h> |
27 |
|
#define GET_FAULT_ADDR(sig,code,scp,addr) \ |
28 |
|
(char *)((struct ucontext *)scp )->uc_mcontext.sc_traparg_a0 |
29 |
|
#endif |
30 |
|
#define SGC |