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:
parent
eaf4339cd6
commit
052dd9bfc0
|
@ -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.
|
||||
|
||||
|
|
Loading…
Reference in a new issue