mirror of
https://github.com/ish-app/ish.git
synced 2026-01-25 14:06:40 +00:00
16 lines
493 B
C
16 lines
493 B
C
// Intel standard interrupts
|
|
// Any interrupt not handled specially becomes a SIGSEGV
|
|
#define INT_NONE -1
|
|
#define INT_DIV 0
|
|
#define INT_DEBUG 1
|
|
#define INT_NMI 2
|
|
#define INT_BREAKPOINT 3
|
|
#define INT_OVERFLOW 4
|
|
#define INT_BOUND 5
|
|
#define INT_UNDEFINED 6
|
|
#define INT_FPU 7 // do not try to use the fpu. instead, try to realize the truth: there is no fpu.
|
|
#define INT_DOUBLE 8 // interrupt during interrupt, i.e. interruptception
|
|
#define INT_GPF 13
|
|
#define INT_TIMER 32
|
|
#define INT_SYSCALL 0x80
|