summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1996-05-29 21:27:26 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1996-05-29 21:27:26 +0000
commit7f72217e977cc34583f9bb479f13f809aedaa7fd (patch)
treeed67e8fa5f1752cd6721374cf316956aa503d417
parenttypes.c: spacing (diff)
downloadrtems-7f72217e977cc34583f9bb479f13f809aedaa7fd.tar.bz2
comment clean up
-rw-r--r--c/src/exec/libcsupport/src/utsname.c3
-rw-r--r--c/src/exec/posix/src/aio.c3
-rw-r--r--c/src/exec/posix/src/cancel.c3
-rw-r--r--c/src/exec/posix/src/cond.c3
-rw-r--r--c/src/exec/posix/src/devctl.c3
-rw-r--r--c/src/exec/posix/src/intr.c5
-rw-r--r--c/src/exec/posix/src/key.c3
-rw-r--r--c/src/exec/posix/src/mqueue.c3
-rw-r--r--c/src/exec/posix/src/psignal.c3
-rw-r--r--c/src/exec/posix/src/pthread.c5
-rw-r--r--c/src/exec/posix/src/sched.c3
-rw-r--r--c/src/exec/posix/src/semaphore.c3
-rw-r--r--c/src/exec/posix/src/time.c3
-rw-r--r--c/src/exec/posix/src/types.c3
-rw-r--r--c/src/exec/posix/src/unistd.c3
-rw-r--r--c/src/exec/posix/src/utsname.c3
-rw-r--r--c/src/lib/libc/utsname.c3
-rw-r--r--cpukit/libcsupport/src/utsname.c3
-rw-r--r--cpukit/posix/src/aio.c3
-rw-r--r--cpukit/posix/src/cancel.c3
-rw-r--r--cpukit/posix/src/cond.c3
-rw-r--r--cpukit/posix/src/devctl.c3
-rw-r--r--cpukit/posix/src/intr.c5
-rw-r--r--cpukit/posix/src/key.c3
-rw-r--r--cpukit/posix/src/mqueue.c3
-rw-r--r--cpukit/posix/src/psignal.c3
-rw-r--r--cpukit/posix/src/pthread.c5
-rw-r--r--cpukit/posix/src/sched.c3
-rw-r--r--cpukit/posix/src/semaphore.c3
-rw-r--r--cpukit/posix/src/time.c3
-rw-r--r--cpukit/posix/src/types.c3
31 files changed, 39 insertions, 62 deletions
diff --git a/c/src/exec/libcsupport/src/utsname.c b/c/src/exec/libcsupport/src/utsname.c
index 95ab0e54bb..7fba3d610f 100644
--- a/c/src/exec/libcsupport/src/utsname.c
+++ b/c/src/exec/libcsupport/src/utsname.c
@@ -1,5 +1,4 @@
-/* utsname.c
- *
+/*
* $Id$
*/
diff --git a/c/src/exec/posix/src/aio.c b/c/src/exec/posix/src/aio.c
index 07df5ae02f..9fc072f820 100644
--- a/c/src/exec/posix/src/aio.c
+++ b/c/src/exec/posix/src/aio.c
@@ -1,5 +1,4 @@
-/* aio.c
- *
+/*
* $Id$
*/
diff --git a/c/src/exec/posix/src/cancel.c b/c/src/exec/posix/src/cancel.c
index 54cba95035..b6cc073456 100644
--- a/c/src/exec/posix/src/cancel.c
+++ b/c/src/exec/posix/src/cancel.c
@@ -1,5 +1,4 @@
-/* cancel.c
- *
+/*
* $Id$
*/
diff --git a/c/src/exec/posix/src/cond.c b/c/src/exec/posix/src/cond.c
index c5c91d20e7..bba0f1991f 100644
--- a/c/src/exec/posix/src/cond.c
+++ b/c/src/exec/posix/src/cond.c
@@ -1,5 +1,4 @@
-/* cond.c
- *
+/*
* $Id$
*/
diff --git a/c/src/exec/posix/src/devctl.c b/c/src/exec/posix/src/devctl.c
index 903375c34d..699bc2d228 100644
--- a/c/src/exec/posix/src/devctl.c
+++ b/c/src/exec/posix/src/devctl.c
@@ -1,5 +1,4 @@
-/* devctl.c
- *
+/*
* $Id$
*/
diff --git a/c/src/exec/posix/src/intr.c b/c/src/exec/posix/src/intr.c
index 7f9c62964d..d82af2e266 100644
--- a/c/src/exec/posix/src/intr.c
+++ b/c/src/exec/posix/src/intr.c
@@ -1,9 +1,10 @@
-/* intr.c
- *
+/*
* NOTE: Each task has an interrupt semaphore associated with it.
* No matter which interrupt occurs that it has registered,
* the same semaphore is used.
*
+ * This whole interrupt scheme may have been eliminated in a later draft.
+ *
* $Id$
*/
diff --git a/c/src/exec/posix/src/key.c b/c/src/exec/posix/src/key.c
index fcfbd1715d..5a6cc4b4f3 100644
--- a/c/src/exec/posix/src/key.c
+++ b/c/src/exec/posix/src/key.c
@@ -1,5 +1,4 @@
-/* key.c
- *
+/*
* $Id$
*/
diff --git a/c/src/exec/posix/src/mqueue.c b/c/src/exec/posix/src/mqueue.c
index cde97bea2d..364d30169e 100644
--- a/c/src/exec/posix/src/mqueue.c
+++ b/c/src/exec/posix/src/mqueue.c
@@ -1,5 +1,4 @@
-/* mqueue.c
- *
+/*
* NOTE: The structure of the routines is identical to that of POSIX
* Message_queues to leave the option of having unnamed message
* queues at a future date. They are currently not part of the
diff --git a/c/src/exec/posix/src/psignal.c b/c/src/exec/posix/src/psignal.c
index 9a43fc7c07..32f6975c84 100644
--- a/c/src/exec/posix/src/psignal.c
+++ b/c/src/exec/posix/src/psignal.c
@@ -1,5 +1,4 @@
-/* signal.c
- *
+/*
* $Id$
*/
diff --git a/c/src/exec/posix/src/pthread.c b/c/src/exec/posix/src/pthread.c
index b46af6853b..6a980d9282 100644
--- a/c/src/exec/posix/src/pthread.c
+++ b/c/src/exec/posix/src/pthread.c
@@ -577,10 +577,11 @@ int pthread_create(
core_priority = _POSIX_Priority_To_core( attrp->schedparam.sched_priority );
/*
- * Currently all POSIX threads are floating point.
+ * Currently all POSIX threads are floating point if the hardware
+ * supports it.
*/
- is_fp = TRUE;
+ is_fp = CPU_HARDWARE_FP;
/*
* Disable dispatch for protection
diff --git a/c/src/exec/posix/src/sched.c b/c/src/exec/posix/src/sched.c
index d1e0b9e320..44b6337c70 100644
--- a/c/src/exec/posix/src/sched.c
+++ b/c/src/exec/posix/src/sched.c
@@ -1,5 +1,4 @@
-/* sched.c
- *
+/*
* $Id$
*/
diff --git a/c/src/exec/posix/src/semaphore.c b/c/src/exec/posix/src/semaphore.c
index e17124152c..488e42b8e7 100644
--- a/c/src/exec/posix/src/semaphore.c
+++ b/c/src/exec/posix/src/semaphore.c
@@ -1,5 +1,4 @@
-/* semaphore.c
- *
+/*
* $Id$
*/
diff --git a/c/src/exec/posix/src/time.c b/c/src/exec/posix/src/time.c
index 3ccf36c188..58e8fafb10 100644
--- a/c/src/exec/posix/src/time.c
+++ b/c/src/exec/posix/src/time.c
@@ -1,5 +1,4 @@
-/* time.c
- *
+/*
* $Id$
*/
diff --git a/c/src/exec/posix/src/types.c b/c/src/exec/posix/src/types.c
index 647e0b7056..194840305f 100644
--- a/c/src/exec/posix/src/types.c
+++ b/c/src/exec/posix/src/types.c
@@ -1,5 +1,4 @@
-/* types.c
- *
+/*
* $Id$
*/
diff --git a/c/src/exec/posix/src/unistd.c b/c/src/exec/posix/src/unistd.c
index 1c99fd61b6..f5d13b3adf 100644
--- a/c/src/exec/posix/src/unistd.c
+++ b/c/src/exec/posix/src/unistd.c
@@ -1,5 +1,4 @@
-/* unistd.c
- *
+/*
* $Id$
*/
diff --git a/c/src/exec/posix/src/utsname.c b/c/src/exec/posix/src/utsname.c
index 95ab0e54bb..7fba3d610f 100644
--- a/c/src/exec/posix/src/utsname.c
+++ b/c/src/exec/posix/src/utsname.c
@@ -1,5 +1,4 @@
-/* utsname.c
- *
+/*
* $Id$
*/
diff --git a/c/src/lib/libc/utsname.c b/c/src/lib/libc/utsname.c
index 95ab0e54bb..7fba3d610f 100644
--- a/c/src/lib/libc/utsname.c
+++ b/c/src/lib/libc/utsname.c
@@ -1,5 +1,4 @@
-/* utsname.c
- *
+/*
* $Id$
*/
diff --git a/cpukit/libcsupport/src/utsname.c b/cpukit/libcsupport/src/utsname.c
index 95ab0e54bb..7fba3d610f 100644
--- a/cpukit/libcsupport/src/utsname.c
+++ b/cpukit/libcsupport/src/utsname.c
@@ -1,5 +1,4 @@
-/* utsname.c
- *
+/*
* $Id$
*/
diff --git a/cpukit/posix/src/aio.c b/cpukit/posix/src/aio.c
index 07df5ae02f..9fc072f820 100644
--- a/cpukit/posix/src/aio.c
+++ b/cpukit/posix/src/aio.c
@@ -1,5 +1,4 @@
-/* aio.c
- *
+/*
* $Id$
*/
diff --git a/cpukit/posix/src/cancel.c b/cpukit/posix/src/cancel.c
index 54cba95035..b6cc073456 100644
--- a/cpukit/posix/src/cancel.c
+++ b/cpukit/posix/src/cancel.c
@@ -1,5 +1,4 @@
-/* cancel.c
- *
+/*
* $Id$
*/
diff --git a/cpukit/posix/src/cond.c b/cpukit/posix/src/cond.c
index c5c91d20e7..bba0f1991f 100644
--- a/cpukit/posix/src/cond.c
+++ b/cpukit/posix/src/cond.c
@@ -1,5 +1,4 @@
-/* cond.c
- *
+/*
* $Id$
*/
diff --git a/cpukit/posix/src/devctl.c b/cpukit/posix/src/devctl.c
index 903375c34d..699bc2d228 100644
--- a/cpukit/posix/src/devctl.c
+++ b/cpukit/posix/src/devctl.c
@@ -1,5 +1,4 @@
-/* devctl.c
- *
+/*
* $Id$
*/
diff --git a/cpukit/posix/src/intr.c b/cpukit/posix/src/intr.c
index 7f9c62964d..d82af2e266 100644
--- a/cpukit/posix/src/intr.c
+++ b/cpukit/posix/src/intr.c
@@ -1,9 +1,10 @@
-/* intr.c
- *
+/*
* NOTE: Each task has an interrupt semaphore associated with it.
* No matter which interrupt occurs that it has registered,
* the same semaphore is used.
*
+ * This whole interrupt scheme may have been eliminated in a later draft.
+ *
* $Id$
*/
diff --git a/cpukit/posix/src/key.c b/cpukit/posix/src/key.c
index fcfbd1715d..5a6cc4b4f3 100644
--- a/cpukit/posix/src/key.c
+++ b/cpukit/posix/src/key.c
@@ -1,5 +1,4 @@
-/* key.c
- *
+/*
* $Id$
*/
diff --git a/cpukit/posix/src/mqueue.c b/cpukit/posix/src/mqueue.c
index cde97bea2d..364d30169e 100644
--- a/cpukit/posix/src/mqueue.c
+++ b/cpukit/posix/src/mqueue.c
@@ -1,5 +1,4 @@
-/* mqueue.c
- *
+/*
* NOTE: The structure of the routines is identical to that of POSIX
* Message_queues to leave the option of having unnamed message
* queues at a future date. They are currently not part of the
diff --git a/cpukit/posix/src/psignal.c b/cpukit/posix/src/psignal.c
index 9a43fc7c07..32f6975c84 100644
--- a/cpukit/posix/src/psignal.c
+++ b/cpukit/posix/src/psignal.c
@@ -1,5 +1,4 @@
-/* signal.c
- *
+/*
* $Id$
*/
diff --git a/cpukit/posix/src/pthread.c b/cpukit/posix/src/pthread.c
index b46af6853b..6a980d9282 100644
--- a/cpukit/posix/src/pthread.c
+++ b/cpukit/posix/src/pthread.c
@@ -577,10 +577,11 @@ int pthread_create(
core_priority = _POSIX_Priority_To_core( attrp->schedparam.sched_priority );
/*
- * Currently all POSIX threads are floating point.
+ * Currently all POSIX threads are floating point if the hardware
+ * supports it.
*/
- is_fp = TRUE;
+ is_fp = CPU_HARDWARE_FP;
/*
* Disable dispatch for protection
diff --git a/cpukit/posix/src/sched.c b/cpukit/posix/src/sched.c
index d1e0b9e320..44b6337c70 100644
--- a/cpukit/posix/src/sched.c
+++ b/cpukit/posix/src/sched.c
@@ -1,5 +1,4 @@
-/* sched.c
- *
+/*
* $Id$
*/
diff --git a/cpukit/posix/src/semaphore.c b/cpukit/posix/src/semaphore.c
index e17124152c..488e42b8e7 100644
--- a/cpukit/posix/src/semaphore.c
+++ b/cpukit/posix/src/semaphore.c
@@ -1,5 +1,4 @@
-/* semaphore.c
- *
+/*
* $Id$
*/
diff --git a/cpukit/posix/src/time.c b/cpukit/posix/src/time.c
index 3ccf36c188..58e8fafb10 100644
--- a/cpukit/posix/src/time.c
+++ b/cpukit/posix/src/time.c
@@ -1,5 +1,4 @@
-/* time.c
- *
+/*
* $Id$
*/
diff --git a/cpukit/posix/src/types.c b/cpukit/posix/src/types.c
index 647e0b7056..194840305f 100644
--- a/cpukit/posix/src/types.c
+++ b/cpukit/posix/src/types.c
@@ -1,5 +1,4 @@
-/* types.c
- *
+/*
* $Id$
*/