summaryrefslogtreecommitdiffstats
path: root/target/linux/generic-2.6/image/lzma-loader/src/decompress.c
diff options
context:
space:
mode:
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-03-27 15:44:14 +0000
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-03-27 15:44:14 +0000
commit14e96a8a42a27f36a7e53bc87acdb134b1fbdbd8 (patch)
tree98d4078a4f9c0008ac96c1c9eb9846d106ec98c8 /target/linux/generic-2.6/image/lzma-loader/src/decompress.c
parent2c7451b345237216af91acf7dabc58f0c8375818 (diff)
Create a dummy sit package for 2.4 kernelsq
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10668 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/generic-2.6/image/lzma-loader/src/decompress.c')
-rw-r--r--target/linux/generic-2.6/image/lzma-loader/src/decompress.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/target/linux/generic-2.6/image/lzma-loader/src/decompress.c b/target/linux/generic-2.6/image/lzma-loader/src/decompress.c
index 45ac509cd..e31f4183d 100644
--- a/target/linux/generic-2.6/image/lzma-loader/src/decompress.c
+++ b/target/linux/generic-2.6/image/lzma-loader/src/decompress.c
@@ -145,6 +145,7 @@ void entry(unsigned long icache_size, unsigned long icache_lsize,
get_byte();
/* decompress kernel */
+ printf("Decompressing kernel\n");
if ((i = LzmaDecode(&vs, &callback,
(unsigned char*)KERNEL_ENTRY, osize, &osize)) == LZMA_RESULT_OK)
{
@@ -152,6 +153,8 @@ void entry(unsigned long icache_size, unsigned long icache_lsize,
blast_icache(icache_size, icache_lsize);
/* Jump to load address */
+ printf("Jumping !\n");
((void (*)(int a0, int a1, int a2, int a3)) KERNEL_ENTRY)(arg0, arg1, arg2, arg3);
}
+ printf("Failed to decompress !\n");
}