332,7 → 332,6 |
|
/* Allocate a buffer to hold thread IDs */ |
id_buffer = malloc(buf_size, 0); |
if (!id_buffer) return ENOMEM; |
|
ipl = interrupts_disable(); |
spinlock_lock(&TASK->lock); |
387,7 → 386,6 |
|
/* Prepare a buffer to hold the arguments */ |
arg_buffer = malloc(6 * sizeof(unative_t), 0); |
if (!arg_buffer) return ENOMEM; |
|
ipl = interrupts_disable(); |
|
427,7 → 425,6 |
|
/* Prepare a buffer to hold the registers */ |
regs_buffer = malloc(sizeof(istate_t), 0); |
if (!regs_buffer) return ENOMEM; |
|
ipl = interrupts_disable(); |
|
503,7 → 500,6 |
klog_printf("udebug_mem_read()"); |
|
data_buffer = malloc(n, 0); |
if (!data_buffer) return ENOMEM; |
|
klog_printf("udebug_mem_read: src=%u, size=%u", uspace_addr, n); |
|