1 |
|
#include "linux.h" |
2 |
|
|
3 |
|
#ifdef IN_GBC |
4 |
|
/* #undef MPROTECT_ACTION_FLAGS */ |
5 |
|
/* #define MPROTECT_ACTION_FLAGS SA_RESTART|SA_SIGINFO */ |
6 |
|
/* #define GET_FAULT_ADDR(sig,code,sv,a) \ */ |
7 |
|
/* ((siginfo_t *)code)->si_addr */ |
8 |
|
#define GET_FAULT_ADDR(sig,code,sv,a) \ |
9 |
|
((siginfo_t *)code )->si_addr |
10 |
|
#endif |
11 |
|
|
12 |
|
/*#define NULL_OR_ON_C_STACK(x) ((x)==0 || ((unsigned int)x) > (unsigned int)(pagetochar(MAXPAGE+1)))*/ |
13 |
|
|
14 |
|
#define ADDITIONAL_FEATURES \ |
15 |
|
ADD_FEATURE("BSD386"); \ |
16 |
|
ADD_FEATURE("MC68020") |
17 |
|
|
18 |
|
|
19 |
|
#define I386 |
20 |
|
#define SGC |
21 |
|
|
22 |
|
/* Apparently stack pointers can be 4 byte aligned, at least &argc -- CM */ |
23 |
|
#define C_GC_OFFSET 4 |