faults.hh (6048:65a321a3a691) | faults.hh (6049:595b5016f6d5) |
---|---|
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 * --- 404 unchanged lines hidden (view full) --- 413 public: 414 InitInterrupt(uint8_t _vector) : 415 X86Interrupt("INIT Interrupt", "#INIT", _vector) 416 {} 417 418 void invoke(ThreadContext * tc); 419 }; 420 | 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 * --- 404 unchanged lines hidden (view full) --- 413 public: 414 InitInterrupt(uint8_t _vector) : 415 X86Interrupt("INIT Interrupt", "#INIT", _vector) 416 {} 417 418 void invoke(ThreadContext * tc); 419 }; 420 |
421 class StartupInterrupt : public X86Interrupt 422 { 423 public: 424 StartupInterrupt(uint8_t _vector) : 425 X86Interrupt("Startup Interrupt", "#SIPI", _vector) 426 {} 427 428 void invoke(ThreadContext * tc); 429 }; 430 |
|
421 class SoftwareInterrupt : public X86Interrupt 422 { 423 public: 424 SoftwareInterrupt(uint8_t _vector) : 425 X86Interrupt("Software Interrupt", "#INTR", _vector) 426 {} 427 428 bool isSoft() 429 { 430 return true; 431 } 432 }; 433}; 434 435#endif // __ARCH_X86_FAULTS_HH__ | 431 class SoftwareInterrupt : public X86Interrupt 432 { 433 public: 434 SoftwareInterrupt(uint8_t _vector) : 435 X86Interrupt("Software Interrupt", "#INTR", _vector) 436 {} 437 438 bool isSoft() 439 { 440 return true; 441 } 442 }; 443}; 444 445#endif // __ARCH_X86_FAULTS_HH__ |