Skip to content
Snippets Groups Projects
Commit 4f7631cf authored by Fabrice Bellard's avatar Fabrice Bellard
Browse files

initial APIC support (only for x86_64 target now)

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1185 c046a42c-6fe2-441c-8c8c-71466251a162
parent 62a46c61
No related branches found
No related tags found
No related merge requests found
......@@ -197,6 +197,15 @@ int cpu_get_pic_interrupt(CPUState *env)
{
int irq, irq2, intno;
#ifdef TARGET_X86_64
intno = apic_get_interrupt(env);
if (intno >= 0) {
/* set irq request if a PIC irq is still pending */
/* XXX: improve that */
pic_update_irq();
return intno;
}
#endif
/* read the irq from the PIC */
irq = pic_get_irq(&pics[0]);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment