Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | #ifndef __UM_A_OUT_H |
2 | #define __UM_A_OUT_H | ||||
3 | |||||
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 4 | #include "asm/arch/a.out.h" |
5 | #include "choose-mode.h" | ||||
6 | |||||
7 | #undef STACK_TOP | ||||
8 | |||||
9 | extern unsigned long stacksizelim; | ||||
10 | |||||
11 | extern unsigned long host_task_size; | ||||
12 | |||||
13 | #define STACK_ROOM (stacksizelim) | ||||
14 | |||||
15 | extern int honeypot; | ||||
16 | #define STACK_TOP \ | ||||
17 | CHOOSE_MODE((honeypot ? host_task_size : task_size), task_size) | ||||
18 | |||||
19 | #endif |