21 Commits

Author SHA1 Message Date
Joel Sherrill
32de9ff259 c-user: Add Local vs Global to Key Concepts Chapter
Add multiple new index entries and cite them where RTEMS_LOCAL
and RTEMS_GLOBAL are cited.

Closes #4453.
2022-12-07 12:35:19 -06:00
Joel Sherrill
aaba6e5826 c-user/*: Add trailing parentheses on methods in index which were missing it
Closes #4766.
2022-11-30 09:59:20 -06:00
Sebastian Huber
f1eb94b143 c-user: Do not mention pseudo-interrupt priority
Update #2365.
2022-07-26 11:25:42 +02:00
Martin Erik Werner
2e711f2b4b Address several issues from compiling examples
Compiling the code from examples "code-block:: c" along with public
includes and a bsp exposed a few issues amongst a lot of false
positives. Address some of these:

* Terminate struct declarations with ';'. Mainly for pedantic
  correctness.

* Show ptrdiff_t instead of size_t for the sbrk() prototype, matching
  the current argument type in rtems.

* Replace some occurrences of unsigned16 with uint16_t.

* Fix odd type declaration, "uint8_t char*" -> "char*".

* Use appropriate helper to get chain head instead of invalid access to
  nonexistent struct member.

* Remove several excess '\' escapes.

* Use RTEMS_SELF instead of undefined SELF.

* Use rtems_task instead of void for task functions.

* Add missing stack size parameter in task creation.

* Use rtems_interrupt_level instead of undefined rtems_interrupt.

* Correct return value format for rtems_object_id_get_api()
  rtems_object_id_get_index() (enum and uint16_t) and also fix
  corresponding print formatting.

* Correct return value documentation for rtems_object_id_get_class(),
  rtems_object_id_get_node() and rtems_object_id_get_index()
  int -> uint32_t.

* Use RTEMS_SUCCESSFUL instead of undefined RTEMS_STATUS_SUCCESSFUL and
  fix return value variable name in rate monotonic examples.

* Use RTEMS_TIMEOUT instead of undefined TIMEOUT and RTEMS_PERIOD_STATUS
  instead of undefined STATUS.

* Add missing fields to ftpd configuration.

* Correct parameter types in ftpd hook prototype,
  unsigned char * -> void *.

* Fix various code-block:: attributes, c -> makefile and c -> shell.

* Add missing parenthesis in socket buffer memory calculation example.

* Remove typedef in declaration of mq_attr since it is defiend without
  typedef in reality.

* Update siginfo_t declaration to match current reality.

* Update shell user command definition example to include mode, uid and
  gid.
2019-09-03 09:48:35 +10:00
Sebastian Huber
9868f93ec4 c-user: Mention transitive priority inheritance 2019-04-10 09:31:26 +02:00
Sebastian Huber
e52906b556 Simplify SPDX-License-Identifier comment 2019-01-11 07:22:01 +01:00
Sebastian Huber
12dccfe716 Remove superfluous "All rights reserved." 2019-01-11 07:18:56 +01:00
Sebastian Huber
4886d60aa8 Use standard format for copyright lines 2019-01-11 07:18:16 +01:00
Sebastian Huber
92745a4baa c-user: Remove 16-bit object identifiers
Close #3603.
2018-11-21 08:08:04 +01:00
Sebastian Huber
464d541653 c-user: Use uniprocessor throughout 2018-03-07 15:33:02 +01:00
Chris Johns
33849946ff Clean up sphinx warnings.
- Fix minor formatting issues.
- Fix reference the gloassary TLS using ':term:'.
- Make sure nothing is between an anchor and the heading where ':ref:' references
  the anchor. This meant moving all the recently added '.. index::' entries.

Update #3232.
Update #3229.
2017-11-13 13:25:18 +11:00
Chris Johns
6c5640131f c-user: Fix index locations.
Update #3229.
2017-11-12 14:34:48 +11:00
Sebastian Huber
60a6d6eae9 Change RTEMS version to 5
Update #3220.
2017-11-09 10:24:09 +01:00
Sebastian Huber
39773ce8bd c-user: Replace pre-emption with preemption 2017-05-11 09:26:09 +02:00
Sebastian Huber
3e005fed9a c-user: Use sphinx glossary support
Terms can be referenced via :term:`XYZ`.
2017-02-02 11:22:59 +01:00
Sebastian Huber
8add1793d2 c-user: Add Key concept locking protocols
Update #2412.
Update #2556.
2017-02-01 07:58:30 +01:00
Sebastian Huber
aaff696674 c-user: Add key concept thread queues
Update #2556.
2017-02-01 07:58:19 +01:00
Sebastian Huber
a17535d222 c-user: Add timer and timeouts key concept
Update #2554.
2017-01-30 13:52:23 +01:00
Sebastian Huber
e23f46c3b9 c-user: Update key concepts time 2017-01-30 11:32:24 +01:00
Chris Johns
4da4a15ee1 c-user: Fix header levels. Minor fixes. 2016-11-09 11:42:30 +11:00
Chris Johns
72a62ad88f Rename all manuals with an _ to have a -. It helps released naming of files. 2016-11-03 16:58:08 +11:00