OSDN Git Service

(none)
authorryuz <ryuz>
Mon, 1 Dec 2008 15:25:28 +0000 (15:25 +0000)
committerryuz <ryuz>
Mon, 1 Dec 2008 15:25:28 +0000 (15:25 +0000)
aplfw/sample/mips/jelly/gcc/crt0.S
aplfw/sample/mips/jelly/gcc/ram.lds

index 608367b..148037b 100755 (executable)
@@ -35,25 +35,8 @@ _reset_handler:
                                nop
                                
                                la              $gp, _gp
-                               la              $sp, 0x01008000
-       //                      la              $v0, _kernel_int_isp
-       //                      lw              $sp, ($v0)
-                               
-                               
-                       // test
-                               la              $8, 0x02012345
-                               la              $9, 0x12345678
-                               sw              $9, 0($8)
-                               nop
-                               nop
-                               lw              $9, 0($8)
-                               
-                               
-                               la              $8, 0x1234
-                               la              $9, 0x5678
-                               mult    $8, $9
-                               mfhi    $8
-                               mflo    $9
+                               la              $8, _kernel_int_isp
+                               lw              $sp, 0($8)
                                
                                
                                // BSS initialize
index 62e1cb6..6b83cc9 100755 (executable)
@@ -4,7 +4,7 @@ ENTRY(_reset_handler)
 MEMORY
 {
        rom    : o = 0x00000000, l = 0x00020000
-       ram    : o = 0x00020000, l = 0x00100000
+       ram    : o = 0x00020000, l = 0x000e0000
 }
 
 SECTIONS