]> git.sur5r.net Git - freertos/commitdiff
Add usage of portREMOVE_STATIC_QUALIFIER.
authorRichardBarry <RichardBarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Sat, 24 May 2008 18:52:12 +0000 (18:52 +0000)
committerRichardBarry <RichardBarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Sat, 24 May 2008 18:52:12 +0000 (18:52 +0000)
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@387 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

Source/tasks.c

index 06a6a9864064596462f325c9b7007c45388ea903..3e3ac8ac9638363c06d31424d7a640d80a3835f5 100644 (file)
@@ -60,7 +60,6 @@
  */\r
 #define tskIDLE_STACK_SIZE     configMINIMAL_STACK_SIZE\r
 \r
-\r
 /*\r
  * Task control block.  A task control block (TCB) is allocated to each task,\r
  * and stores the context of the task.\r
@@ -92,6 +91,14 @@ typedef struct tskTaskControlBlock
                \r
 } tskTCB;\r
 \r
+/*\r
+ * Some kernel aware debuggers require data to be viewed to be global, rather\r
+ * than file scope.\r
+ */\r
+#ifdef portREMOVE_STATIC_QUALIFIER\r
+       #define static\r
+#endif\r
+\r
 /*lint -e956 */\r
 \r
 tskTCB * volatile pxCurrentTCB = NULL;                                 \r