diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2010-12-19 11:02:56 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2010-12-19 11:02:56 +0000 |
commit | fa1b222c21a4c2aee932d6605facb9706bf0dae3 (patch) | |
tree | a068446ef83e2dc26edab631dc54e1ca2faab50d /os/ports | |
parent | 13f5b1b97fa1ca9516665807682c164aa926fb78 (diff) | |
download | ChibiOS-fa1b222c21a4c2aee932d6605facb9706bf0dae3.tar.gz ChibiOS-fa1b222c21a4c2aee932d6605facb9706bf0dae3.tar.bz2 ChibiOS-fa1b222c21a4c2aee932d6605facb9706bf0dae3.zip |
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
Diffstat (limited to 'os/ports')
-rw-r--r-- | os/ports/GCC/PPC/crt0.s | 14 |
1 files changed, 5 insertions, 9 deletions
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 */
|