Subversion Repositories HelenOS-historic

Rev

Rev 1295 | Rev 1595 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1295 Rev 1507
Line 31... Line 31...
31
 
31
 
32
#include <typedefs.h>
32
#include <typedefs.h>
33
#include <arch/types.h>
33
#include <arch/types.h>
34
#include <arch/register.h>
34
#include <arch/register.h>
35
 
35
 
36
#define IRQ_COUNT       1   /* TODO */
36
#define IRQ_COUNT               257 /* 256 NOT suppotred IRQS*//* TODO */
-
 
37
#define IRQ_KBD                 256 /* One simulated interrupt for ski simulator keyboard*/
37
 
38
 
38
/** External Interrupt vectors. */
39
/** External Interrupt vectors. */
39
#define INTERRUPT_TIMER     0
40
#define INTERRUPT_TIMER     0
40
#define INTERRUPT_SPURIOUS  15
41
#define INTERRUPT_SPURIOUS  15
41
 
42
 
Line 117... Line 118...
117
extern void general_exception(__u64 vector, istate_t *istate);
118
extern void general_exception(__u64 vector, istate_t *istate);
118
extern int break_instruction(__u64 vector, istate_t *istate);
119
extern int break_instruction(__u64 vector, istate_t *istate);
119
extern void universal_handler(__u64 vector, istate_t *istate);
120
extern void universal_handler(__u64 vector, istate_t *istate);
120
extern void nop_handler(__u64 vector, istate_t *istate);
121
extern void nop_handler(__u64 vector, istate_t *istate);
121
extern void external_interrupt(__u64 vector, istate_t *istate);
122
extern void external_interrupt(__u64 vector, istate_t *istate);
-
 
123
extern void virtual_interrupt(__u64 irq, void *param);
122
extern void disabled_fp_register(__u64 vector, istate_t *istate);
124
extern void disabled_fp_register(__u64 vector, istate_t *istate);
123
 
125
 
124
 
126
 
125
 
127
 
126
#endif
128
#endif