Re: [Qemu-devel] [PATCH v9 11/15] target-or32: Add system instructions

2012-07-15 Thread Jia Liu
Hi Blue, On Sun, Jul 15, 2012 at 3:54 PM, Blue Swirl wrote: > On Sun, Jul 15, 2012 at 12:39 AM, Jia Liu wrote: >> Hi Blue >> >> On Sat, Jul 14, 2012 at 10:42 PM, Blue Swirl wrote: >>> On Sat, Jul 14, 2012 at 2:08 PM, Jia Liu wrote: Hi Max On Sat, Jul 14, 2012 at 9:49 PM, Max Fil

Re: [Qemu-devel] [PATCH v9 11/15] target-or32: Add system instructions

2012-07-15 Thread Blue Swirl
On Sun, Jul 15, 2012 at 12:39 AM, Jia Liu wrote: > Hi Blue > > On Sat, Jul 14, 2012 at 10:42 PM, Blue Swirl wrote: >> On Sat, Jul 14, 2012 at 2:08 PM, Jia Liu wrote: >>> Hi Max >>> >>> On Sat, Jul 14, 2012 at 9:49 PM, Max Filippov wrote: >> I don't think so, please check for example target-

Re: [Qemu-devel] [PATCH v9 11/15] target-or32: Add system instructions

2012-07-14 Thread Jia Liu
Hi Blue On Sat, Jul 14, 2012 at 10:42 PM, Blue Swirl wrote: > On Sat, Jul 14, 2012 at 2:08 PM, Jia Liu wrote: >> Hi Max >> >> On Sat, Jul 14, 2012 at 9:49 PM, Max Filippov wrote: > I don't think so, please check for example target-ppc/translate.c:4192 > on how supervisor only mfsr is ha

Re: [Qemu-devel] [PATCH v9 11/15] target-or32: Add system instructions

2012-07-14 Thread Blue Swirl
On Sat, Jul 14, 2012 at 2:08 PM, Jia Liu wrote: > Hi Max > > On Sat, Jul 14, 2012 at 9:49 PM, Max Filippov wrote: I don't think so, please check for example target-ppc/translate.c:4192 on how supervisor only mfsr is handled there. >>> >>> Thank you for comment, Blue. >>> >>> is thi

Re: [Qemu-devel] [PATCH v9 11/15] target-or32: Add system instructions

2012-07-14 Thread Jia Liu
Hi Max On Sat, Jul 14, 2012 at 9:49 PM, Max Filippov wrote: >>> I don't think so, please check for example target-ppc/translate.c:4192 >>> on how supervisor only mfsr is handled there. >>> >> >> Thank you for comment, Blue. >> >> is this code OK? > > Shouldn't there also be an exception in softmm

Re: [Qemu-devel] [PATCH v9 11/15] target-or32: Add system instructions

2012-07-14 Thread Max Filippov
On Sat, Jul 14, 2012 at 5:39 PM, Jia Liu wrote: > Hi Blue, > > On Sat, Jul 14, 2012 at 9:19 PM, Blue Swirl wrote: >> On Sat, Jul 14, 2012 at 11:12 AM, Jia Liu wrote: >>> Hi Max >>> >>> On Fri, Jul 13, 2012 at 5:27 PM, Max Filippov wrote: On Fri, Jul 13, 2012 at 8:35 AM, Jia Liu wrote: >>>

Re: [Qemu-devel] [PATCH v9 11/15] target-or32: Add system instructions

2012-07-14 Thread Jia Liu
Hi Blue, On Sat, Jul 14, 2012 at 9:19 PM, Blue Swirl wrote: > On Sat, Jul 14, 2012 at 11:12 AM, Jia Liu wrote: >> Hi Max >> >> On Fri, Jul 13, 2012 at 5:27 PM, Max Filippov wrote: >>> On Fri, Jul 13, 2012 at 8:35 AM, Jia Liu wrote: Add OpenRISC system instructions. Signed-off-by

Re: [Qemu-devel] [PATCH v9 11/15] target-or32: Add system instructions

2012-07-14 Thread Blue Swirl
On Sat, Jul 14, 2012 at 11:12 AM, Jia Liu wrote: > Hi Max > > On Fri, Jul 13, 2012 at 5:27 PM, Max Filippov wrote: >> On Fri, Jul 13, 2012 at 8:35 AM, Jia Liu wrote: >>> Add OpenRISC system instructions. >>> >>> Signed-off-by: Jia Liu >>> --- >>> target-openrisc/Makefile.objs |2 +- >>> ta

Re: [Qemu-devel] [PATCH v9 11/15] target-or32: Add system instructions

2012-07-14 Thread Jia Liu
Hi Max On Fri, Jul 13, 2012 at 5:27 PM, Max Filippov wrote: > On Fri, Jul 13, 2012 at 8:35 AM, Jia Liu wrote: >> Add OpenRISC system instructions. >> >> Signed-off-by: Jia Liu >> --- >> target-openrisc/Makefile.objs |2 +- >> target-openrisc/cpu.h |3 + >> target-openrisc/helpe

Re: [Qemu-devel] [PATCH v9 11/15] target-or32: Add system instructions

2012-07-13 Thread Max Filippov
On Fri, Jul 13, 2012 at 8:35 AM, Jia Liu wrote: > Add OpenRISC system instructions. > > Signed-off-by: Jia Liu > --- > target-openrisc/Makefile.objs |2 +- > target-openrisc/cpu.h |3 + > target-openrisc/helper.h |4 + > target-openrisc/sys_helper.c | 287 > ++

[Qemu-devel] [PATCH v9 11/15] target-or32: Add system instructions

2012-07-12 Thread Jia Liu
Add OpenRISC system instructions. Signed-off-by: Jia Liu --- target-openrisc/Makefile.objs |2 +- target-openrisc/cpu.h |3 + target-openrisc/helper.h |4 + target-openrisc/sys_helper.c | 287 + target-openrisc/translate.c |