diff options
| author | Bill Schwartz <whs@us.ibm.com> | 2012-10-10 10:36:29 -0500 |
|---|---|---|
| committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2012-10-12 16:29:17 -0500 |
| commit | b201169eeae76a7697f4f207dd583d40a2f07f66 (patch) | |
| tree | a05fa3da99dddab0491623aebc1110e73d430bf7 /src/include/kernel | |
| parent | 3536e96bd3a1d490cec900617fab6703fb7798ea (diff) | |
| download | blackbird-hostboot-b201169eeae76a7697f4f207dd583d40a2f07f66.tar.gz blackbird-hostboot-b201169eeae76a7697f4f207dd583d40a2f07f66.zip | |
Memory Leak task_end
Change-Id: Idb7a2d8d72a55f644efd0b2548eca5df5d062e6d
RTC: 47491
Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/2011
Tested-by: Jenkins Server
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/include/kernel')
| -rw-r--r-- | src/include/kernel/idebug.H | 46 | ||||
| -rw-r--r-- | src/include/kernel/taskmgr.H | 48 |
2 files changed, 47 insertions, 47 deletions
diff --git a/src/include/kernel/idebug.H b/src/include/kernel/idebug.H index 584dacf80..f6ee69837 100644 --- a/src/include/kernel/idebug.H +++ b/src/include/kernel/idebug.H @@ -1,25 +1,25 @@ -// IBM_PROLOG_BEGIN_TAG -// This is an automatically generated prolog. -// -// $Source: src/include/kernel/idebug.H $ -// -// IBM CONFIDENTIAL -// -// COPYRIGHT International Business Machines Corp. 2011 -// -// p1 -// -// Object Code Only (OCO) source materials -// Licensed Internal Code Source Materials -// IBM HostBoot Licensed Internal Code -// -// The source code for this program is not published or other- -// wise divested of its trade secrets, irrespective of what has -// been deposited with the U.S. Copyright Office. -// -// Origin: 30 -// -// IBM_PROLOG_END +/* IBM_PROLOG_BEGIN_TAG */ +/* This is an automatically generated prolog. */ +/* */ +/* $Source: src/include/kernel/idebug.H $ */ +/* */ +/* IBM CONFIDENTIAL */ +/* */ +/* COPYRIGHT International Business Machines Corp. 2011,2012 */ +/* */ +/* p1 */ +/* */ +/* Object Code Only (OCO) source materials */ +/* Licensed Internal Code Source Materials */ +/* IBM HostBoot Licensed Internal Code */ +/* */ +/* The source code for this program is not published or otherwise */ +/* divested of its trade secrets, irrespective of what has been */ +/* deposited with the U.S. Copyright Office. */ +/* */ +/* Origin: 30 */ +/* */ +/* IBM_PROLOG_END_TAG */ #ifndef __KERNEL_IDEBUG_H #define __KERNEL_IDEBUG_H @@ -79,7 +79,7 @@ class InteractiveDebug /** @brief Entry point for 'task_create' of debug task. * @param[in] idebug - Pointer to this interactive-debug structure. */ - static void debugEntryPoint(void* idebug); + static void* debugEntryPoint(void* idebug); }; #endif diff --git a/src/include/kernel/taskmgr.H b/src/include/kernel/taskmgr.H index b38618d22..5af28efe5 100644 --- a/src/include/kernel/taskmgr.H +++ b/src/include/kernel/taskmgr.H @@ -1,25 +1,25 @@ -// IBM_PROLOG_BEGIN_TAG -// This is an automatically generated prolog. -// -// $Source: src/include/kernel/taskmgr.H $ -// -// IBM CONFIDENTIAL -// -// COPYRIGHT International Business Machines Corp. 2010 - 2011 -// -// p1 -// -// Object Code Only (OCO) source materials -// Licensed Internal Code Source Materials -// IBM HostBoot Licensed Internal Code -// -// The source code for this program is not published or other- -// wise divested of its trade secrets, irrespective of what has -// been deposited with the U.S. Copyright Office. -// -// Origin: 30 -// -// IBM_PROLOG_END +/* IBM_PROLOG_BEGIN_TAG */ +/* This is an automatically generated prolog. */ +/* */ +/* $Source: src/include/kernel/taskmgr.H $ */ +/* */ +/* IBM CONFIDENTIAL */ +/* */ +/* COPYRIGHT International Business Machines Corp. 2010,2012 */ +/* */ +/* p1 */ +/* */ +/* Object Code Only (OCO) source materials */ +/* Licensed Internal Code Source Materials */ +/* IBM HostBoot Licensed Internal Code */ +/* */ +/* The source code for this program is not published or otherwise */ +/* divested of its trade secrets, irrespective of what has been */ +/* deposited with the U.S. Copyright Office. */ +/* */ +/* Origin: 30 */ +/* */ +/* IBM_PROLOG_END_TAG */ #ifndef __KERNEL_TASKMGR_H #define __KERNEL_TASKMGR_H @@ -108,7 +108,7 @@ class TaskManager static void setCurrentTask(task_t* t); /** Typedef for task entry points. */ - typedef void(*task_fn_t)(void*); + typedef void* (*task_fn_t)(void*); /** @brief Create a new task object. * @@ -158,7 +158,7 @@ class TaskManager tid_t getNextTid() { return iv_nextTid.next(); }; /** Run the idle task loop */ - static void idleTaskLoop(void*); + static void* idleTaskLoop(void*); // Internal implementations of non-static / non-_ functions. task_t* _createIdleTask(); |

