diff options
author | RichardBarry <RichardBarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2> | 2008-05-24 18:52:12 +0000 |
---|---|---|
committer | RichardBarry <RichardBarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2> | 2008-05-24 18:52:12 +0000 |
commit | f3c59535d020f18f1c43f9be0f4d496019b74c40 (patch) | |
tree | e8a84129199ec599c3830ad7de9507447d07279a /Source | |
parent | 71a70501091b8f668af8b74ba02a6eaa14c8bf09 (diff) | |
download | freertos-f3c59535d020f18f1c43f9be0f4d496019b74c40.tar.gz freertos-f3c59535d020f18f1c43f9be0f4d496019b74c40.tar.bz2 freertos-f3c59535d020f18f1c43f9be0f4d496019b74c40.tar.xz |
Add usage of portREMOVE_STATIC_QUALIFIER.
git-svn-id: https://freertos.svn.sourceforge.net/svnroot/freertos/trunk@387 1d2547de-c912-0410-9cb9-b8ca96c0e9e2
Diffstat (limited to 'Source')
-rw-r--r-- | Source/tasks.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/Source/tasks.c b/Source/tasks.c index 06a6a986..3e3ac8ac 100644 --- a/Source/tasks.c +++ b/Source/tasks.c @@ -60,7 +60,6 @@ */
#define tskIDLE_STACK_SIZE configMINIMAL_STACK_SIZE
-
/*
* Task control block. A task control block (TCB) is allocated to each task,
* and stores the context of the task.
@@ -92,6 +91,14 @@ typedef struct tskTaskControlBlock } tskTCB;
+/*
+ * Some kernel aware debuggers require data to be viewed to be global, rather
+ * than file scope.
+ */
+#ifdef portREMOVE_STATIC_QUALIFIER
+ #define static
+#endif
+
/*lint -e956 */
tskTCB * volatile pxCurrentTCB = NULL;
|