/[qemu]/qemu/hw/i8259.c
ViewVC logotype

Diff of /qemu/hw/i8259.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.13 by bellard, Wed Sep 29 21:55:52 2004 UTC revision 1.14 by bellard, Mon Jan 3 23:28:51 2005 UTC
# Line 197  int cpu_get_pic_interrupt(CPUState *env) Line 197  int cpu_get_pic_interrupt(CPUState *env)
197  {  {
198      int irq, irq2, intno;      int irq, irq2, intno;
199    
200    #ifdef TARGET_X86_64
201        intno = apic_get_interrupt(env);
202        if (intno >= 0) {
203            /* set irq request if a PIC irq is still pending */
204            /* XXX: improve that */
205            pic_update_irq();
206            return intno;
207        }
208    #endif
209      /* read the irq from the PIC */      /* read the irq from the PIC */
210    
211      irq = pic_get_irq(&pics[0]);      irq = pic_get_irq(&pics[0]);

Legend:
Removed from v.1.13  
changed lines
  Added in v.1.14

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26