mirror of
git://projects.qi-hardware.com/xburst-tools.git
synced 2024-11-23 01:10:17 +02:00
34 lines
621 B
ArmAsm
34 lines
621 B
ArmAsm
//
|
|
// Authors: Wolfgang Spraul <wolfgang@qi-hardware.com>
|
|
//
|
|
// This program is free software; you can redistribute it and/or
|
|
// modify it under the terms of the GNU General Public License
|
|
// as published by the Free Software Foundation; either version
|
|
// 3 of the License, or (at your option) any later version.
|
|
//
|
|
|
|
.text
|
|
.extern c_main
|
|
.globl _start
|
|
.set noreorder
|
|
|
|
_start:
|
|
b real_start
|
|
nop
|
|
// 8 words for firmware parameters (0x80002008)
|
|
.word 0x0
|
|
.word 0x0
|
|
.word 0x0
|
|
.word 0x0
|
|
.word 0x0
|
|
.word 0x0
|
|
.word 0x0
|
|
.word 0x0
|
|
|
|
real_start:
|
|
la $29, 0x80004000 // setup stack (sp)
|
|
j c_main
|
|
nop
|
|
|
|
.set reorder
|