Subversion Repositories HelenOS-historic

Rev

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

Rev 1625 Rev 1628
Line 64... Line 64...
64
#include <print.h>
64
#include <print.h>
65
/* Execute code associated with IRQ notification */
65
/* Execute code associated with IRQ notification */
66
static void code_execute(call_t *call, irq_code_t *code)
66
static void code_execute(call_t *call, irq_code_t *code)
67
{
67
{
68
    int i;
68
    int i;
69
 
69
   
70
    if (!code)
70
    if (!code)
71
        return;
71
        return;
72
   
72
   
73
    for (i=0; i < code->cmdcount;i++) {
73
    for (i=0; i < code->cmdcount;i++) {
74
        switch (code->cmds[i].cmd) {
74
        switch (code->cmds[i].cmd) {
Line 107... Line 107...
107
#if defined(ia64) 
107
#if defined(ia64) 
108
        case CMD_IA64_GETCHAR:
108
        case CMD_IA64_GETCHAR:
109
            IPC_SET_ARG2(call->data, _getc(&ski_uconsole));
109
            IPC_SET_ARG2(call->data, _getc(&ski_uconsole));
110
            break;
110
            break;
111
#endif
111
#endif
112
#if defined(ppc32) 
112
#if defined(ppc32)
113
        case CMD_PPC32_GETCHAR:
113
        case CMD_PPC32_GETCHAR:
114
            IPC_SET_ARG2(call->data, _getc(&kbrd));
114
            IPC_SET_ARG2(call->data, cuda_get_scancode());
115
            break;
115
            break;
116
#endif
116
#endif
117
        default:
117
        default:
118
            break;
118
            break;
119
        }
119
        }