faults.hh (7681:61e31534522d) | faults.hh (7714:32496de51017) |
---|---|
1/* 2 * Copyright (c) 2007 The Hewlett-Packard Development Company 3 * All rights reserved. 4 * 5 * The license below extends only to copyright in the software and shall 6 * not be construed as granting a license to any other intellectual 7 * property including but not limited to intellectual property relating 8 * to a hardware implementation of the functionality of the software --- 146 unchanged lines hidden (view full) --- 155 156 void invoke(ThreadContext * tc, 157 StaticInstPtr inst = StaticInst::nullStaticInstPtr) 158 { 159 panic("Unimplemented instruction!"); 160 } 161 }; 162 | 1/* 2 * Copyright (c) 2007 The Hewlett-Packard Development Company 3 * All rights reserved. 4 * 5 * The license below extends only to copyright in the software and shall 6 * not be construed as granting a license to any other intellectual 7 * property including but not limited to intellectual property relating 8 * to a hardware implementation of the functionality of the software --- 146 unchanged lines hidden (view full) --- 155 156 void invoke(ThreadContext * tc, 157 StaticInstPtr inst = StaticInst::nullStaticInstPtr) 158 { 159 panic("Unimplemented instruction!"); 160 } 161 }; 162 |
163 static inline Fault genMachineCheckFault() 164 { 165 panic("Machine check fault not implemented in x86!\n"); 166 } 167 | |
168 // Below is a summary of the interrupt/exception information in the 169 // architecture manuals. 170 171 // Class | Type | vector | Cause | mnem 172 //------------------------------------------------------------------------ 173 //Contrib Fault 0 Divide-by-Zero-Error #DE 174 //Benign Either 1 Debug #DB 175 //Benign Interrupt 2 Non-Maskable-Interrupt #NMI --- 187 unchanged lines hidden (view full) --- 363 class MachineCheck : public X86Abort 364 { 365 public: 366 MachineCheck() : 367 X86Abort("Machine-Check", "#MC", 18) 368 {} 369 }; 370 | 163 // Below is a summary of the interrupt/exception information in the 164 // architecture manuals. 165 166 // Class | Type | vector | Cause | mnem 167 //------------------------------------------------------------------------ 168 //Contrib Fault 0 Divide-by-Zero-Error #DE 169 //Benign Either 1 Debug #DB 170 //Benign Interrupt 2 Non-Maskable-Interrupt #NMI --- 187 unchanged lines hidden (view full) --- 358 class MachineCheck : public X86Abort 359 { 360 public: 361 MachineCheck() : 362 X86Abort("Machine-Check", "#MC", 18) 363 {} 364 }; 365 |
366 static inline Fault genMachineCheckFault() 367 { 368 return new MachineCheck; 369 } 370 |
|
371 class SIMDFloatingPointFault : public X86Fault 372 { 373 public: 374 SIMDFloatingPointFault() : 375 X86Fault("SIMD Floating-Point", "#XF", 19) 376 {} 377 }; 378 --- 61 unchanged lines hidden --- | 371 class SIMDFloatingPointFault : public X86Fault 372 { 373 public: 374 SIMDFloatingPointFault() : 375 X86Fault("SIMD Floating-Point", "#XF", 19) 376 {} 377 }; 378 --- 61 unchanged lines hidden --- |