499,7 → 499,7 |
state = t->udebug.uspace_state; |
if (state == NULL) { |
_thread_op_end(t); |
printf("udebug_regs_read() - istate not available\n"); |
LOG("udebug_regs_read() - istate not available\n"); |
return EBUSY; |
} |
|
516,7 → 516,7 |
int rc; |
istate_t *state; |
|
printf("udebug_regs_write()\n"); |
LOG("udebug_regs_write()\n"); |
|
/* Try to change the thread's uspace_state */ |
|
523,7 → 523,7 |
/* On success, this will lock t->udebug.lock */ |
rc = _thread_op_begin(t, false); |
if (rc != EOK) { |
printf("error locking thread\n"); |
LOG("error locking thread\n"); |
return rc; |
} |
|
530,7 → 530,7 |
state = t->udebug.uspace_state; |
if (state == NULL) { |
_thread_op_end(t); |
printf("udebug_regs_write() - istate not available\n"); |
LOG("udebug_regs_write() - istate not available\n"); |
return EBUSY; |
} |
|
581,7 → 581,7 |
{ |
int rc; |
|
printf("udebug_mem_write()\n"); |
LOG("udebug_mem_write()\n"); |
|
/* n must be positive */ |
if (n < 1) |
595,7 → 595,7 |
return EBUSY; |
} |
|
printf("dst=%u, size=%u\n", uspace_addr, n); |
LOG("dst=%u, size=%u\n", uspace_addr, n); |
|
/* NOTE: this is not strictly from a syscall... but that shouldn't |
* be a problem */ |
604,7 → 604,7 |
|
rc = as_debug_write(uspace_addr, data, n); |
|
printf("rc=%d\n", rc); |
LOG("rc=%d\n", rc); |
|
mutex_unlock(&TASK->udebug.lock); |
|