blob: 78bc9eed26b2b2b030171ab27fae694be72f9036 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#ifndef __UM_A_OUT_H
2#define __UM_A_OUT_H
3
Linus Torvalds1da177e2005-04-16 15:20:36 -07004#include "asm/arch/a.out.h"
5#include "choose-mode.h"
6
7#undef STACK_TOP
Jeff Dike39a27902007-06-16 10:16:10 -07008#undef STACK_TOP_MAX
Linus Torvalds1da177e2005-04-16 15:20:36 -07009
10extern unsigned long stacksizelim;
11
12extern unsigned long host_task_size;
13
14#define STACK_ROOM (stacksizelim)
15
16extern int honeypot;
17#define STACK_TOP \
18 CHOOSE_MODE((honeypot ? host_task_size : task_size), task_size)
19
Peter Zijlstrab1117572007-07-19 01:48:14 -070020#define STACK_TOP_MAX STACK_TOP
21
Linus Torvalds1da177e2005-04-16 15:20:36 -070022#endif