On Mar 2, 2013, at 7:45 AM, Peter Maydell wrote: > On 2 March 2013 15:18, Sanjay Lal <sanj...@kymasys.com> wrote: >> + /* If we have an interrupt but the guest is not ready to receive an >> + * interrupt, request an interrupt window exit. This will >> + * cause a return to userspace as soon as the guest is ready to >> + * receive interrupts. >> + */ >> + if ((env->interrupt_request & CPU_INTERRUPT_HARD)) { >> + run->request_interrupt_window = 1; >> + } else { >> + run->request_interrupt_window = 0; >> + } >> +} > > Does MIPS really need x86-style fully-synchronised delivery > of interrupts from userspace to the kernel? Don't copy x86 > unless you know it's really what your architecture requires. > > -- PMM >
Sorry my bad, this was from an older snapshot of the code. The whole request_interrupt_window code has been deprecated and will be removed from the v2 of patch set. Regards Sanjay