Commit Graph

347 Commits

Author SHA1 Message Date
Sebastian Huber
e239760f6a score: SMP_FATAL_SCHEDULER_WITHOUT_PROCESSORS
Avoid the SMP_FATAL_SCHEDULER_WITHOUT_PROCESSORS fatal error and make it
a run-time error in rtems_scheduler_ident() and _Scheduler_Get_by_id().
2014-05-05 08:26:27 +02:00
Sebastian Huber
d20b029af9 doc: Add SMP glossary 2014-05-05 08:26:27 +02:00
Ralf Kirchner
0832ca7dc3 doc: Extend documentation for unlimited objects
Mark POSIX Keys and POSIX Key Value Pairs as supported.
Add list of unsupported object classes.
Add hint to unified work areas.
Add example.
2014-04-30 08:29:55 +02:00
Sebastian Huber
fab2f1885c doc: Setting Affinity to a Single Processor 2014-04-22 08:34:45 +02:00
Sebastian Huber
10e613ba52 doc: Typo 2014-04-17 08:06:39 +02:00
Sebastian Huber
f8300293ae doc: rtems_task_set_scheduler() 2014-04-17 08:06:39 +02:00
Sebastian Huber
babb1a2ce8 doc: rtems_task_get_scheduler() 2014-04-17 08:06:39 +02:00
Sebastian Huber
d1f2f222d2 doc: rtems_scheduler_get_processor_set() 2014-04-17 08:06:39 +02:00
Sebastian Huber
89c1a21f9c doc: rtems_scheduler_ident() 2014-04-17 08:06:38 +02:00
Sebastian Huber
ed859d514a doc: rtems_task_set_affinity() 2014-04-17 08:06:38 +02:00
Sebastian Huber
2be51ccf6e doc: rtems_task_get_affinity() 2014-04-17 08:06:38 +02:00
Sebastian Huber
4a93980a14 doc: rtems_get_current_processor() 2014-04-17 08:06:38 +02:00
Sebastian Huber
6809383d76 doc: rtems_get_processor_count() 2014-04-17 08:06:38 +02:00
Sebastian Huber
c5831a3f9a score: Add clustered/partitioned scheduling
Clustered/partitioned scheduling helps to control the worst-case
latencies in the system.  The goal is to reduce the amount of shared
state in the system and thus prevention of lock contention.  Modern
multi-processor systems tend to have several layers of data and
instruction caches.  With clustered/partitioned scheduling it is
possible to honour the cache topology of a system and thus avoid
expensive cache synchronization traffic.

We have clustered scheduling in case the set of processors of a system
is partitioned into non-empty pairwise-disjoint subsets.  These subsets
are called clusters.  Clusters with a cardinality of one are partitions.
Each cluster is owned by exactly one scheduler instance.
2014-04-15 10:41:44 +02:00
Sebastian Huber
133d54c55e score: Add scheduler name 2014-04-15 08:37:12 +02:00
Sebastian Huber
e1598a616d score: Static scheduler configuration
Do not allocate the scheduler control structures from the workspace.
This is a preparation step for configuration of clustered/partitioned
schedulers on SMP.
2014-04-15 08:37:11 +02:00
Sebastian Huber
263f4becea score: Statically initialize IO manager
This simplifies the RTEMS initialization and helps to avoid a memory
overhead.  The workspace demands of the IO manager were not included in
the <rtems/confdefs.h> workspace size estimate.  This is also fixed as a
side-effect.

