From d33fd9d14b97731721e70bbb500ebc33c9e3a6ef Mon Sep 17 00:00:00 2001 From: Edgar E. Iglesias Date: Fri, 15 May 2009 16:53:53 +0200 Subject: ETRAX: Correct passing of kernel command line. Signed-off-by: Edgar E. Iglesias --- hw/axis_dev88.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'hw/axis_dev88.c') diff --git a/hw/axis_dev88.c b/hw/axis_dev88.c index 098c275afe..8df536d6be 100644 --- a/hw/axis_dev88.c +++ b/hw/axis_dev88.c @@ -350,10 +350,10 @@ void axisdev88_init (ram_addr_t ram_size, fprintf(stderr, "Too long CRIS kernel cmdline (max 256)\n"); exit(1); } - pstrcpy_targphys(high, 256, kernel_cmdline); /* Let the kernel know we are modifying the cmdline. */ env->regs[10] = 0x87109563; - env->regs[11] = high; + env->regs[11] = 0x40000000; + pstrcpy_targphys(env->regs[11], 256, kernel_cmdline); } } env->pc = bootstrap_pc; -- cgit v1.2.3-55-g7522