summaryrefslogtreecommitdiffstats
path: root/doc/user
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@oarcorp.com>2013-02-22 16:02:23 -0600
committerJoel Sherrill <joel.sherrill@oarcorp.com>2013-02-26 08:03:58 -0600
commit380daa257b3dabb1f7e83414f3a4f720cb4ca3ee (patch)
tree986884b009c4940b9b264136e8fda290c38b2113 /doc/user
parent0c59b4bb83ec68cf498f6ebaa5d3ee806c03ed32 (diff)
downloadrtems-380daa257b3dabb1f7e83414f3a4f720cb4ca3ee.tar.bz2
doc/c_user: Fix Lines that were too long
Diffstat (limited to '')
-rw-r--r--doc/user/cpuuse.t4
-rw-r--r--doc/user/example.texi14
2 files changed, 9 insertions, 9 deletions
diff --git a/doc/user/cpuuse.t b/doc/user/cpuuse.t
index 743f687159..f3035d1daf 100644
--- a/doc/user/cpuuse.t
+++ b/doc/user/cpuuse.t
@@ -56,7 +56,7 @@ This routine prints a table with the following information per task:
The following is an example of the report generated:
-@example
+@smallexample
@group
-------------------------------------------------------------------------------
CPU USAGE BY THREAD
@@ -72,7 +72,7 @@ The following is an example of the report generated:
TOTAL UNITS: 1608
-------------------------------------------------------------------------------
@end group
-@end example
+@end smallexample
Notice that the "TOTAL UNITS" is greater than the ticks per reset.
This is an artifact of the way in which RTEMS keeps track of CPU
diff --git a/doc/user/example.texi b/doc/user/example.texi
index a9f67c6c62..f95868e88e 100644
--- a/doc/user/example.texi
+++ b/doc/user/example.texi
@@ -11,9 +11,7 @@
* This file contains an example of a simple RTEMS
* application. It instantiates the RTEMS Configuration
* Information using confdef.h and contains two tasks:
- * a * user initialization task and a simple task.
- *
- * This example assumes that a board support package exists.
+ * a user initialization task and a simple task.
*/
#include <rtems.h>
@@ -66,8 +64,11 @@ rtems_task user_application(rtems_task_argument argument)
@}
@}
-#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER /* for stdio */
-#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER /* for time services */
+/* The Console Driver supplies Standard I/O. */
+#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
+
+/* The Clock Driver supplies the clock tick. */
+#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
#define CONFIGURE_MAXIMUM_TASKS 2
@@ -75,8 +76,7 @@ rtems_task user_application(rtems_task_argument argument)
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#define CONFIGURE_INIT
-
-#include <confdefs.h>
+#include <rtems/confdefs.h>
@end example