faults.hh (2800:18a615ca6e19) | faults.hh (4183:3d19c1d46946) |
---|---|
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; --- 62 unchanged lines hidden (view full) --- 71 UnimpFault(std::string _str) 72 : panicStr(_str) 73 { } 74 75 FaultName name() {return "Unimplemented simulator feature";} 76 void invoke(ThreadContext * tc); 77}; 78 | 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; --- 62 unchanged lines hidden (view full) --- 71 UnimpFault(std::string _str) 72 : panicStr(_str) 73 { } 74 75 FaultName name() {return "Unimplemented simulator feature";} 76 void invoke(ThreadContext * tc); 77}; 78 |
79#if !FULL_SYSTEM 80class PageTableFault : public FaultBase 81{ 82 private: 83 Addr vaddr; 84 public: 85 FaultName name() {return "M5 page table fault";} 86 PageTableFault(Addr va) : vaddr(va) {} 87 void invoke(ThreadContext * tc); 88}; 89#endif 90 |
|
79#endif // __FAULTS_HH__ | 91#endif // __FAULTS_HH__ |