1.1 --- a/stage1/head1.S Sun Jun 14 01:44:49 2015 +0200
1.2 +++ b/stage1/head1.S Sun Jun 14 15:11:34 2015 +0200
1.3 @@ -2,7 +2,8 @@
1.4 * Entry point of the firmware.
1.5 * The firmware code is executed in the ICache.
1.6 *
1.7 - * Copyright 2009 (C) Qi Hardware Inc.,
1.8 + * Copyright 2009 (C) Qi Hardware Inc.
1.9 + * Author: Wolfgang Spraul <wolfgang@sharism.cc>
1.10 * Author: Xiangfu Liu <xiangfu@sharism.cc>
1.11 *
1.12 * Copyright (C) 2015 Paul Boddie <paul@boddie.org.uk>
1.13 @@ -23,15 +24,13 @@
1.14 */
1.15
1.16 .text
1.17 -
1.18 .extern c_main
1.19 -
1.20 .globl _start
1.21 .set noreorder
1.22 _start:
1.23 b real_start
1.24 nop
1.25 - .word 0x0 /* address: 0x80002008 */
1.26 + // 8 words for firmware parameters (0x80002008), struct fw_args
1.27 .word 0x0
1.28 .word 0x0
1.29 .word 0x0
1.30 @@ -39,9 +38,8 @@
1.31 .word 0x0
1.32 .word 0x0
1.33 .word 0x0
1.34 - /* reserve 8 words for args sizeof(struct fw_args)
1.35 - */
1.36 -real_start:
1.37 + .word 0x0
1.38 +real_start:
1.39 /*
1.40 * setup stack, jump to C code
1.41 */