Subversion Repositories HelenOS

Rev

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

Rev 1288 Rev 1507
Line 46... Line 46...
46
#include <errno.h>
46
#include <errno.h>
47
#include <ipc/ipc.h>
47
#include <ipc/ipc.h>
48
#include <ipc/irq.h>
48
#include <ipc/irq.h>
49
#include <atomic.h>
49
#include <atomic.h>
50
#include <syscall/copy.h>
50
#include <syscall/copy.h>
-
 
51
#include <console/console.h>
51
 
52
 
52
typedef struct {
53
typedef struct {
53
    SPINLOCK_DECLARE(lock);
54
    SPINLOCK_DECLARE(lock);
54
    answerbox_t *box;
55
    answerbox_t *box;
55
    irq_code_t *code;
56
    irq_code_t *code;
Line 101... Line 102...
101
            break;
102
            break;
102
        case CMD_PORT_WRITE_1:
103
        case CMD_PORT_WRITE_1:
103
            outb((long)code->cmds[i].addr, code->cmds[i].value);
104
            outb((long)code->cmds[i].addr, code->cmds[i].value);
104
            break;
105
            break;
105
#endif
106
#endif
-
 
107
#if defined(ia64) 
-
 
108
        case CMD_IA64_GETCHAR:
-
 
109
            IPC_SET_ARG2(call->data, _getc(&ski_uconsole));
-
 
110
            break;
-
 
111
#endif
106
        default:
112
        default:
107
            break;
113
            break;
108
        }
114
        }
109
    }
115
    }
110
}
116
}