mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-08 02:03:56 -06:00
ppc: Remove unused irq_inputs
Signed-off-by: Cédric Le Goater <clg@kaod.org> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Message-Id: <20220705145814.461723-6-clg@kaod.org> Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>
This commit is contained in:
parent
5e66cd0c78
commit
285c471f82
2 changed files with 0 additions and 6 deletions
|
@ -1184,7 +1184,6 @@ struct CPUArchState {
|
||||||
* by recent Book3s compatible CPUs (POWER7 and newer).
|
* by recent Book3s compatible CPUs (POWER7 and newer).
|
||||||
*/
|
*/
|
||||||
uint32_t irq_input_state;
|
uint32_t irq_input_state;
|
||||||
void **irq_inputs;
|
|
||||||
|
|
||||||
target_ulong excp_vectors[POWERPC_EXCP_NB]; /* Exception vectors */
|
target_ulong excp_vectors[POWERPC_EXCP_NB]; /* Exception vectors */
|
||||||
target_ulong excp_prefix;
|
target_ulong excp_prefix;
|
||||||
|
|
|
@ -6678,7 +6678,6 @@ static void init_ppc_proc(PowerPCCPU *cpu)
|
||||||
#if !defined(CONFIG_USER_ONLY)
|
#if !defined(CONFIG_USER_ONLY)
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
env->irq_inputs = NULL;
|
|
||||||
/* Set all exception vectors to an invalid address */
|
/* Set all exception vectors to an invalid address */
|
||||||
for (i = 0; i < POWERPC_EXCP_NB; i++) {
|
for (i = 0; i < POWERPC_EXCP_NB; i++) {
|
||||||
env->excp_vectors[i] = (target_ulong)(-1ULL);
|
env->excp_vectors[i] = (target_ulong)(-1ULL);
|
||||||
|
@ -6808,10 +6807,6 @@ static void init_ppc_proc(PowerPCCPU *cpu)
|
||||||
/* Pre-compute some useful values */
|
/* Pre-compute some useful values */
|
||||||
env->tlb_per_way = env->nb_tlb / env->nb_ways;
|
env->tlb_per_way = env->nb_tlb / env->nb_ways;
|
||||||
}
|
}
|
||||||
if (env->irq_inputs == NULL) {
|
|
||||||
warn_report("no internal IRQ controller registered."
|
|
||||||
" Attempt QEMU to crash very soon !");
|
|
||||||
}
|
|
||||||
#endif
|
#endif
|
||||||
if (env->check_pow == NULL) {
|
if (env->check_pow == NULL) {
|
||||||
warn_report("no power management check handler registered."
|
warn_report("no power management check handler registered."
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue