Skip to contentSkip to conversation

[4206] x86: Raise inter-processor NMI and SMI

Qemu-devel Aurelien Jarno 1 participant 1 message Apr 13, 2008

lore
Share & tools
lore
#0 lore raw

Revision: 4206

          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=4206
Author:   aurel32
Date:     2008-04-13 16:08:23 +0000 (Sun, 13 Apr 2008)

Log Message:
-----------
x86: Raise inter-processor NMI and SMI

(Jan Kiszka)

Modified Paths:
--------------
trunk/hw/apic.c

Modified: trunk/hw/apic.c
===================================================================

hw/apic.c +7 -1
@@ -216,8 +216,14 @@
             break;
 
         case APIC_DM_SMI:
+            foreach_apic(apic_iter, deliver_bitmask,
+                cpu_interrupt(apic_iter->cpu_env, CPU_INTERRUPT_SMI) );
+            return;
+
         case APIC_DM_NMI:
-            break;
+            foreach_apic(apic_iter, deliver_bitmask,
+                cpu_interrupt(apic_iter->cpu_env, CPU_INTERRUPT_NMI) );
+            return;
 
         case APIC_DM_INIT:
             /* normal INIT IPI sent to processors */