2005-04-17 00:20:36 +02:00
|
|
|
#ifndef __UM_A_OUT_H
|
|
|
|
#define __UM_A_OUT_H
|
|
|
|
|
|
|
|
#include "asm/arch/a.out.h"
|
|
|
|
#include "choose-mode.h"
|
|
|
|
|
|
|
|
#undef STACK_TOP
|
2007-06-16 19:16:10 +02:00
|
|
|
#undef STACK_TOP_MAX
|
2005-04-17 00:20:36 +02:00
|
|
|
|
|
|
|
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)
|
|
|
|
|
2007-07-19 10:48:14 +02:00
|
|
|
#define STACK_TOP_MAX STACK_TOP
|
|
|
|
|
2005-04-17 00:20:36 +02:00
|
|
|
#endif
|