aboutsummaryrefslogtreecommitdiff
path: root/hw/isa
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2017-04-05 10:11:36 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2017-04-05 17:23:52 +0200
commit8c9f42f3cf3598e8bb612b3f81cd12632efd3ca4 (patch)
tree1f7dc7f52d8ab79d2e2d38706e56bb23f7541f31 /hw/isa
parent87cc4c61020addea6a001b94b662596b1896d1b3 (diff)
downloadqemu-8c9f42f3cf3598e8bb612b3f81cd12632efd3ca4.zip
qemu-8c9f42f3cf3598e8bb612b3f81cd12632efd3ca4.tar.gz
qemu-8c9f42f3cf3598e8bb612b3f81cd12632efd3ca4.tar.bz2
tco: do not generate an NMI
This behavior is not indicated in the datasheet and can confuse the OS. The TCO can trap NMIs from SERR# or IOCHK# and convert them to SMIs; but any other TCO event is either delivered as an SMI or completely disabled. Reviewed-by: Laszlo Ersek <lersek@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/isa')
-rw-r--r--hw/isa/lpc_ich9.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/hw/isa/lpc_ich9.c b/hw/isa/lpc_ich9.c
index 59930dd..a0866c3 100644
--- a/hw/isa/lpc_ich9.c
+++ b/hw/isa/lpc_ich9.c
@@ -312,11 +312,6 @@ void ich9_generate_smi(void)
cpu_interrupt(first_cpu, CPU_INTERRUPT_SMI);
}
-void ich9_generate_nmi(void)
-{
- cpu_interrupt(first_cpu, CPU_INTERRUPT_NMI);
-}
-
static int ich9_lpc_sci_irq(ICH9LPCState *lpc)
{
switch (lpc->d.config[ICH9_LPC_ACPI_CTRL] &