Deleted Added
sdiff udiff text old ( 4695:a63378aed062 ) new ( 4997:e7380529bd2d )
full compact
1/*
2 * Copyright (c) 2003-2005 The Regents of The University of Michigan
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

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

27 *
28 * Authors: Gabe Black
29 * Kevin Lim
30 */
31
32#ifndef __SPARC_FAULTS_HH__
33#define __SPARC_FAULTS_HH__
34
35#include "sim/faults.hh"
36
37// The design of the "name" and "vect" functions is in sim/faults.hh
38
39namespace SparcISA
40{
41
42typedef uint32_t TrapType;
43typedef uint32_t FaultPriority;
44
45class SparcFaultBase : public FaultBase
46{
47 public:
48 enum PrivilegeLevel
49 {
50 U, User = U,
51 P, Privileged = P,
52 H, Hyperprivileged = H,

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

194
195class InterruptVector : public SparcFault<InterruptVector> {};
196
197class PAWatchpoint : public SparcFault<PAWatchpoint> {};
198
199class VAWatchpoint : public SparcFault<VAWatchpoint> {};
200
201class FastInstructionAccessMMUMiss :
202 public SparcFault<FastInstructionAccessMMUMiss> {};
203
204class FastDataAccessMMUMiss : public SparcFault<FastDataAccessMMUMiss> {};
205
206class FastDataAccessProtection : public SparcFault<FastDataAccessProtection> {};
207
208class InstructionBreakpoint : public SparcFault<InstructionBreakpoint> {};
209
210class CpuMondo : public SparcFault<CpuMondo> {};
211
212class DevMondo : public SparcFault<DevMondo> {};

--- 59 unchanged lines hidden ---