projects
/
oweals
/
openwrt.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
lzma loader patch from oleg, great thanks good work, saves another 300 kb flashmemory
[oweals/openwrt.git]
/
openwrt
/
package
/
linux
/
kernel-source
/
arch
/
mips
/
brcm-boards
/
bcm947xx
/
compressed
/
head.S
1
/* Copyright 2004 Manuel Novoa III (mjn3@codepoet.org) */
2
/* Licensed under the linux kernel's version of the GPL. */
3
4
#include <asm/asm.h>
5
#include <asm/regdef.h>
6
7
.text
8
LEAF(startup)
9
.set noreorder
10
11
li t1, BZ_TEXT_START
12
add a0, t1, 0
13
la a1, code_start
14
la a2, code_stop
15
$L1:
16
lw t0, 0(a1)
17
sw t0, 0(a0)
18
add a1, 4
19
add a0, 4
20
blt a1, a2, $L1
21
22
add sp, t1, -4
23
jal t1
24
25
.set reorder
26
END(startup)