faults.hh (4365:f780e9fad124) | faults.hh (4729:99800622a6e8) |
---|---|
1/* 2 * Copyright (c) 2007 The Hewlett-Packard Development Company 3 * All rights reserved. 4 * 5 * Redistribution and use of this software in source and binary forms, 6 * with or without modification, are permitted provided that the 7 * following conditions are met: 8 * --- 52 unchanged lines hidden (view full) --- 61#include "base/misc.hh" 62#include "sim/faults.hh" 63 64namespace X86ISA 65{ 66 class X86Fault : public FaultBase 67 { 68 protected: | 1/* 2 * Copyright (c) 2007 The Hewlett-Packard Development Company 3 * All rights reserved. 4 * 5 * Redistribution and use of this software in source and binary forms, 6 * with or without modification, are permitted provided that the 7 * following conditions are met: 8 * --- 52 unchanged lines hidden (view full) --- 61#include "base/misc.hh" 62#include "sim/faults.hh" 63 64namespace X86ISA 65{ 66 class X86Fault : public FaultBase 67 { 68 protected: |
69 const char * name() | 69 const char * name() const |
70 { 71 return "generic_x86_fault"; 72 } 73 74 void invoke(ThreadContext * tc) 75 { 76 panic("X86 faults are not implemented!"); 77 } 78 }; 79 80 class UnimpInstFault : public FaultBase 81 { 82 public: | 70 { 71 return "generic_x86_fault"; 72 } 73 74 void invoke(ThreadContext * tc) 75 { 76 panic("X86 faults are not implemented!"); 77 } 78 }; 79 80 class UnimpInstFault : public FaultBase 81 { 82 public: |
83 const char * name() | 83 const char * name() const |
84 { 85 return "unimplemented_micro"; 86 } 87 88 void invoke(ThreadContext * tc) 89 { 90 panic("Unimplemented instruction!"); 91 } --- 19 unchanged lines hidden --- | 84 { 85 return "unimplemented_micro"; 86 } 87 88 void invoke(ThreadContext * tc) 89 { 90 panic("Unimplemented instruction!"); 91 } --- 19 unchanged lines hidden --- |