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