From fa1b222c21a4c2aee932d6605facb9706bf0dae3 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Sun, 19 Dec 2010 11:02:56 +0000 Subject: PPC board files and demo updated (to be tested). git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2503 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/ports/GCC/PPC/crt0.s | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) (limited to 'os/ports/GCC') diff --git a/os/ports/GCC/PPC/crt0.s b/os/ports/GCC/PPC/crt0.s index e12a87843..c40f5efb2 100644 --- a/os/ports/GCC/PPC/crt0.s +++ b/os/ports/GCC/PPC/crt0.s @@ -52,7 +52,7 @@ _boot_address: /* * Early initialization. */ - bl hwinit0 + bl __early_init /* * BSS clearing. */ @@ -87,9 +87,8 @@ _boot_address: b .dataloop .dataend: /* - * Late initialization. + * Main program invocation. */ - bl hwinit1 li %r3, 0 li %r4, 0 bl main @@ -107,12 +106,9 @@ forever: /* * Default initialization code, none. */ - .weak hwinit0 - .globl hwinit0 -hwinit0: - .weak hwinit1 - .globl hwinit1 -hwinit1: + .weak __early_init + .globl __early_init +__early_init: blr /** @endcond */ -- cgit v1.2.3