/branches/tracing/kernel/generic/src/udebug/udebug_ops.c |
---|
505,6 → 505,10 |
klog_printf("udebug_mem_write()"); |
/* n must be positive */ |
if (n < 1) |
return EINVAL; |
/* Verify task state */ |
mutex_lock(&TASK->udebug.lock); |
521,6 → 525,8 |
// if (rc) return rc; |
rc = as_debug_write(uspace_addr, data, n); |
klog_printf("rc=%d\n", rc); |
mutex_unlock(&TASK->udebug.lock); |