Re: [Qemu-devel] [PATCH] SPARC: Fix Leon3 cache control

2011-01-31 Thread Fabien Chouteau
On 01/28/2011 11:27 PM, Blue Swirl wrote: On Fri, Jan 28, 2011 at 1:55 PM, Fabien Chouteau wrote: On 01/27/2011 11:40 AM, Fabien Chouteau wrote: The "leon3_cache_control_int" (op_helper.c) function is called within leon3.c which leads to segfault error with the global "env". Now cache control

Re: [Qemu-devel] [PATCH] SPARC: Fix Leon3 cache control

2011-01-28 Thread Blue Swirl
On Fri, Jan 28, 2011 at 1:55 PM, Fabien Chouteau wrote: > On 01/27/2011 11:40 AM, Fabien Chouteau wrote: >> >> The "leon3_cache_control_int" (op_helper.c) function is called within >> leon3.c >> which leads to segfault error with the global "env". >> >> Now cache control is a CPU feature and every

Re: [Qemu-devel] [PATCH] SPARC: Fix Leon3 cache control

2011-01-28 Thread Fabien Chouteau
On 01/27/2011 11:40 AM, Fabien Chouteau wrote: The "leon3_cache_control_int" (op_helper.c) function is called within leon3.c which leads to segfault error with the global "env". Now cache control is a CPU feature and everything is handled in op_helper.c. Signed-off-by: Fabien Chouteau --- hw/

[Qemu-devel] [PATCH] SPARC: Fix Leon3 cache control

2011-01-27 Thread Fabien Chouteau
The "leon3_cache_control_int" (op_helper.c) function is called within leon3.c which leads to segfault error with the global "env". Now cache control is a CPU feature and everything is handled in op_helper.c. Signed-off-by: Fabien Chouteau --- hw/leon3.c |1 - target-sparc/cpu.