Changeset da88eb82 in mainline for uspace/drv/uhci-hcd/utils/slab.c


Ignore:
Timestamp:
2011-03-25T17:06:07Z (14 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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.