1.1 --- a/stage1/head1.S Wed Jun 24 13:29:41 2015 +0200
1.2 +++ b/stage1/head1.S Thu Jun 25 17:58:04 2015 +0200
1.3 @@ -20,28 +20,28 @@
1.4 * along with this program. If not, see <http://www.gnu.org/licenses/>.
1.5 */
1.6
1.7 - .text
1.8 - .extern c_main
1.9 - .globl _start
1.10 - .set noreorder
1.11 +.text
1.12 +.extern c_main
1.13 +.globl _start
1.14 +.set noreorder
1.15 +
1.16 _start:
1.17 - b real_start
1.18 + b real_start
1.19 nop
1.20 // 8 words for firmware parameters (0x80002008), struct fw_args
1.21 - .word 0x0
1.22 - .word 0x0
1.23 - .word 0x0
1.24 - .word 0x0
1.25 - .word 0x0
1.26 - .word 0x0
1.27 - .word 0x0
1.28 - .word 0x0
1.29 + .word 0x0
1.30 + .word 0x0
1.31 + .word 0x0
1.32 + .word 0x0
1.33 + .word 0x0
1.34 + .word 0x0
1.35 + .word 0x0
1.36 + .word 0x0
1.37 real_start:
1.38 - /*
1.39 - * setup stack, jump to C code
1.40 - */
1.41 - la $29, 0x80004000 /* sp */
1.42 - j c_main
1.43 + /* Setup stack, jump to C code. */
1.44 +
1.45 + la $sp, 0x80004000
1.46 + j c_main
1.47 nop
1.48
1.49 - .set reorder
1.50 +.set reorder