mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 01:33:56 -06:00
i386: fix isapc machine
- cirrus vga: enable graphic console - pc: don't use apic for interrupts on ISA machine Signed-off-by: Aurelien Jarno <aurelien@aurel32.net> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5026 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
ca1c9e154b
commit
d552947107
2 changed files with 10 additions and 4 deletions
12
hw/pc.c
12
hw/pc.c
|
@ -121,10 +121,14 @@ static void pic_irq_request(void *opaque, int irq, int level)
|
|||
if (!level)
|
||||
return;
|
||||
|
||||
while (env) {
|
||||
if (apic_accept_pic_intr(env))
|
||||
apic_local_deliver(env, APIC_LINT0);
|
||||
env = env->next_cpu;
|
||||
if (env->apic_state) {
|
||||
while (env) {
|
||||
if (apic_accept_pic_intr(env))
|
||||
apic_local_deliver(env, APIC_LINT0);
|
||||
env = env->next_cpu;
|
||||
}
|
||||
} else {
|
||||
cpu_interrupt(env, CPU_INTERRUPT_HARD);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue