182 Commits

Author SHA1 Message Date
Sebastian Huber
bc9ce6526b c-user: Move basic system configuration
Move the basic system configuration to the front.  Rename it to "General
System Configuration".

Update #3836.
2019-12-11 09:07:15 +01:00
Martin Erik Werner
a62dfdeaa2 barrier: Reword "forever" -> "until [..] released" 2019-11-06 18:37:44 -06:00
Martin Erik Werner
008520ab6c barrier: Remove more semaphore leftovers
Remove another mention of options which is available for semaphore but
not for barriers.
2019-11-06 18:37:44 -06:00
Martin Erik Werner
b8715adc3f barrier: Fix cticket->ticket typo 2019-11-06 18:37:44 -06:00
Martin Erik Werner
5207248d1d barrier: Remove unfinished sentence
Remove the unfinished sentence
"Since a barrier is, by definition, never immediately [...]"
and jump directly to
"The task may wait [forever or for a timeout]"
instead.

I cannot figure out what the unfinished sentence is supposed to be -
"released"? "passed"?
2019-11-06 18:37:44 -06:00
Martin Erik Werner
473b4a56c5 barrier: Remove leftover semaphore remnants
Remove various incorrect references to "lock" and "obtain" and to an
option set which is not part of the barrier interface.

It looks like the barrier documentation was started based on a copy of
the semaphore documentation and these things are surviving remnants.

Also remove an unfinished sentence in the barrier wait description,
since the intended information is already provided in the under the NOTE
label.
2019-11-06 18:37:44 -06:00
Joel Sherrill
4e9197ae0b c-user/directive_status_codes.rst: Add RTEMS_IO_ERROR and RTEMS_INTERRUPTED 2019-11-06 18:37:44 -06:00
Sebastian Huber
dee158cd68 c-user: Document RTEMS_FATAL_SOURCE_HEAP
Close #3806.
2019-10-31 13:29:41 +01: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
5a51c73130 c-user: Add RTEID and ORKID references 2019-06-21 07:44:50 +02:00
Sebastian Huber
fd9d02471b c-user: Add msg broadcast to ISR allowed funcs 2019-05-28 07:43:18 +02:00
Sebastian Huber
9868f93ec4 c-user: Mention transitive priority inheritance 2019-04-10 09:31:26 +02:00
Sebastian Huber
9cd7869ac4 c-user: Obsolete Go configuration options
Update #2832.
2019-04-09 08:37:27 +02:00
Sebastian Huber
53300c8e16 c-user: rtems_scheduler_get_processor_maximum()
Close #3732.
2019-04-09 08:12:17 +02:00
Sebastian Huber
3495a91aa9 c-user: Document rtems_scheduler_get_processor()
Close #3731.
2019-04-09 08:12:17 +02:00
Sebastian Huber
8ff7024f97 c-user: Mention atomic operations API 2019-03-13 08:32:43 +01:00
Chris Johns
fb72a002a3 Add unicode support for commonly used characters like copyright.
- This change makes the copyright character easier to see on editors
  lacking good unicode rendering support, ie terminals.
2019-02-28 10:22:54 +11:00
Sebastian Huber
789b0caad7 c-user: INTERNAL_ERROR_NO_MEMORY_FOR_PER_CPU_DATA
Update #3507.
2019-02-19 09:17:57 +01:00
Chris Johns
f7384cc2e2 Use pathto() on the genindex URL to make it relative. 2019-02-15 09:40:50 +11:00
Chris Johns
5d8b0ddd0a waf: Remove as many sys path hacks as we can.
There are still sys.path hacks in the conf.py files. They cannot
be removed because the instance of python running the sphinx-build
command does not see our top level path hacks. I looked at using
PYTHONPATH but I could not figure out how to set a process environ
var for a waf build instance.
2019-02-13 10:18:43 +11:00
Sebastian Huber
fa5a960a1f Add copyright notices 2019-02-08 09:43:16 +01:00
Sebastian Huber
6f110ccf6b build: Prepend project common path
This avoids conflicts with standard packages such as PIL (Python Imaging
Library).
2019-02-08 09:43:16 +01:00
Sebastian Huber
d06b1957cf c-user: Add event recording configuration
Update #3665.
2019-02-01 09:52:03 +01:00
Sebastian Huber
b5014fe0c8 Reformat and update copyright and license notices
For everything before 2015 an OAR copyright is assumed.  Later copyright
notices are based on Git commits on a best effort basis.

The copyright notices of the "RTEMS Software Engineering Handbook" and
the "RTEMS CPU Architecture Supplement" are incomplete.
2019-01-14 07:15:27 +01: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
50fbe0d9b4 Add common header.rst to reduce copy and paste 2019-01-09 09:24:02 +01:00
Frédéric Jouault
4de0da1968 c-user: Fix typos
Close #3261.
2019-01-04 11:11:03 +01:00
Sebastian Huber
16f33fd0e2 c-user: rtems_scheduler_get_maximum_priority()
Close #3636.
2018-12-10 09:19:55 +01:00
Sebastian Huber
92745a4baa c-user: Remove 16-bit object identifiers
Close #3603.
2018-11-21 08:08:04 +01:00
Sebastian Huber
e49e4056c7 c-user: Update type deprecation
Update #3584.
Update #3587.
Update #3589.
2018-11-16 07:21:25 +01:00
Sebastian Huber
00edae709d c-user: Use common wording for build config opts 2018-11-05 07:18:51 +01:00
Sebastian Huber
dd1c262d2a c-user: Update POSIX API configuration
Close ##2514.
2018-11-05 07:17:17 +01:00
Sebastian Huber
c68af1b00e Document CONFIGURE_MAXIMUM_POSIX_KEY_VALUE_PAIRS 2018-10-30 07:46:39 +01:00
Joel Sherrill
21fe48eb1a c-user/message_manager.rst: Change "cons void" to "const void"
Closes #3575.
2018-10-29 17:26:19 -05:00
Sebastian Huber
955d36640f c-user: Clarify scheduler configuration 2018-10-26 19:11:45 +02:00
Sebastian Huber
05a5366469 c-user: Modify CONFIGURE_INTERRUPT_STACK_SIZE
Use CPU_STACK_MINIMUM_SIZE instead of CONFIGURE_MINIMUM_TASK_STACK_SIZE
to set the default value.

Clarify documentation.

Update #3480.
2018-10-22 14:30:47 +02:00
Chris Johns
969e60e596 Update the copyright year. 2018-10-19 14:42:12 +11:00
Joel Sherrill
d40e66b2e9 c-user/index.rst: Reorder linker sets and directive status codes 2018-10-11 12:02:46 -05:00
Joel Sherrill
304bc2c873 barrier_manager.rst: Fix Barrier Wait Section Title
closes #3538.
2018-10-05 16:26:31 -05:00
Sebastian Huber
6a20bd2f4f c-user: Document rtems_task_exit()
Close #3533.
2018-10-04 11:05:26 +02:00
Sebastian Huber
cec2f2c9cf Remove CONFIGURE_HAS_OWN_CONFIGURATION_TABLE
Close #3489.
Close #3490.
2018-09-17 11:59:30 +02:00
Sebastian Huber
11040cf7c3 c-user: Remove CONFIGURE_HAS_OWN_MOUNT_TABLE
Close #3488.
2018-09-17 11:59:25 +02:00
Sebastian Huber
7c58036961 c-user: Mention thread pinning
Close #3508.
2018-09-10 07:09:46 +02:00
Sebastian Huber
d90c8137a8 c-user: Mention per-processor data
Close #3507.
2018-09-10 07:09:42 +02:00
Chris Johns
5ce8e43506 build: Fix indexing so it works on HTML and PDF.
- Remove all genindex.rst files, these are generated and should not
  exist in our source.
- Fix the HTML templates so the local specialisation works.
- Add a index link to the sidebar for HTML.

Note, there is no TOC entry for the index in the PDF output and I
cannot figure out how to add one.

Closes #3503
2018-08-21 13:47:40 +10:00
Sebastian Huber
142770b459 c-user: SMP is supported on RISC-V
Update #3433.
2018-08-11 15:43:37 +02:00
Sebastian Huber
0c4f2be0a8 c-user: Adjust integer types in partition create
Close #3486.
2018-08-10 07:19:31 +02:00
Sebastian Huber
806806cdcf c-user: CONFIGURE_MINIMUM_POSIX_THREAD_STACK_SIZE
Close #3434.
2018-08-07 08:37:22 +02:00