- Timestamp:
- 2012-02-27T12:58:00Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 31718d1
- Parents:
- 09c954b (diff), b64fbc9 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - Location:
- uspace
- Files:
-
- 4 edited
-
drv/bus/usb/uhci/transfer_list.c (modified) (4 diffs)
-
drv/bus/usb/uhci/uhci_batch.c (modified) (1 diff)
-
drv/infrastructure/root/root.c (modified) (4 diffs)
-
lib/c/arch/ia64/include/ddi.h (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/uhci/transfer_list.c
r09c954b r3df2907 110 110 assert(instance); 111 111 assert(uhci_batch); 112 usb_log_debug2(" Queue %s: Adding batch(%p).\n", instance->name,113 uhci_batch->usb_batch );112 usb_log_debug2("Batch %p adding to queue %s.\n", 113 uhci_batch->usb_batch, instance->name); 114 114 115 115 fibril_mutex_lock(&instance->guard); … … 139 139 list_append(&uhci_batch->link, &instance->batch_list); 140 140 141 usb_log_debug2("Batch %p " USB_TRANSFER_BATCH_FMT " scheduled in queue %s.\n",142 uhci_batch, USB_TRANSFER_BATCH_ARGS(*uhci_batch->usb_batch),143 instance->name);141 usb_log_debug2("Batch %p " USB_TRANSFER_BATCH_FMT 142 " scheduled in queue %s.\n", uhci_batch->usb_batch, 143 USB_TRANSFER_BATCH_ARGS(*uhci_batch->usb_batch), instance->name); 144 144 fibril_mutex_unlock(&instance->guard); 145 145 } … … 205 205 assert(fibril_mutex_is_locked(&instance->guard)); 206 206 207 usb_log_debug2(" Queue %s: removing batch(%p).\n",208 instance->name, uhci_batch->usb_batch);207 usb_log_debug2("Batch %p removing from queue %s.\n", 208 uhci_batch->usb_batch, instance->name); 209 209 210 210 /* Assume I'm the first */ … … 228 228 list_remove(&uhci_batch->link); 229 229 usb_log_debug2("Batch %p " USB_TRANSFER_BATCH_FMT " removed (%s) " 230 "from %s, next: %x.\n", 231 uhci_batch,USB_TRANSFER_BATCH_ARGS(*uhci_batch->usb_batch),230 "from %s, next: %x.\n", uhci_batch->usb_batch, 231 USB_TRANSFER_BATCH_ARGS(*uhci_batch->usb_batch), 232 232 qpos, instance->name, uhci_batch->qh->next); 233 233 } -
uspace/drv/bus/usb/uhci/uhci_batch.c
r09c954b r3df2907 174 174 assert(uhci_batch->usb_batch->ep != NULL); 175 175 176 usb_log_debug("Batch (%p) found error TD(%zu):%"176 usb_log_debug("Batch %p found error TD(%zu->%p):%" 177 177 PRIx32 ".\n", uhci_batch->usb_batch, i, 178 uhci_batch->tds[i].status);178 &uhci_batch->tds[i], uhci_batch->tds[i].status); 179 179 td_print_status(&uhci_batch->tds[i]); 180 180 -
uspace/drv/infrastructure/root/root.c
r09c954b r3df2907 158 158 if (asprintf(&match_id, PLATFORM_FUN_MATCH_ID_FMT, platform) == -1) { 159 159 ddf_msg(LVL_ERROR, "Memory allocation failed."); 160 return ENOMEM; 161 } 160 free(platform); 161 return ENOMEM; 162 } 163 164 free(platform); 162 165 163 166 /* Add function. */ … … 169 172 if (fun == NULL) { 170 173 ddf_msg(LVL_ERROR, "Error creating function %s", name); 174 free(match_id); 171 175 return ENOMEM; 172 176 } … … 176 180 ddf_msg(LVL_ERROR, "Failed adding match IDs to function %s", 177 181 name); 182 free(match_id); 178 183 ddf_fun_destroy(fun); 179 184 return rc; … … 208 213 * vital for the system. 209 214 */ 210 add_virtual_root_fun(dev);215 (void) add_virtual_root_fun(dev); 211 216 212 217 /* Register root device's children. */ -
uspace/lib/c/arch/ia64/include/ddi.h
r09c954b r3df2907 62 62 63 63 asm volatile ("mf\n" ::: "memory"); 64 asm volatile ("mf.a\n" ::: "memory"); 64 65 } 65 66 … … 76 77 77 78 asm volatile ("mf\n" ::: "memory"); 79 asm volatile ("mf.a\n" ::: "memory"); 78 80 } 79 81 … … 90 92 91 93 asm volatile ("mf\n" ::: "memory"); 94 asm volatile ("mf.a\n" ::: "memory"); 92 95 } 93 96 … … 106 109 v = *port; 107 110 } 111 112 asm volatile ("mf.a\n" ::: "memory"); 108 113 109 114 return v; … … 125 130 } 126 131 132 asm volatile ("mf.a\n" ::: "memory"); 133 127 134 return v; 128 135 } … … 134 141 asm volatile ("mf\n" ::: "memory"); 135 142 136 if (port < (ioport32_t *) port) {143 if (port < (ioport32_t *) IO_SPACE_BOUNDARY) { 137 144 uintptr_t prt = (uintptr_t) port; 138 145 … … 143 150 } 144 151 152 asm volatile ("mf.a\n" ::: "memory"); 153 145 154 return v; 146 155 }
Note:
See TracChangeset
for help on using the changeset viewer.
