Rev 1221 | Rev 1507 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 1221 | Rev 1265 | ||
|---|---|---|---|
| Line 41... | Line 41... | ||
| 41 | #include <symtab.h> |
41 | #include <symtab.h> |
| 42 | #include <debug.h> |
42 | #include <debug.h> |
| 43 | #include <syscall/syscall.h> |
43 | #include <syscall/syscall.h> |
| 44 | #include <print.h> |
44 | #include <print.h> |
| 45 | #include <proc/scheduler.h> |
45 | #include <proc/scheduler.h> |
| - | 46 | #include <ipc/sysipc.h> |
|
| - | 47 | ||
| 46 | 48 | ||
| 47 | #define VECTORS_64_BUNDLE 20 |
49 | #define VECTORS_64_BUNDLE 20 |
| 48 | #define VECTORS_16_BUNDLE 48 |
50 | #define VECTORS_16_BUNDLE 48 |
| 49 | #define VECTORS_16_BUNDLE_START 0x5000 |
51 | #define VECTORS_16_BUNDLE_START 0x5000 |
| 50 | #define VECTOR_MAX 0x7f00 |
52 | #define VECTOR_MAX 0x7f00 |
| Line 237... | Line 239... | ||
| 237 | default: |
239 | default: |
| 238 | panic("\nUnhandled External Interrupt Vector %d\n", ivr.vector); |
240 | panic("\nUnhandled External Interrupt Vector %d\n", ivr.vector); |
| 239 | break; |
241 | break; |
| 240 | } |
242 | } |
| 241 | } |
243 | } |
| - | 244 | ||
| - | 245 | /* Reregister irq to be IPC-ready */ |
|
| - | 246 | void irq_ipc_bind_arch(__native irq) |
|
| - | 247 | { |
|
| - | 248 | panic("not implemented\n"); |
|
| - | 249 | /* TODO */ |
|
| - | 250 | } |
|