2007-10-16 16:26:57 +08:00
|
|
|
/*
|
|
|
|
* Copyright (C) 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com)
|
|
|
|
* Licensed under the GPL
|
|
|
|
*/
|
|
|
|
|
2005-04-17 06:20:36 +08:00
|
|
|
#ifndef __UM_A_OUT_H
|
|
|
|
#define __UM_A_OUT_H
|
|
|
|
|
|
|
|
#include "asm/arch/a.out.h"
|
|
|
|
|
|
|
|
#undef STACK_TOP
|
2007-06-17 01:16:10 +08:00
|
|
|
#undef STACK_TOP_MAX
|
2005-04-17 06:20:36 +08:00
|
|
|
|
|
|
|
extern unsigned long stacksizelim;
|
|
|
|
|
|
|
|
#define STACK_ROOM (stacksizelim)
|
|
|
|
|
2008-02-05 14:31:00 +08:00
|
|
|
#define STACK_TOP (TASK_SIZE - 2 * PAGE_SIZE)
|
2005-04-17 06:20:36 +08:00
|
|
|
|
2007-10-16 16:26:56 +08:00
|
|
|
#define STACK_TOP_MAX STACK_TOP
|
2007-07-19 16:48:14 +08:00
|
|
|
|
2005-04-17 06:20:36 +08:00
|
|
|
#endif
|