Rev 3862 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3862 | Rev 4073 | ||
---|---|---|---|
Line 57... | Line 57... | ||
57 | #include <ipc/irq.h> |
57 | #include <ipc/irq.h> |
58 | #include <syscall/copy.h> |
58 | #include <syscall/copy.h> |
59 | #include <console/console.h> |
59 | #include <console/console.h> |
60 | #include <print.h> |
60 | #include <print.h> |
61 | 61 | ||
- | 62 | #if defined(sparc64) && defined(SUN4V) |
|
- | 63 | #include <arch/drivers/niagara.h> |
|
- | 64 | #endif |
|
- | 65 | ||
62 | /** Execute code associated with IRQ notification. |
66 | /** Execute code associated with IRQ notification. |
63 | * |
67 | * |
64 | * @param call Notification call. |
68 | * @param call Notification call. |
65 | * @param code Top-half pseudocode. |
69 | * @param code Top-half pseudocode. |
66 | */ |
70 | */ |
Line 112... | Line 116... | ||
112 | #if defined(ia64) && defined(SKI) |
116 | #if defined(ia64) && defined(SKI) |
113 | case CMD_IA64_GETCHAR: |
117 | case CMD_IA64_GETCHAR: |
114 | dstval = _getc(&ski_uconsole); |
118 | dstval = _getc(&ski_uconsole); |
115 | break; |
119 | break; |
116 | #endif |
120 | #endif |
- | 121 | #if defined(sparc64) && defined(SUN4V) |
|
- | 122 | case CMD_NIAGARA_GETCHAR: |
|
- | 123 | dstval = niagara_getc(); |
|
- | 124 | break; |
|
- | 125 | #endif |
|
117 | #if defined(ppc32) |
126 | #if defined(ppc32) |
118 | case CMD_PPC32_GETCHAR: |
127 | case CMD_PPC32_GETCHAR: |
119 | dstval = cuda_get_scancode(); |
128 | dstval = cuda_get_scancode(); |
120 | break; |
129 | break; |
121 | #endif |
130 | #endif |