diff options
Diffstat (limited to 'apps/common/crt0_ppc.S')
-rw-r--r-- | apps/common/crt0_ppc.S | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/apps/common/crt0_ppc.S b/apps/common/crt0_ppc.S index 80ef3db..ef16a09 100644 --- a/apps/common/crt0_ppc.S +++ b/apps/common/crt0_ppc.S @@ -1,16 +1,16 @@ #include "cfg.h" -#define sp 1 -#define r0 0 -#define r7 7 +#define sp 1 +#define r0 0 +#define r7 7 - .extern AppStack - .extern Cstart - .globl start +.extern AppStack +.extern Cstart +.globl start start: - lis sp, (AppStack+(APPSTACKSIZE-4))@h - addi sp, sp, (AppStack+(APPSTACKSIZE-4))@l - addi r7, r0, -8 - and sp, sp, r7 /* 8-byte aligned (EABI spec) */ - ba Cstart - nop +lis sp, (AppStack+(APPSTACKSIZE-4))@h +addi sp, sp, (AppStack+(APPSTACKSIZE-4))@l +addi r7, r0, -8 +and sp, sp, r7 /* 8-byte aligned (EABI spec) */ +ba Cstart +nop |