102 |
*/ |
*/ |
103 |
#define SIGPROTV SIGBUS |
#define SIGPROTV SIGBUS |
104 |
|
|
|
#ifdef IN_GBC |
|
|
#undef MPROTECT_ACTION_FLAGS |
|
|
#define MPROTECT_ACTION_FLAGS SA_RESTART|SA_SIGINFO |
|
|
#define GET_FAULT_ADDR(sig,code,sv,a) \ |
|
|
((siginfo_t *)code)->si_addr |
|
|
/* #define GET_FAULT_ADDR(sig,code,sv,a) \ */ |
|
|
/* ((void *)(*((char ***)(&code)))[44]) */ |
|
|
#endif |
|
|
|
|
105 |
/* Begin for cmpinclude */ |
/* Begin for cmpinclude */ |
106 |
#define SGC /* can mprotect pages and so selective gc will work */ |
#define SGC /* can mprotect pages and so selective gc will work */ |
107 |
/* End for cmpinclude */ |
/* End for cmpinclude */ |