Actually remember to set the stack pointer on startup. Reduce to stack from 16kB to a much more reasonable 1kB.

--HG--
branch : dtrg-videocore
This commit is contained in:
David Given 2013-06-20 00:14:55 +01:00
parent eaf4339cd6
commit 052dd9bfc0

View file

@ -16,7 +16,7 @@
.sect .text
#define gp r15
#define STACKSIZE 16*1024
#define STACKSIZE 1*1024
! MAIN ENTRY POINT
@ -46,6 +46,7 @@ _1:
st lr, .returnlr
lea gp, begtext
lea sp, .stack + STACKSIZE
! Save the kernel parameters.