summaryrefslogtreecommitdiffstats
path: root/c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1995-12-05 21:41:21 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1995-12-05 21:41:21 +0000
commite88d2db77e39cf8ecd944fe64ec0212af99e3e5f (patch)
tree4fad915ccd09ba86a44cfb37a0f0c631202d8c48 /c
parentupdate from Andy Bray <andy@i-cubed.co.uk> (diff)
downloadrtems-e88d2db77e39cf8ecd944fe64ec0212af99e3e5f.tar.bz2
Added comments for addition of is_fp flag to _CPU_Context_Initialize.
Diffstat (limited to 'c')
-rw-r--r--c/src/exec/score/cpu/no_cpu/cpu.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/c/src/exec/score/cpu/no_cpu/cpu.h b/c/src/exec/score/cpu/no_cpu/cpu.h
index cda536249d..8c60ea3ece 100644
--- a/c/src/exec/score/cpu/no_cpu/cpu.h
+++ b/c/src/exec/score/cpu/no_cpu/cpu.h
@@ -534,6 +534,11 @@ EXTERN void (*_CPU_Thread_dispatch_pointer)();
* This routine generally does not set any unnecessary register
* in the context. The state of the "general data" registers is
* undefined at task start time.
+ *
+ * NOTE: This is_fp parameter is TRUE if the thread is to be a floating
+ * point thread. This is typically only used on CPUs where the
+ * FPU may be easily disabled by software such as on the SPARC
+ * where the PSR contains an enable FPU bit.
*/
#define _CPU_Context_Initialize( _the_context, _stack_base, _size, \