[Qemu-devel] Re: [PATCH] target-sh4: move intr_at_halt out of cpu_halted()

2011-02-24 Thread Aurelien Jarno
On Thu, Feb 24, 2011 at 01:05:02PM +0100, Paolo Bonzini wrote: > On 02/24/2011 12:54 PM, Aurelien Jarno wrote: > >All targets except SH4 have the same cpu_halted() routine, and it has > >only one caller. It is therefore a good candidate for inlining. > > > >The difference is the handling of the int

[Qemu-devel] Re: [PATCH] target-sh4: move intr_at_halt out of cpu_halted()

2011-02-24 Thread Paolo Bonzini
On 02/24/2011 12:54 PM, Aurelien Jarno wrote: All targets except SH4 have the same cpu_halted() routine, and it has only one caller. It is therefore a good candidate for inlining. The difference is the handling of the intr_at_halt, which is necessary to ignore SR.BL when sleeping. Move intr_at_h