aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-um/a.out.h
blob: 78bc9eed26b2b2b030171ab27fae694be72f9036 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#ifndef __UM_A_OUT_H
#define __UM_A_OUT_H

#include "asm/arch/a.out.h"
#include "choose-mode.h"

#undef STACK_TOP
#undef STACK_TOP_MAX

extern unsigned long stacksizelim;

extern unsigned long host_task_size;

#define STACK_ROOM (stacksizelim)

extern int honeypot;
#define STACK_TOP \
	CHOOSE_MODE((honeypot ? host_task_size : task_size), task_size)

#define STACK_TOP_MAX	STACK_TOP

#endif