From b91681d19bfa4fb9cc37e470b6e3161d20c0320d Mon Sep 17 00:00:00 2001 From: weissms Date: Mon, 30 Apr 2012 11:32:16 +0000 Subject: [PATCH] Moved debug output to a place where tc_ETask is may be initialized. git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@44700 fb15a70f-31f2-0310-bbcc-cdcc74a49acc --- rom/exec/exec_init.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rom/exec/exec_init.c b/rom/exec/exec_init.c index a742e9b5ab..45696d1c1b 100644 --- a/rom/exec/exec_init.c +++ b/rom/exec/exec_init.c @@ -154,8 +154,6 @@ AROS_UFH3S(struct ExecBase *, GM_UNIQUENAME(init), ml = AllocMem(sizeof(struct MemList), MEMF_PUBLIC|MEMF_CLEAR); ctx = KrnCreateContext(); - D(bug("[exec] Boot Task 0x%p, ETask 0x%p, CPU context 0x%p\n", t, t->tc_UnionETask.tc_ETask, ctx)); - if (!t || !ml || !ctx) { DINIT("Not enough memory for first task"); @@ -197,6 +195,8 @@ AROS_UFH3S(struct ExecBase *, GM_UNIQUENAME(init), } t->tc_UnionETask.tc_ETask->et_RegFrame = ctx; + D(bug("[exec] Boot Task 0x%p, ETask 0x%p, CPU context 0x%p\n", t, t->tc_UnionETask.tc_ETask, ctx)); + /* * Set the current task and elapsed time for it. * Set ThisTask only AFTER InitETask() has been called. InitETask() sets et_Parent -- 2.11.4.GIT