Jeff Dike | ae2587e | 2007-10-16 01:26:57 -0700 | [diff] [blame] | 1 | /* |
2 | * Copyright (C) 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com) | ||||
3 | * Licensed under the GPL | ||||
4 | */ | ||||
5 | |||||
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 6 | #ifndef __UM_A_OUT_H |
7 | #define __UM_A_OUT_H | ||||
8 | |||||
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 9 | #include "asm/arch/a.out.h" |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 10 | |
11 | #undef STACK_TOP | ||||
Jeff Dike | 39a2790 | 2007-06-16 10:16:10 -0700 | [diff] [blame] | 12 | #undef STACK_TOP_MAX |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 13 | |
14 | extern unsigned long stacksizelim; | ||||
15 | |||||
16 | extern unsigned long host_task_size; | ||||
17 | |||||
18 | #define STACK_ROOM (stacksizelim) | ||||
19 | |||||
Jeff Dike | 6aa802c | 2007-10-16 01:26:56 -0700 | [diff] [blame] | 20 | #define STACK_TOP task_size |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 21 | |
Jeff Dike | 6aa802c | 2007-10-16 01:26:56 -0700 | [diff] [blame] | 22 | #define STACK_TOP_MAX STACK_TOP |
Peter Zijlstra | b111757 | 2007-07-19 01:48:14 -0700 | [diff] [blame] | 23 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 24 | #endif |