Deleted Added
sdiff udiff text old ( 8568:83f728db3332 ) new ( 8570:ea93f18eead8 )
full compact
1/*
2 * Copyright (c) 2003-2005 The Regents of The University of Michigan
3 * Copyright (c) 2007 MIPS Technologies, Inc.
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions are
8 * met: redistributions of source code must retain the above copyright

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

88class NonMaskableInterrupt : public MipsFault<NonMaskableInterrupt>
89{
90 public:
91 bool isNonMaskableInterrupt() {return true;}
92};
93
94class AddressErrorFault : public MipsFault<AddressErrorFault>
95{
96 protected:
97 Addr vaddr;
98 bool store;
99 public:
100 AddressErrorFault(Addr _vaddr, bool _store) : vaddr(_vaddr), store(_store)
101 {}
102#if FULL_SYSTEM
103 void invoke(ThreadContext * tc,
104 StaticInstPtr inst = StaticInst::nullStaticInstPtr);
105#endif
106
107};
108
109static inline Fault genMachineCheckFault()
110{
111 return new MachineCheckFault;
112}
113
114class ResetFault : public MipsFault<ResetFault>
115{
116 public:

--- 182 unchanged lines hidden ---