summaryrefslogtreecommitdiffstats
path: root/cpukit/score/include/rtems
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/score/include/rtems')
-rw-r--r--cpukit/score/include/rtems/score/thread.h3
-rw-r--r--cpukit/score/include/rtems/system.h4
2 files changed, 4 insertions, 3 deletions
diff --git a/cpukit/score/include/rtems/score/thread.h b/cpukit/score/include/rtems/score/thread.h
index ec48864a9f..4c8032f558 100644
--- a/cpukit/score/include/rtems/score/thread.h
+++ b/cpukit/score/include/rtems/score/thread.h
@@ -94,7 +94,8 @@ struct rtems_task_variable_tt;
struct rtems_task_variable_tt {
struct rtems_task_variable_tt *next;
void **ptr;
- void *var;
+ void *gval;
+ void *tval;
void (*dtor)(void *);
};
diff --git a/cpukit/score/include/rtems/system.h b/cpukit/score/include/rtems/system.h
index 6db19e8c62..b1a2382ea4 100644
--- a/cpukit/score/include/rtems/system.h
+++ b/cpukit/score/include/rtems/system.h
@@ -187,10 +187,10 @@ SCORE_EXTERN rtems_cpu_table _CPU_Table; /* CPU dependent info */
(_CPU_Table.stack_free_hook)
/*
- * XXX weird RTEMS stuff
+ * XXX weird RTEMS stuff that probably should be somewhere else.
*/
-#define RTEMS_MAXIMUM_NAME_LENGTH 4
+#define RTEMS_MAXIMUM_NAME_LENGTH sizeof(rtems_name)
#ifdef __cplusplus
}