Subversion Repositories HelenOS

Rev

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

Rev 2787 Rev 3675
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)
103
#if defined(ia32) || defined(amd64) || defined(ia64)
104
        case CMD_PORT_READ_1:
104
        case CMD_PORT_READ_1:
105
            dstval = inb((long) code->cmds[i].addr);
105
            dstval = inb((long) code->cmds[i].addr);
106
            break;
106
            break;
107
        case CMD_PORT_WRITE_1:
107
        case CMD_PORT_WRITE_1:
108
            outb((long) code->cmds[i].addr, code->cmds[i].value);
108
            outb((long) code->cmds[i].addr, code->cmds[i].value);