summaryrefslogtreecommitdiffstats
path: root/doc/new_chapters/gen_section
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@oarcorp.com>2014-03-07 13:18:03 -0600
committerJoel Sherrill <joel.sherrill@oarcorp.com>2014-03-11 13:21:47 -0500
commit653ed5e151693df9c8484d6e3c7817c57def647e (patch)
tree42ef4a9d32521d185f4c62831e2cbe9427633b47 /doc/new_chapters/gen_section
parentb4b86b825ac6bbdc727063041251d13f4353a755 (diff)
downloadrtems-653ed5e151693df9c8484d6e3c7817c57def647e.tar.bz2
gen_section: Update for use with new SMP chapters.
Diffstat (limited to '')
-rw-r--r--doc/new_chapters/gen_section21
1 files changed, 19 insertions, 2 deletions
diff --git a/doc/new_chapters/gen_section b/doc/new_chapters/gen_section
index 21f2ccd27d..a4524b1191 100644
--- a/doc/new_chapters/gen_section
+++ b/doc/new_chapters/gen_section
@@ -7,6 +7,20 @@
chapter=$1
case ${chapter} in
+ smp) # Classic API SMP
+ CHAPTER_CAPS="Symmetric Multiprocessing"
+ CHAPTER_LOWER="symmetric multiprocessing"
+ # XXX
+ ROUTINES="rtems_task_get_affinity \
+ rtems_task_set_affinity"
+ ;;
+ pthreadsmp) # POSIX API SMP
+ CHAPTER_CAPS="Thread Affinity"
+ CHAPTER_LOWER="Thread Affinity"
+ # XXX
+ ROUTINES="pthread_attr_getaffinity_np pthread_attr_setaffinity_np \
+ pthread_getaffinity_np pthread_setaffinity_np"
+ ;;
process)
CHAPTER_CAPS="Process Creation and Execution"
CHAPTER_LOWER="process creation and execution"
@@ -152,7 +166,7 @@ if [ "x${CHAPTER_CAPS}" = "x" -o "x${CHAPTER_LOWER}" = "x" \
fi
echo "@c"
-echo "@c COPYRIGHT (c) 1988-2002."
+echo "@c COPYRIGHT (c) 1988-2014."
echo "@c On-Line Applications Research Corporation (OAR)."
echo "@c All rights reserved. "
echo "@c"
@@ -170,7 +184,7 @@ echo "@itemize @bullet"
for routine in ${ROUTINES}
do
- echo "@item @code{${routine}} - "
+ echo "@item @code{${routine}} - TBD"
done
echo "@end itemize"
@@ -189,6 +203,9 @@ echo ""
for routine in ${ROUTINES}
do
+ echo "@c"
+ echo "@c ${routine}"
+ echo "@c"
echo "@page"
echo "@subsection ${routine} - "
echo ""