Commit Graph

32 Commits

Author SHA1 Message Date
Aun-Ali Zaidi
d5154d0f6a api: Remove deprecated Notepads
Notepads where a feature of RTEMS' tasks that simply functioned in
the same way as POSIX keys or threaded local storage (TLS). They were
introduced well before per task variables, which are also deprecated,
and were barely used in favor of their POSIX alternatives.

In addition to their scarce usage, Notepads took up unnecessary memory.
For each task:

 - 16 32-bit integers were allocated.
 - A total of 64 bytes per task per thread.

This is especially critical in low memory and safety-critical applications.

They are also defined as uint32_t, and therefore are not guaranteed to
hold a pointer.

Lastly, they are not portable solutions for SMP and uniprocessor systems,
like POSIX keys and TLS.

updates #2493.
2015-12-24 16:52:34 -06:00
Sebastian Huber
cdf30f0550 rtems: Add rtems_interrupt_local_disable|enable()
Add rtems_interrupt_local_disable|enable() as suggested by Pavel Pisa to
emphasize that interrupts are only disabled on the current processor.
Do not define the rtems_interrupt_disable|enable|flash() macros and
functions on SMP configurations since they don't ensure system wide
mutual exclusion.
2015-06-22 08:40:26 +02:00
Sebastian Huber
540e860331 documentation: Directives allowed from an ISR
Update list.
2013-08-14 11:10:45 +02: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
Joel Sherrill
9b4422a251 Remove All CVS Id Strings Possible Using a Script
Script does what is expected and tries to do it as
smartly as possible.

+ remove occurrences of two blank comment lines
  next to each other after Id string line removed.
+ remove entire comment blocks which only exited to
  contain CVS Ids
+ If the processing left a blank line at the top of
  a file, it was removed.
2012-05-11 08:44:13 -05:00
Joel Sherrill
0c5fa96e04 2010-06-16 Joel Sherrill <joel.sherrilL@OARcorp.com>
PR 1568/doc
	* user/intr.t: Fix list of services callable from ISR.
2010-06-16 19:34:14 +00:00
Joel Sherrill
f2d37869d0 2009-02-27 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1387/doc
	* user/intr.t: Add Interrupt Manager services to list of services
	callable from ISR.
2009-02-27 16:02:28 +00:00
Ralf Corsepius
b2adb4528f Convert to "bool". 2008-09-09 07:23:42 +00:00
Joel Sherrill
1be10249fb 2008-08-04 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1288/doc
	* user/intr.t: Update callable from ISR section.
2008-08-04 19:09:28 +00:00
Joel Sherrill
211cafba7f 2008-04-16 Joel Sherrill <joel.sherrill@OARcorp.com>
* user/bsp.t, user/conf.t, user/init.t, user/intr.t, user/overview.t,
	user/timer.t: Correct default values. Make it clear that confdefs.h
	calculates the memory required for you.
2008-04-16 18:30:16 +00:00
Glenn Humphrey
4ffbc49514 2007-10-25 Glenn Humphrey <glenn.humphrey@OARcorp.com>
* user/barrier.t, user/clock.t, user/concepts.t, user/cpuuse.t,
	user/init.t, user/intr.t, user/io.t, user/mp.t, user/rtmon.t,
	user/sem.t, user/stackchk.t, user/task.t, user/timer.t: Updated the
	Ada documentation to reflect the current binding.
2007-10-25 19:46:41 +00:00
Joel Sherrill
5aece64c56 2002-03-27 Eric Norum <eric.norum@usask.ca>
* intr.t: Per PR165, now correctly states that passing a NULL
	pointer for the return argument is an error.
2002-03-28 02:26:44 +00:00
Joel Sherrill
6449498bc7 2001-01-17 Joel Sherrill <joel@OARcorp.com>
* SUPPORT, LICENSE: New files.
	* Numerous files touched as part of merging the 4.5 branch
	onto the mainline development trunk and ensuring that the
	script that cuts snapshots and releases works on the documentation.
2002-01-17 21:47:47 +00:00
Joel Sherrill
adee597960 Numerous changes based on comments from Stephan Wilms <Stephan.Wilms@CWA.de>
including a new section in the Getting Started called "Where to
Go From Here", lots of index entries added, and more configuration
table information.
2000-05-04 19:45:17 +00:00
Joel Sherrill
0660b4f892 Changed copyright date to 1999. 1999-11-16 19:50:56 +00:00
Joel Sherrill
169502ea55 Turned on concept and function name indexing. 1999-10-11 19:03:05 +00:00
Joel Sherrill
e070a9db4b Corrected a typo. 1999-10-06 15:52:13 +00:00
Joel Sherrill
0c7aab8d9f Changed rtems_isr_level to rtems_interrupt_level per Chris Johns'
<ccj@acm.org> suggestion.
1999-10-01 18:05:42 +00:00
Joel Sherrill
a25f7028cb Clarified catch and disable per suggestion from Chris Johns <ccj@acm.org>. 1999-10-01 17:42:44 +00:00
Joel Sherrill
87ed029c79 Added "findex" for all directive pages but it turns out that this
blows up both makeinfo and texi2dvi.  So I have commented them out.
1998-04-02 16:18:26 +00:00
Joel Sherrill
20515fc1f8 Nodes, menus, etc are automatically generated now 1998-03-27 18:53:17 +00:00
Joel Sherrill
75e22db0d5 Completed sweep adding directive and constant prefixes. 1998-03-27 16:47:53 +00:00
Joel Sherrill
f331481c9d Conditionally adding RTEMS_ and rtems_ prefixes. 1998-03-27 13:24:52 +00:00
Joel Sherrill
a3a7527e1f Attempting to add variable so that in C all constants start with RTEMS_
and all directives start with rtems_.
1998-03-27 13:04:02 +00:00
Joel Sherrill
1e52499574 Updated copyrights 1998-02-06 14:14:30 +00:00
Joel Sherrill
173c59c841 minor updates .. mostly version 1998-01-23 16:57:29 +00:00
Joel Sherrill
139b2e4a00 added CVS Id string 1997-06-04 18:32:07 +00:00
Joel Sherrill
7e8a1fc947 final corrections before 4.1.0 documentation freeze. 1997-06-04 13:04:36 +00:00
Joel Sherrill
a94c5a5d69 Changed bitwise OR's used to build up option and attribute sets
to be correct in either C or Ada.

Added the interrupt disable, enable, flash, and is in progress directives.

changed "97" to "1997"
1997-05-31 15:55:10 +00:00
Joel Sherrill
17a3c690be fixed typos 1997-05-30 22:57:25 +00:00
Joel Sherrill
61389eac9f first cut at Ada bindings manual 1997-05-29 21:53:58 +00:00
Joel Sherrill
ae68ff0857 Initial revision 1997-05-27 12:40:11 +00:00