Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00022 #ifndef __POK_SPARC_TRAPS_H__
00023 #define __POK_SPARC_TRAPS_H__
00024
00025 #include <types.h>
00026 #include <errno.h>
00027
00028 #define SPARC_TRAP_IRQ_BASE 0x10
00029 #define SPARC_TRAP_SYSCALL_BASE 0x80
00030
00031 typedef void (*sparc_traps_handler)(void);
00032
00033 extern sparc_traps_handler pok_sparc_isr[256];
00034
00035 pok_ret_t traps_init(void);
00036
00037 #endif
00038