Mercurial > hg > Members > innparusu > xv6_rpi_port
view uprogs/traps.h @ 11:0157781eb6c2 default tip
add entry point
author | mir3636 |
---|---|
date | Tue, 25 Dec 2018 19:06:09 +0900 |
parents | c450faca55f4 |
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