sparc: Move the interrupt types out of isa_traits.hh into interrupts.hh.
Those types aren't generic or used outside of SPARC. Change-Id: I9bb154920a9625f12388c3d295dc933ab51fadde Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/18469 Reviewed-by: Gabe Black <gabeblack@google.com> Maintainer: Gabe Black <gabeblack@google.com> Tested-by: kokoro <noreply+kokoro@google.com>
This commit is contained in:
@@ -43,6 +43,18 @@
|
||||
namespace SparcISA
|
||||
{
|
||||
|
||||
enum InterruptTypes
|
||||
{
|
||||
IT_TRAP_LEVEL_ZERO,
|
||||
IT_HINTP,
|
||||
IT_INT_VEC,
|
||||
IT_CPU_MONDO,
|
||||
IT_DEV_MONDO,
|
||||
IT_RES_ERROR,
|
||||
IT_SOFT_INT,
|
||||
NumInterruptTypes
|
||||
};
|
||||
|
||||
class Interrupts : public SimObject
|
||||
{
|
||||
private:
|
||||
|
||||
@@ -61,18 +61,6 @@ const Addr VAddrAMask = ULL(0xFFFFFFFF);
|
||||
const Addr PAddrImplMask = ULL(0x000000FFFFFFFFFF);
|
||||
const Addr BytesInPageMask = ULL(0x1FFF);
|
||||
|
||||
enum InterruptTypes
|
||||
{
|
||||
IT_TRAP_LEVEL_ZERO,
|
||||
IT_HINTP,
|
||||
IT_INT_VEC,
|
||||
IT_CPU_MONDO,
|
||||
IT_DEV_MONDO,
|
||||
IT_RES_ERROR,
|
||||
IT_SOFT_INT,
|
||||
NumInterruptTypes
|
||||
};
|
||||
|
||||
// Memory accesses cannot be unaligned
|
||||
const bool HasUnalignedMemAcc = false;
|
||||
|
||||
|
||||
@@ -34,6 +34,7 @@
|
||||
|
||||
#include "arch/sparc/asi.hh"
|
||||
#include "arch/sparc/faults.hh"
|
||||
#include "arch/sparc/interrupts.hh"
|
||||
#include "arch/sparc/registers.hh"
|
||||
#include "base/bitfield.hh"
|
||||
#include "base/compiler.hh"
|
||||
|
||||
@@ -26,6 +26,7 @@
|
||||
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#include "arch/sparc/interrupts.hh"
|
||||
#include "arch/sparc/isa.hh"
|
||||
#include "arch/sparc/kernel_stats.hh"
|
||||
#include "arch/sparc/registers.hh"
|
||||
|
||||
@@ -40,6 +40,7 @@
|
||||
#include <cstring>
|
||||
|
||||
#include "arch/sparc/faults.hh"
|
||||
#include "arch/sparc/interrupts.hh"
|
||||
#include "arch/sparc/isa_traits.hh"
|
||||
#include "base/bitfield.hh"
|
||||
#include "base/trace.hh"
|
||||
|
||||
Reference in New Issue
Block a user