Changeset da88eb82 in mainline
- Timestamp:
- 2011-03-25T17:06:07Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 095b2017
- Parents:
- 1585c7e
- Location:
- uspace/drv/uhci-hcd
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/uhci-hcd/transfer_list.c
r1585c7e rda88eb82 121 121 122 122 asm volatile ("": : :"memory"); 123 // asm volatile("clflush (%0)": : "r"(last_qh));124 123 125 124 /* Add to the driver list */ … … 209 208 == addr_to_phys(batch_qh(batch))); 210 209 instance->queue_head->next = batch_qh(batch)->next; 211 // asm volatile("clflush (%0)" : : "r"(instance->queue_head));212 210 qpos = "FIRST"; 213 211 } else { … … 218 216 == addr_to_phys(batch_qh(batch))); 219 217 batch_qh(prev)->next = batch_qh(batch)->next; 220 // asm volatile("clflush (%0)" : : "r"(batch_qh(prev)));221 218 qpos = "NOT FIRST"; 222 219 } -
uspace/drv/uhci-hcd/utils/slab.c
r1585c7e rda88eb82 94 94 memset(instance->page, 0xa, SLAB_SIZE); 95 95 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); 97 97 } 98 98 /*----------------------------------------------------------------------------*/ … … 114 114 fibril_mutex_unlock(&instance->guard); 115 115 116 usb_log_fatal("SLAB allocated address element %zu(%p).\n", i, addr);117 116 return addr; 118 117 } … … 122 121 bool in_range = (instance->page != NULL) && 123 122 (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);126 123 return in_range; 127 124 } … … 139 136 instance->slabs[pos] = true; 140 137 fibril_mutex_unlock(&instance->guard); 141 142 usb_log_fatal("SLAB freed element %zu(%p).\n", pos, addr);143 138 } 144 139 /**
Note:
See TracChangeset
for help on using the changeset viewer.