| 1 |
/* |
| 2 |
* purgatory: stack |
| 3 |
* |
| 4 |
* Copyright (C) 2003,2004 Eric Biederman ([email protected]) |
| 5 |
* |
| 6 |
* This program is free software; you can redistribute it and/or modify |
| 7 |
* it under the terms of the GNU General Public License as published by |
| 8 |
* the Free Software Foundation (version 2 of the License). |
| 9 |
* |
| 10 |
* This program is distributed in the hope that it will be useful, |
| 11 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 13 |
* GNU General Public License for more details. |
| 14 |
* |
| 15 |
* You should have received a copy of the GNU General Public License |
| 16 |
* along with this program; if not, write to the Free Software |
| 17 |
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. |
| 18 |
*/ |
| 19 |
|
| 20 |
/* A stack for the loaded kernel. |
| 21 |
* Seperate and in the data section so it can be prepopulated. |
| 22 |
*/ |
| 23 |
.data |
| 24 |
.balign 4096 |
| 25 |
.globl stack, stack_end |
| 26 |
.globl stack_arg32_1, stack_arg32_2, stack_arg32_3 ,stack_arg32_4 |
| 27 |
.globl stack_arg32_5, stack_arg32_6, stack_arg32_7 ,stack_arg32_8 |
| 28 |
.globl stack_arg64_1, stack_arg64_2, stack_arg64_3 ,stack_arg64_4 |
| 29 |
|
| 30 |
stack: |
| 31 |
.skip 4096 - (8*4) |
| 32 |
stack_arg64_4: ; .size stack_arg64_4, 8 |
| 33 |
stack_arg32_8: .long 0 ; .size stack_arg32_8, 4 |
| 34 |
stack_arg32_7: .long 0 ; .size stack_arg32_7, 4 |
| 35 |
stack_arg64_3: ; .size stack_arg64_3, 8 |
| 36 |
stack_arg32_6: .long 0 ; .size stack_arg32_6, 4 |
| 37 |
stack_arg32_5: .long 0 ; .size stack_arg32_5, 4 |
| 38 |
stack_arg64_2: ; .size stack_arg64_2, 8 |
| 39 |
stack_arg32_4: .long 0 ; .size stack_arg32_4, 4 |
| 40 |
stack_arg32_3: .long 0 ; .size stack_arg32_3, 4 |
| 41 |
stack_arg64_1: ; .size stack_arg64_1, 8 |
| 42 |
stack_arg32_2: .long 0 ; .size stack_arg32_2, 4 |
| 43 |
stack_arg32_1: .long 0 ; .size stack_arg32_1, 4 |
| 44 |
stack_end: |