summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPatrick Williams <iawillia@us.ibm.com>2010-05-25 17:15:12 -0500
committerPatrick Williams <iawillia@us.ibm.com>2010-05-25 17:15:12 -0500
commit314978d83b6a89ed51d37b8836dfcfd9981cc7ef (patch)
tree35ef23953530076aad11d25e85bbf145bdf3374b /src
parente3151c49a80aa6205c4bbe80683027c8444725bb (diff)
downloadtalos-hostboot-314978d83b6a89ed51d37b8836dfcfd9981cc7ef.tar.gz
talos-hostboot-314978d83b6a89ed51d37b8836dfcfd9981cc7ef.zip
Reserve proper space for initial stack frames.
Diffstat (limited to 'src')
-rw-r--r--src/kernel/start.S8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/kernel/start.S b/src/kernel/start.S
index 481736371..062760953 100644
--- a/src/kernel/start.S
+++ b/src/kernel/start.S
@@ -74,15 +74,15 @@ _main:
ori 2, 2, main@l
ld 2,8(2)
- ;// Set up initial stack
+ ;// Set up initial stack, space for 8 double-words
lis 1, kernel_stack@h
ori 1, 1, kernel_stack@l
- addi 1, 1, 16368
+ addi 1, 1, 16320
- ;// Set up exception stack
+ ;// Set up exception stack, space for 8 double-words
lis 3, exception_stack@h
ori 3, 3, exception_stack@l
- addi 3, 3, 16368
+ addi 3, 3, 16320
mtsprg0 3
;// Call main.
OpenPOWER on IntegriCloud