Mercurial > hg > Members > mitsuki > xv6_rpi2_port
view uprogs/traps.h @ 0:ed10291ff195
first commit
author | mir3636 |
---|---|
date | Sun, 06 Jan 2019 19:27:03 +0900 |
parents | |
children |
line wrap: on
line source
// These are arbitrarily chosen, but with care not to overlap // processor defined exceptions or interrupt vectors. #define T_SYSCALL 64 // system call #define T_DEFAULT 500 // catchall #define T_IRQ0 32 // IRQ 0 corresponds to int T_IRQ #define IRQ_TIMER 0 #define IRQ_KBD 1 #define IRQ_COM1 4 #define IRQ_IDE 14 #define IRQ_ERROR 19 #define IRQ_SPURIOUS 31