Subversion Repositories HelenOS

Rev

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

Rev 4342 Rev 4343
Line 99... Line 99...
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
        case CMD_PORT_READ_1:
103
        case CMD_PORT_READ_1:
104
            dstval = inb((long) code->cmds[i].addr);
104
            dstval = pio_read_8((long) code->cmds[i].addr);
105
            break;
105
            break;
106
        case CMD_PORT_WRITE_1:
106
        case CMD_PORT_WRITE_1:
107
            outb((long) code->cmds[i].addr, code->cmds[i].value);
107
            pio_write_8((long) code->cmds[i].addr, code->cmds[i].value);
108
            break;
108
            break;
109
        default:
109
        default:
110
            break;
110
            break;
111
        }
111
        }
112
        if (code->cmds[i].dstarg && code->cmds[i].dstarg <
112
        if (code->cmds[i].dstarg && code->cmds[i].dstarg <