logo       

jyp: firmware crt0.S,1.21,1.22: msg#00185

systems.archos.rockbox.cvs

Subject: jyp: firmware crt0.S,1.21,1.22

Update of /cvsroot/rockbox/firmware
In directory labb:/tmp/cvs-serv15628

Modified Files:
crt0.S
Log Message:
better comments


Index: crt0.S
===================================================================
RCS file: /cvsroot/rockbox/firmware/crt0.S,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -d -r1.21 -r1.22
--- crt0.S 22 Jan 2005 15:14:24 -0000 1.21
+++ crt0.S 27 Jan 2005 14:16:11 -0000 1.22
@@ -30,7 +30,6 @@
clrsr ie
clrsr te
ld a14, #0x3F0000
- ;; copy data section from flash to ram.

ld r5, 0xA5
ldb @[a14 + 6], r5 ; disable watchdog
@@ -38,6 +37,7 @@
ld a11, #(_datacopy) ; where the data section is in the flash
ld a8, #(_datastart) ; destination

+ ;; copy data section from flash to ram.
ld a9, #_datasize
ld r6, e9
cmp eq, r6, #0
@@ -57,6 +57,7 @@
brt .data_copy_loop
.data_copy_end:

+ ;; zero out bss
ld r2, #0
ld a8, #(_bssstart) ; destination
ld a9, #_bsssize
@@ -76,7 +77,8 @@
cmp ugt, r9, #0
brt .bss_init_loop
.bss_init_end:
-
+
+ ;; set stack pointer
ld a15, _stackend

;; go!

_______________________________________________
http://cool.haxx.se/mailman/listinfo/rockbox-cvs



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise