Rev 1265 | Rev 1597 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1265 | Rev 1288 | ||
---|---|---|---|
Line 28... | Line 28... | ||
28 | 28 | ||
29 | #ifndef __sparc64_INTERRUPT_H__ |
29 | #ifndef __sparc64_INTERRUPT_H__ |
30 | #define __sparc64_INTERRUPT_H__ |
30 | #define __sparc64_INTERRUPT_H__ |
31 | 31 | ||
32 | #include <typedefs.h> |
32 | #include <typedefs.h> |
- | 33 | #include <arch/types.h> |
|
33 | 34 | ||
34 | #define IRQ_COUNT 1 /* TODO */ |
35 | #define IRQ_COUNT 1 /* TODO */ |
35 | 36 | ||
36 | #define IVT_ITEMS 15 |
37 | #define IVT_ITEMS 15 |
37 | #define IVT_FIRST 1 |
38 | #define IVT_FIRST 1 |
Line 41... | Line 42... | ||
41 | #define VECTOR_KBD IRQ_KBD |
42 | #define VECTOR_KBD IRQ_KBD |
42 | 43 | ||
43 | #define trap_virtual_enable_irqs(x) |
44 | #define trap_virtual_enable_irqs(x) |
44 | #define trap_virtual_eoi() |
45 | #define trap_virtual_eoi() |
45 | 46 | ||
- | 47 | struct istate { |
|
- | 48 | }; |
|
- | 49 | ||
- | 50 | static inline void istate_set_retaddr(istate_t *istate, __address retaddr) |
|
- | 51 | { |
|
- | 52 | /* TODO */ |
|
- | 53 | } |
|
- | 54 | ||
46 | extern void interrupt_register(int n, const char *name, iroutine f); |
55 | extern void interrupt_register(int n, const char *name, iroutine f); |
47 | 56 | ||
48 | #endif |
57 | #endif |