int64_helper.c (74e31681ba05ed1876818df30c581bc530554fb3) int64_helper.c (b597eedcce0de84ff573a6be2cd6a89c7fa0fd8e)
1/*
2 * Sparc64 interrupt helpers
3 *
4 * Copyright (c) 2003-2005 Fabrice Bellard
5 *
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either

--- 121 unchanged lines hidden (view full) ---

130
131void sparc_cpu_do_interrupt(CPUState *cs)
132{
133 SPARCCPU *cpu = SPARC_CPU(cs);
134 CPUSPARCState *env = &cpu->env;
135 int intno = cs->exception_index;
136 trap_state *tsptr;
137
1/*
2 * Sparc64 interrupt helpers
3 *
4 * Copyright (c) 2003-2005 Fabrice Bellard
5 *
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either

--- 121 unchanged lines hidden (view full) ---

130
131void sparc_cpu_do_interrupt(CPUState *cs)
132{
133 SPARCCPU *cpu = SPARC_CPU(cs);
134 CPUSPARCState *env = &cpu->env;
135 int intno = cs->exception_index;
136 trap_state *tsptr;
137
138 /* Compute PSR before exposing state. */
139 if (env->cc_op != CC_OP_FLAGS) {
140 cpu_get_psr(env);
141 }
142
143#ifdef DEBUG_PCALL
144 if (qemu_loglevel_mask(CPU_LOG_INT)) {
145 static int count;
146 const char *name;
147
148 if (intno < 0 || intno >= 0x1ff) {
149 name = "Unknown";
150 } else if (intno >= 0x180) {

--- 154 unchanged lines hidden ---
138#ifdef DEBUG_PCALL
139 if (qemu_loglevel_mask(CPU_LOG_INT)) {
140 static int count;
141 const char *name;
142
143 if (intno < 0 || intno >= 0x1ff) {
144 name = "Unknown";
145 } else if (intno >= 0x180) {

--- 154 unchanged lines hidden ---