Rev 3657 | Rev 3902 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3657 | Rev 3875 | ||
---|---|---|---|
Line 98... | Line 98... | ||
98 | break; |
98 | break; |
99 | case CMD_MEM_WRITE_8: |
99 | case CMD_MEM_WRITE_8: |
100 | *((uint64_t *) code->cmds[i].addr) = |
100 | *((uint64_t *) code->cmds[i].addr) = |
101 | code->cmds[i].value; |
101 | code->cmds[i].value; |
102 | break; |
102 | break; |
103 | #if defined(ia32) || defined(amd64) || defined(ia64) |
- | |
104 | case CMD_PORT_READ_1: |
103 | case CMD_PORT_READ_1: |
105 | dstval = inb((long) code->cmds[i].addr); |
104 | dstval = inb((long) code->cmds[i].addr); |
106 | break; |
105 | break; |
107 | case CMD_PORT_WRITE_1: |
106 | case CMD_PORT_WRITE_1: |
108 | outb((long) code->cmds[i].addr, code->cmds[i].value); |
107 | outb((long) code->cmds[i].addr, code->cmds[i].value); |
109 | break; |
108 | break; |
110 | #endif |
- | |
111 | #if defined(ia64) && defined(SKI) |
- | |
112 | case CMD_IA64_GETCHAR: |
- | |
113 | dstval = _getc(&ski_uconsole); |
- | |
114 | break; |
- | |
115 | #endif |
- | |
116 | #if defined(ppc32) |
- | |
117 | case CMD_PPC32_GETCHAR: |
- | |
118 | dstval = cuda_get_scancode(); |
- | |
119 | break; |
- | |
120 | #endif |
- | |
121 | default: |
109 | default: |
122 | break; |
110 | break; |
123 | } |
111 | } |
124 | if (code->cmds[i].dstarg && code->cmds[i].dstarg < |
112 | if (code->cmds[i].dstarg && code->cmds[i].dstarg < |
125 | IPC_CALL_LEN) { |
113 | IPC_CALL_LEN) { |