From: Matthias Kruk Date: Wed, 25 Sep 2019 10:08:22 +0000 (+0900) Subject: Don't print ESP0 value in process_create(); split long lines X-Git-Url: https://git.corax.cc/?a=commitdiff_plain;h=ee811f94fbc53587f7eb1a56548e9049b05ef144;p=corax Don't print ESP0 value in process_create(); split long lines --- diff --git a/kernel/arch/process.c b/kernel/arch/process.c index 270850d..552abbc 100644 --- a/kernel/arch/process.c +++ b/kernel/arch/process.c @@ -50,10 +50,11 @@ int process_create(process_t **dst) goto cleanup; } - task_prepare(proc->p_tasks, (u32_t)pdbr, (u32_t)foo, (u32_t)kstack, (u32_t)ustack + PAGE_SIZE, 3); + task_prepare(proc->p_tasks, (u32_t)pdbr, (u32_t)foo, + (u32_t)kstack, (u32_t)ustack + PAGE_SIZE, 3); - proc->p_tasks->t_sp = (u32_t)(CONFIG_KERNEL_STACK_BASE + ((u32_t)proc->p_tasks->t_sp - (u32_t)kstack)); - dbg_printf("ESP0 = 0x%08x\n", proc->p_tasks->t_sp); + proc->p_tasks->t_sp = (u32_t)(CONFIG_KERNEL_STACK_BASE + + ((u32_t)proc->p_tasks->t_sp - (u32_t)kstack)); } cleanup: