Mercurial > hg > Members > mitsuki > xv6_rpi2_port
view include/traps.h @ 0:ed10291ff195
first commit
author | mir3636 |
---|---|
date | Sun, 06 Jan 2019 19:27:03 +0900 |
parents | |
children |
line wrap: on
line source
/***************************************************************** * traps.h * by Zhiyi Huang, hzy@cs.otago.ac.nz * University of Otago * ********************************************************************/ // These are arbitrarily chosen, but with care not to overlap // processor defined exceptions or interrupt vectors. #define T_SYSCALL 0x40 // system call #define T_IRQ 0x80 // interrupt #define T_UND 0x01 // undefined instruction #define T_PABT 0x02 // prefetch abort #define T_DABT 0x04 // data abort #define IRQ_TIMER3 3 #define IRQ_MINIUART 29 #define INT_REGS_BASE (MMIO_VA+0xB200)