1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-18 19:50:37 +02:00

Don't nuke fw_argX from CFE - Thanks jhansen

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11275 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
noz 2008-05-27 15:01:07 +00:00
parent eddc130422
commit 60bfafb866

View File

@ -120,7 +120,9 @@ static __inline__ unsigned char get_byte(void)
/* should be the first function */ /* should be the first function */
void entry(unsigned long icache_size, unsigned long icache_lsize, 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 i; /* temp value */
unsigned int lc; /* literal context bits */ 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); blast_icache(icache_size, icache_lsize);
/* Jump to load address */ /* 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);
} }
} }