# HG changeset patch # User Paul Boddie # Date 1434287494 -7200 # Node ID c73e7b7654d53f05d4268e85dc8549755c488dab # Parent f1960e25e2b31cdda30a5c04d1dec08bc855a354 Tidied up the header. diff -r f1960e25e2b3 -r c73e7b7654d5 stage1/head1.S --- a/stage1/head1.S Sun Jun 14 01:44:49 2015 +0200 +++ b/stage1/head1.S Sun Jun 14 15:11:34 2015 +0200 @@ -2,7 +2,8 @@ * Entry point of the firmware. * The firmware code is executed in the ICache. * - * Copyright 2009 (C) Qi Hardware Inc., + * Copyright 2009 (C) Qi Hardware Inc. + * Author: Wolfgang Spraul * Author: Xiangfu Liu * * Copyright (C) 2015 Paul Boddie @@ -23,15 +24,13 @@ */ .text - .extern c_main - .globl _start .set noreorder _start: b real_start nop - .word 0x0 /* address: 0x80002008 */ + // 8 words for firmware parameters (0x80002008), struct fw_args .word 0x0 .word 0x0 .word 0x0 @@ -39,9 +38,8 @@ .word 0x0 .word 0x0 .word 0x0 - /* reserve 8 words for args sizeof(struct fw_args) - */ -real_start: + .word 0x0 +real_start: /* * setup stack, jump to C code */