faults.hh (8569:498d3aacd292) faults.hh (8589:d0772caaeacd)
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;

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

77{
78 public:
79 virtual FaultName name() const { return "Re-execution fault";}
80 ReExec() {}
81 void invoke(ThreadContext *tc,
82 StaticInstPtr inst = StaticInst::nullStaticInstPtr);
83};
84
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;

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

77{
78 public:
79 virtual FaultName name() const { return "Re-execution fault";}
80 ReExec() {}
81 void invoke(ThreadContext *tc,
82 StaticInstPtr inst = StaticInst::nullStaticInstPtr);
83};
84
85
86#if !FULL_SYSTEM
87class GenericPageTableFault : public FaultBase
88{
89 private:
90 Addr vaddr;
91 public:
92 FaultName name() const {return "Generic page table fault";}
93 GenericPageTableFault(Addr va) : vaddr(va) {}
94 void invoke(ThreadContext * tc,

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

100 private:
101 Addr vaddr;
102 public:
103 FaultName name() const {return "Generic alignment fault";}
104 GenericAlignmentFault(Addr va) : vaddr(va) {}
105 void invoke(ThreadContext * tc,
106 StaticInstPtr inst = StaticInst::nullStaticInstPtr);
107};
85class GenericPageTableFault : public FaultBase
86{
87 private:
88 Addr vaddr;
89 public:
90 FaultName name() const {return "Generic page table fault";}
91 GenericPageTableFault(Addr va) : vaddr(va) {}
92 void invoke(ThreadContext * tc,

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

98 private:
99 Addr vaddr;
100 public:
101 FaultName name() const {return "Generic alignment fault";}
102 GenericAlignmentFault(Addr va) : vaddr(va) {}
103 void invoke(ThreadContext * tc,
104 StaticInstPtr inst = StaticInst::nullStaticInstPtr);
105};
108#endif
109
110#endif // __FAULTS_HH__
106
107#endif // __FAULTS_HH__