UNIX xv6 (rev8, 9/1/15)
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros
Macros
traps.h File Reference

Go to the source code of this file.

Macros

#define T_DIVIDE   0
 
#define T_DEBUG   1
 
#define T_NMI   2
 
#define T_BRKPT   3
 
#define T_OFLOW   4
 
#define T_BOUND   5
 
#define T_ILLOP   6
 
#define T_DEVICE   7
 
#define T_DBLFLT   8
 
#define T_TSS   10
 
#define T_SEGNP   11
 
#define T_STACK   12
 
#define T_GPFLT   13
 
#define T_PGFLT   14
 
#define T_FPERR   16
 
#define T_ALIGN   17
 
#define T_MCHK   18
 
#define T_SIMDERR   19
 
#define T_SYSCALL   64
 
#define T_DEFAULT   500
 
#define T_IRQ0   32
 
#define IRQ_TIMER   0
 
#define IRQ_KBD   1
 
#define IRQ_COM1   4
 
#define IRQ_IDE   14
 
#define IRQ_ERROR   19
 
#define IRQ_SPURIOUS   31
 

Macro Definition Documentation

#define IRQ_COM1   4

Definition at line 34 of file traps.h.

#define IRQ_ERROR   19

Definition at line 36 of file traps.h.

#define IRQ_IDE   14

Definition at line 35 of file traps.h.

#define IRQ_KBD   1

Definition at line 33 of file traps.h.

#define IRQ_SPURIOUS   31

Definition at line 37 of file traps.h.

#define IRQ_TIMER   0

Definition at line 32 of file traps.h.

#define T_ALIGN   17

Definition at line 21 of file traps.h.

#define T_BOUND   5

Definition at line 9 of file traps.h.

#define T_BRKPT   3

Definition at line 7 of file traps.h.

#define T_DBLFLT   8

Definition at line 12 of file traps.h.

#define T_DEBUG   1

Definition at line 5 of file traps.h.

#define T_DEFAULT   500

Definition at line 28 of file traps.h.

#define T_DEVICE   7

Definition at line 11 of file traps.h.

#define T_DIVIDE   0

Definition at line 4 of file traps.h.

#define T_FPERR   16

Definition at line 20 of file traps.h.

#define T_GPFLT   13

Definition at line 17 of file traps.h.

#define T_ILLOP   6

Definition at line 10 of file traps.h.

#define T_IRQ0   32

Definition at line 30 of file traps.h.

#define T_MCHK   18

Definition at line 22 of file traps.h.

#define T_NMI   2

Definition at line 6 of file traps.h.

#define T_OFLOW   4

Definition at line 8 of file traps.h.

#define T_PGFLT   14

Definition at line 18 of file traps.h.

#define T_SEGNP   11

Definition at line 15 of file traps.h.

#define T_SIMDERR   19

Definition at line 23 of file traps.h.

#define T_STACK   12

Definition at line 16 of file traps.h.

#define T_SYSCALL   64

Definition at line 27 of file traps.h.

#define T_TSS   10

Definition at line 14 of file traps.h.