Changeset da88eb82 in mainline


Ignore:
Timestamp:
2011-03-25T17:06:07Z (13 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
095b2017
Parents:
1585c7e
Message:

Remove or degrade debug output

Remove intel specific cache flushes

Location:
uspace/drv/uhci-hcd
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/uhci-hcd/transfer_list.c

    r1585c7e rda88eb82  
    121121
    122122        asm volatile ("": : :"memory");
    123 //      asm volatile("clflush (%0)": : "r"(last_qh));
    124123
    125124        /* Add to the driver list */
     
    209208                    == addr_to_phys(batch_qh(batch)));
    210209                instance->queue_head->next = batch_qh(batch)->next;
    211 //              asm volatile("clflush (%0)" : : "r"(instance->queue_head));
    212210                qpos = "FIRST";
    213211        } else {
     
    218216                    == addr_to_phys(batch_qh(batch)));
    219217                batch_qh(prev)->next = batch_qh(batch)->next;
    220 //              asm volatile("clflush (%0)" : : "r"(batch_qh(prev)));
    221218                qpos = "NOT FIRST";
    222219        }
  • uspace/drv/uhci-hcd/utils/slab.c

    r1585c7e rda88eb82  
    9494        memset(instance->page, 0xa, SLAB_SIZE);
    9595        fibril_mutex_unlock(&init_mutex);
    96         usb_log_fatal("SLAB initialized at %p.\n", instance->page);
     96        usb_log_debug2("SLAB initialized at %p.\n", instance->page);
    9797}
    9898/*----------------------------------------------------------------------------*/
     
    114114        fibril_mutex_unlock(&instance->guard);
    115115
    116         usb_log_fatal("SLAB allocated address element %zu(%p).\n", i, addr);
    117116        return addr;
    118117}
     
    122121        bool in_range = (instance->page != NULL) &&
    123122                (addr >= instance->page) && (addr < instance->page + SLAB_SIZE);
    124 //      usb_log_fatal("SLAB address %sin range %p(%p-%p).\n",
    125 //          in_range ? "" : "NOT ", addr, instance->page, instance->page + SLAB_SIZE);
    126123        return in_range;
    127124}
     
    139136        instance->slabs[pos] = true;
    140137        fibril_mutex_unlock(&instance->guard);
    141 
    142         usb_log_fatal("SLAB freed element %zu(%p).\n", pos, addr);
    143138}
    144139/**
Note: See TracChangeset for help on using the changeset viewer.