Deleted Added
sdiff udiff text old ( 4183:3d19c1d46946 ) 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;

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

24 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
26 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27 *
28 * Authors: Gabe Black
29 * Kevin Lim
30 */
31
32#include "arch/alpha/faults.hh"
33#include "cpu/thread_context.hh"
34#include "cpu/base.hh"
35#include "base/trace.hh"
36#if FULL_SYSTEM
37#include "arch/alpha/ev5.hh"
38#else
39#include "sim/process.hh"
40#include "mem/page_table.hh"
41#endif
42
43namespace AlphaISA
44{
45
46FaultName MachineCheckFault::_name = "mchk";

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

78FaultName DtbAcvFault::_name = "dfault";
79FaultVect DtbAcvFault::_vect = 0x0381;
80FaultStat DtbAcvFault::_count;
81
82FaultName DtbAlignmentFault::_name = "unalign";
83FaultVect DtbAlignmentFault::_vect = 0x0301;
84FaultStat DtbAlignmentFault::_count;
85
86FaultName ItbMissFault::_name = "itbmiss";
87FaultVect ItbMissFault::_vect = 0x0181;
88FaultStat ItbMissFault::_count;
89
90FaultName ItbPageFault::_name = "itbmiss";
91FaultVect ItbPageFault::_vect = 0x0181;
92FaultStat ItbPageFault::_count;
93
94FaultName ItbAcvFault::_name = "iaccvio";
95FaultVect ItbAcvFault::_vect = 0x0081;
96FaultStat ItbAcvFault::_count;
97

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

171 tc->setMiscRegNoEffect(AlphaISA::IPR_IFAULT_VA_FORM,
172 tc->readMiscRegNoEffect(AlphaISA::IPR_IVPTBR) |
173 (AlphaISA::VAddr(pc).vpn() << 3));
174 }
175
176 AlphaFault::invoke(tc);
177}
178
179#endif
180
181} // namespace AlphaISA
182