faults.hh (5681:54c2d92f601e) | faults.hh (5684:3995b7c2ae86) |
---|---|
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 * --- 77 unchanged lines hidden (view full) --- 86 { 87 return true; 88 } 89 90 virtual const char * mnemonic() const 91 { 92 return mnem; 93 } | 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 * --- 77 unchanged lines hidden (view full) --- 86 { 87 return true; 88 } 89 90 virtual const char * mnemonic() const 91 { 92 return mnem; 93 } |
94 95 void 96 invoke(ThreadContext * tc) 97 { 98 panic("Unimplemented fault %s.\n", name()); 99 } |
|
94 }; 95 96 // Base class for x86 faults which behave as if the underlying instruction 97 // didn't happen. 98 class X86Fault : public X86FaultBase 99 { 100 protected: 101 X86Fault(const char * name, const char * mnem, --- 314 unchanged lines hidden --- | 100 }; 101 102 // Base class for x86 faults which behave as if the underlying instruction 103 // didn't happen. 104 class X86Fault : public X86FaultBase 105 { 106 protected: 107 X86Fault(const char * name, const char * mnem, --- 314 unchanged lines hidden --- |