faults.hh (5654:340254de2031) | faults.hh (5655:74f76480407f) |
---|---|
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 * --- 201 unchanged lines hidden (view full) --- 210 public: 211 DebugException() : 212 X86FaultBase("Debug", "#DB") 213 {} 214 }; 215 216 class NonMaskableInterrupt : public X86Interrupt 217 { | 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 * --- 201 unchanged lines hidden (view full) --- 210 public: 211 DebugException() : 212 X86FaultBase("Debug", "#DB") 213 {} 214 }; 215 216 class NonMaskableInterrupt : public X86Interrupt 217 { |
218 uint8_t vector; |
|
218 public: | 219 public: |
219 NonMaskableInterrupt() : 220 X86Interrupt("Non-Maskable-Interrupt", "#NMI") | 220 NonMaskableInterrupt(uint8_t _vector) : 221 X86Interrupt("Non Maskable Interrupt", "#NMI"), vector(_vector) |
221 {} 222 }; 223 224 class Breakpoint : public X86Trap 225 { 226 public: 227 Breakpoint() : 228 X86Trap("Breakpoint", "#BP") --- 124 unchanged lines hidden (view full) --- 353 { 354 uint8_t vector; 355 public: 356 ExternalInterrupt(uint8_t _vector) : 357 X86Interrupt("External Interrupt", "#INTR"), vector(_vector) 358 {} 359 }; 360 | 222 {} 223 }; 224 225 class Breakpoint : public X86Trap 226 { 227 public: 228 Breakpoint() : 229 X86Trap("Breakpoint", "#BP") --- 124 unchanged lines hidden (view full) --- 354 { 355 uint8_t vector; 356 public: 357 ExternalInterrupt(uint8_t _vector) : 358 X86Interrupt("External Interrupt", "#INTR"), vector(_vector) 359 {} 360 }; 361 |
362 class SystemManagementInterrupt : public X86Interrupt 363 { 364 public: 365 SystemManagementInterrupt() : 366 X86Interrupt("System Management Interrupt", "#SMI") 367 {} 368 }; 369 370 class InitInterrupt : public X86Interrupt 371 { 372 uint8_t vector; 373 public: 374 InitInterrupt(uint8_t _vector) : 375 X86Interrupt("INIT Interrupt", "#INIT"), vector(_vector) 376 {} 377 }; 378 |
|
361 class SoftwareInterrupt : public X86Interrupt 362 { 363 public: 364 SoftwareInterrupt() : 365 X86Interrupt("Software Interrupt", "INTn") 366 {} 367 }; 368 --- 30 unchanged lines hidden --- | 379 class SoftwareInterrupt : public X86Interrupt 380 { 381 public: 382 SoftwareInterrupt() : 383 X86Interrupt("Software Interrupt", "INTn") 384 {} 385 }; 386 --- 30 unchanged lines hidden --- |