This is the mail archive of the
ecos-patches@sources.redhat.com
mailing list for the eCos project.
Correct CYGNUM_KERNEL_THREADS_DATA_MAX legal_value
- From: Jonathan Larmour <jlarmour at jifvik dot org>
- To: ecos-patches at sources dot redhat dot com
- Date: Tue, 28 Jan 2003 04:21:23 GMT
- Subject: Correct CYGNUM_KERNEL_THREADS_DATA_MAX legal_value
Index: ChangeLog
===================================================================
RCS file: /cvs/ecos/ecos/packages/kernel/current/ChangeLog,v
retrieving revision 1.88
diff -u -5 -p -r1.88 ChangeLog
--- ChangeLog 22 Jan 2003 06:38:58 -0000 1.88
+++ ChangeLog 28 Jan 2003 04:21:22 -0000
@@ -1,5 +1,10 @@
+2003-01-28 Jonathan Larmour <jifl@eCosCentric.com>
+
+ * cdl/thread.cdl: Correct max legal value for
+ CYGNUM_KERNEL_THREADS_DATA_MAX.
+
2003-01-22 Jonathan Larmour <jifl@eCosCentric.com>
* doc/kernel.sgml: Document cyg_thread_info type.
2003-01-13 Dmitriy Korovkin <dkorovkin@rambler.ru>
Index: cdl/thread.cdl
===================================================================
RCS file: /cvs/ecos/ecos/packages/kernel/current/cdl/thread.cdl,v
retrieving revision 1.8
diff -u -5 -p -r1.8 thread.cdl
--- cdl/thread.cdl 23 May 2002 23:06:45 -0000 1.8
+++ cdl/thread.cdl 28 Jan 2003 04:21:22 -0000
@@ -163,20 +163,22 @@ cdl_component CYGVAR_KERNEL_THREADS_DATA
the ISO C library."
cdl_option CYGNUM_KERNEL_THREADS_DATA_MAX {
display "Number of words of per-thread data"
flavor data
- legal_values 4 to 65535
+ legal_values 4 to 31
default_value 6
description "
It is possible for the kernel to support per-thread data, in
other words an area of memory specific to each thread which
can be used to store data for that thread. This per-thread
data can be used by applications or by other packages such as
the ISO C library. This configuration option controls the
number of words of per-thread data that the kernel will
- allow."
+ allow. In the current implementation a bitmask is used to identify
+ used per-thread data slots and so the maximum legal value must
+ remain 31."
}
cdl_component CYGNUM_KERNEL_THREADS_DATA_ALL {
display "Bitmap of preallocated slots of thread data"
flavor data