]> git.saurik.com Git - apple/xnu.git/blobdiff - osfmk/i386/iopb.c
xnu-792.10.96.tar.gz
[apple/xnu.git] / osfmk / i386 / iopb.c
index ecf1a8c68b123957c82dc06d14066b2e8f6c924c..6ae4acb7a500fac51fa615916d1d7213589a2952 100644 (file)
@@ -394,7 +394,7 @@ i386_io_port_add(
        /* 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) {
                /*
@@ -409,7 +409,7 @@ i386_io_port_add(
                goto Retry;
            }
            io_tss = new_io_tss;
-           pcb->ims.io_tss = io_tss;
+           pcb->io_tss = io_tss;
            new_io_tss = 0;
        }
 
@@ -483,7 +483,7 @@ i386_io_port_remove(
        }
 
        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);
@@ -563,7 +563,7 @@ i386_io_port_list(thread, list, list_count)
 
            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;
 
@@ -648,7 +648,7 @@ iopb_check_mapping(
        /* 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.
                 */