diff options
author | Peter Denison <openwrt@marshadder.org> | 2008-05-27 15:01:07 +0000 |
---|---|---|
committer | Peter Denison <openwrt@marshadder.org> | 2008-05-27 15:01:07 +0000 |
commit | c9f6d439278ac54f29962d91ac71037757ba747f (patch) | |
tree | 9b5a94d27b8c6e72cecaf7605b309cdd8b27f788 /target/linux | |
parent | 20fbb8b151613011ad3cbd37f9542ba0a0343ad1 (diff) | |
download | upstream-c9f6d439278ac54f29962d91ac71037757ba747f.tar.gz upstream-c9f6d439278ac54f29962d91ac71037757ba747f.tar.bz2 upstream-c9f6d439278ac54f29962d91ac71037757ba747f.zip |
Don't nuke fw_argX from CFE - Thanks jhansen
SVN-Revision: 11275
Diffstat (limited to 'target/linux')
-rw-r--r-- | target/linux/brcm-2.4/image/lzma-loader/src/decompress.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/target/linux/brcm-2.4/image/lzma-loader/src/decompress.c b/target/linux/brcm-2.4/image/lzma-loader/src/decompress.c index ec510e21e3..ce2876a304 100644 --- a/target/linux/brcm-2.4/image/lzma-loader/src/decompress.c +++ b/target/linux/brcm-2.4/image/lzma-loader/src/decompress.c @@ -120,7 +120,9 @@ static __inline__ unsigned char get_byte(void) /* should be the first function */ void entry(unsigned long icache_size, unsigned long icache_lsize, - unsigned long dcache_size, unsigned long dcache_lsize) + unsigned long dcache_size, unsigned long dcache_lsize, + unsigned long fw_arg0, unsigned long fw_arg1, + unsigned long fw_arg2, unsigned long fw_arg3) { unsigned int i; /* temp value */ unsigned int lc; /* literal context bits */ @@ -170,6 +172,8 @@ void entry(unsigned long icache_size, unsigned long icache_lsize, blast_icache(icache_size, icache_lsize); /* Jump to load address */ - ((void (*)(void)) LOADADDR)(); + ((void (*)(unsigned long, unsigned long, unsigned long, + unsigned long)) LOADADDR)(fw_arg0, fw_arg1, fw_arg2, + fw_arg3); } } |