faults.hh (4139:385be08269d7) | faults.hh (4150:642840fd4652) |
---|---|
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 * --- 56 unchanged lines hidden (view full) --- 65{ 66 class X86Fault : public FaultBase 67 { 68 void invoke(ThreadContext * tc) 69 { 70 panic("X86 faults are not implemented!"); 71 } 72 }; | 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 * --- 56 unchanged lines hidden (view full) --- 65{ 66 class X86Fault : public FaultBase 67 { 68 void invoke(ThreadContext * tc) 69 { 70 panic("X86 faults are not implemented!"); 71 } 72 }; |
73 74 static inline Fault genPageTableFault(Addr va) 75 { 76 panic("Page table fault not implemented in x86!\n"); 77 } 78 79 static inline Fault genMachineCheckFault() 80 { 81 panic("Machine check fault not implemented in x86!\n"); 82 } 83 84 static inline Fault genAlignmentFault() 85 { 86 panic("Alignment fault not implemented (or for the most part existant) in x86!\n"); 87 } |
|
73}; 74 75#endif // __ARCH_X86_FAULTS_HH__ | 88}; 89 90#endif // __ARCH_X86_FAULTS_HH__ |