faults.hh (6023:47b4fcb10c11) faults.hh (6048:65a321a3a691)
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 *

--- 396 unchanged lines hidden (view full) ---

405 public:
406 SystemManagementInterrupt() :
407 X86Interrupt("System Management Interrupt", "#SMI", 0)
408 {}
409 };
410
411 class InitInterrupt : public X86Interrupt
412 {
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 *

--- 396 unchanged lines hidden (view full) ---

405 public:
406 SystemManagementInterrupt() :
407 X86Interrupt("System Management Interrupt", "#SMI", 0)
408 {}
409 };
410
411 class InitInterrupt : public X86Interrupt
412 {
413 uint8_t vector;
414 public:
415 InitInterrupt(uint8_t _vector) :
416 X86Interrupt("INIT Interrupt", "#INIT", _vector)
417 {}
413 public:
414 InitInterrupt(uint8_t _vector) :
415 X86Interrupt("INIT Interrupt", "#INIT", _vector)
416 {}
417
418 void invoke(ThreadContext * tc);
418 };
419
420 class SoftwareInterrupt : public X86Interrupt
421 {
422 public:
423 SoftwareInterrupt(uint8_t _vector) :
424 X86Interrupt("Software Interrupt", "#INTR", _vector)
425 {}
426
427 bool isSoft()
428 {
429 return true;
430 }
431 };
432};
433
434#endif // __ARCH_X86_FAULTS_HH__
419 };
420
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__