Update documentation and move "Specifying Application Defined Device
Driver Table" to the section end.  This sub-section is not that
important for the user.  Mentioning this at the beginning may lead to
confusion.
2014-04-10 12:37:40 +02:00
Sebastian Huber
3a4d28a8c3 documentation: Clarify 2014-04-10 12:34:00 +02:00
Sebastian Huber
d61f550246 documentation: Move CONFIGURE_MAXIMUM_DEVICES
Move CONFIGURE_MAXIMUM_DEVICES documentation to "File System
Configuration Parameters".  This define has nothing to do with the
device driver table.
2014-04-10 11:52:22 +02:00
Joel Sherrill
d507c03731 Disable per task variables when SMP is enabled
Per task variables are inherently unsafe in SMP systems. This
patch disables them from the build and adds warnings in the
appropriate documentation and configuration sections.
2014-04-04 14:27:27 -05:00
Joel Sherrill
2aeeaa00f9 doc: Improve description of rtems_status_text for ToC 2014-03-11 19:04:06 -05:00
Joel Sherrill
89e72a80c9 smp.t: Add Background and Operation Sections 2014-03-11 19:03:53 -05:00
Joel Sherrill
d46ab11bcd Classic API Users Guide: Add SMP and affinity services.
This patch adds the initial version of the SMP chapter to the Users Guide.
2014-03-11 16:27:57 -05:00
Joel Sherrill
30d1176618 stackchk.t task.t: Change can not to cannot for consistency 2014-03-11 16:27:57 -05:00
Sebastian Huber
bab16de267 score: Change debug helper functions
Rename rtems_internal_error_description() to
rtems_internal_error_text().  Rename rtems_fatal_source_description() to
rtems_fatal_source_text().  Rename rtems_status_code_description() to
rtems_status_text().  Remove previous implementation of
rtems_status_text().
2014-02-12 09:18:00 +01:00
Sebastian Huber
920a43e639 rtems: Add rtems_status_code_description() 2014-02-06 08:47:02 +01:00
Chris Johns
2d1bdc8f79 cpukit/rtems: Add rtems_clock_get_uptime_nanoseconds to the RTEMS API.
Add Timestamp support in the score to return a timestamp in nanoseconds.
Add a test.
Update the RTEMS API documentation.
2013-12-24 16:46:19 +11:00
Shubham Somani
e4ced53e68 doc: Document format in conf.t 2013-10-15 13:14:13 -04:00
Sebastian Huber
99b35052ae smp: Add Deterministic Priority SMP Scheduler 2013-08-20 10:17:35 +02:00
Sebastian Huber
540e860331 documentation: Directives allowed from an ISR
Update list.
2013-08-14 11:10:45 +02:00
Shubham Somani
45ca51c4f7 doc/user/conf.t: More clean ups 2013-07-29 13:06:31 -05:00
Joel Sherrill
989604a56f conf.t: Fix minor typos. 2013-07-24 15:30:24 -05:00
Cynthia Rempel
3c495d510d doc/user/conf.t: Fix SMP_MAXIMUM_PROCESSORS and add Go configuration 2013-07-24 13:14:28 -05:00
Cynthia Rempel
1f6138e50f doc/user/conf.t: Fix SMP_MAXIMUM_PROCESSORS and add Go Configuration 2013-07-22 18:30:07 -05:00
Cynthia Rempel
873859a405 Make the default values easier for the configuration GUI to parse 2013-06-12 13:52:55 -04:00
Sebastian Huber
c7bc6d44cb rtems: Add interrupt locks
Interrupt locks are low-level lock to protect critical sections accessed
by threads and interrupt service routines.
2013-06-12 16:11:24 +02:00
Sebastian Huber
14c55cc0f8 doc: Config documentation changes throughout 2013-04-10 16:09:12 +02:00
Sebastian Huber
a6a88f4b0e doc: Add bdbuf configuration options 2013-04-10 15:47:54 +02:00
Joel Sherrill
b2cf295fb0 user/conf.t: Address User Feedback from Stephen Tether
Stephen Tether <tether@slac.stanford.edu> posted to the users list:

http://www.rtems.org/pipermail/rtems-users/2013-April/011273.html

I tried to make the requested changes.
2013-04-09 13:15:40 -05:00
Joel Sherrill
034483dcaa user/overview.t: Fix broken cross reference 2013-04-09 13:15:39 -05:00
Joel Sherrill
6cb356713b doc/user/conf.t: Rewrite to emphasize confdefs.h and add detail
This patch includes a heavy rewrite of the chapter to have a more
structured approach to this chapter.  It also changes the sectioning
to have the Data Structures be a section to themselves as a peer in the
outline with each logical area of macros in confdefs.h.
2013-04-09 13:15:12 -05:00
Joel Sherrill
9215bfb3dc user/preface.texi: Add NEC V850 and SPARC V9 2013-02-26 08:03:58 -06:00
Joel Sherrill
a26834d25a user/overview.t: Add missing chapters to overview 2013-02-26 08:03:58 -06:00
Joel Sherrill
4eaf781826 doc master include files: Do not include top node on printed output
In PDF, DVI, and PostScript files, the contents of the @top
node were being printed. These are intended only for info
and html output formats.
2013-02-26 08:03:58 -06:00
Joel Sherrill
838bfb6b5d doc: Update version.texi and stamp-vti files
See http://www.rtems.org/pipermail/rtems-devel/2013-February/002466.html
for instructions on how to do this.
2013-02-26 08:03:58 -06:00
Joel Sherrill
df0ec89100 doc/user Object Id Figures: Correct rotation and border
The 16 bit Object Id image was incorrectly rotated in the manual.
Both the 16 and 32 Object Id bit images had thin borders on the table
and the bottom line was not visible in the PDF. I tinkered with the
original drawings to add a bit more space around the tables and
manually converted the PNG to EPS using Gimp to ensure a controlled
and high quality conversion.
2013-02-26 08:03:58 -06:00
Joel Sherrill
3695c58884 doc/user/semaphore_attributes.eps: Correct rotation 2013-02-26 08:03:58 -06:00
Joel Sherrill
380daa257b doc/c_user: Fix Lines that were too long 2013-02-26 08:03:58 -06:00
Joel Sherrill
b6ecf33c99 doc: Update to build info format with texinfo 4.13 and 5.0
Texinfo 5.0 is a complete reimplementation and has stricter
interpretations of the texinfo language.
2013-02-26 08:03:57 -06:00
Ralf Corsépius
f244890311 Add missing @item. 2013-02-26 08:10:34 +01:00