From 33ac7f1630d8655b92b6a53d59886fca2b64da10 Mon Sep 17 00:00:00 2001 From: ths Date: Thu, 31 May 2007 16:18:58 +0000 Subject: Don't kill the registered irqs on reset. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2903 c046a42c-6fe2-441c-8c8c-71466251a162 --- target-mips/cpu.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'target-mips') diff --git a/target-mips/cpu.h b/target-mips/cpu.h index 9fa0ca8c6c..6dff8ef557 100644 --- a/target-mips/cpu.h +++ b/target-mips/cpu.h @@ -284,10 +284,8 @@ struct CPUMIPSState { int CCRes; /* Cycle count resolution/divisor */ int Status_rw_bitmask; /* Read/write bits in CP0_Status */ -#if defined(CONFIG_USER_ONLY) +#ifdef CONFIG_USER_ONLY target_ulong tls_value; -#else - void *irq[8]; #endif CPU_COMMON @@ -298,6 +296,9 @@ struct CPUMIPSState { const char *initrd_filename; mips_def_t *cpu_model; +#ifndef CONFIG_USER_ONLY + void *irq[8]; +#endif struct QEMUTimer *timer; /* Internal timer */ }; -- cgit v1.2.1