/* Make sure the thread has a TSS. */
simple_lock(&pcb->lock);
- io_tss = pcb->ims.io_tss;
+ io_tss = pcb->io_tss;
if (io_tss == 0) {
if (new_io_tss == 0) {
/*
goto Retry;
}
io_tss = new_io_tss;
- pcb->ims.io_tss = io_tss;
+ pcb->io_tss = io_tss;
new_io_tss = 0;
}
}
simple_lock(&pcb->lock);
- io_tss = pcb->ims.io_tss;
+ io_tss = pcb->io_tss;
if (io_tss == 0) {
simple_unlock(&pcb->lock);
simple_unlock(&iopb_lock);
simple_lock(&iopb_lock);
simple_lock(&pcb->lock);
- io_tss = pcb->ims.io_tss;
+ io_tss = pcb->io_tss;
if (io_tss != 0) {
register io_use_t iu;
/* Look up the mapping in the device`s mapping list. */
queue_iterate(&io_port->io_use_list, iu, io_use_t, psq) {
- if (iu->ts == pcb->ims.io_tss) {
+ if (iu->ts == pcb->io_tss) {
/*
* Device is mapped.
*/