summaryrefslogtreecommitdiffstats
path: root/cpukit
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2007-11-09 17:07:10 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2007-11-09 17:07:10 +0000
commit66386040c9f8a05452b97facbb81b56a4b0a73c5 (patch)
treeaed0f3adc0a6c6b5d5ec5d245f1c7a330c35ad14 /cpukit
parent2007-11-09 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-66386040c9f8a05452b97facbb81b56a4b0a73c5.tar.bz2
2007-11-09 Joel Sherrill <joel.sherrill@oarcorp.com>
* posix/src/mprotect.c: Update comments.
Diffstat (limited to 'cpukit')
-rw-r--r--cpukit/ChangeLog4
-rw-r--r--cpukit/posix/src/mprotect.c10
2 files changed, 14 insertions, 0 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog
index 344fa09a97..24ecee3e58 100644
--- a/cpukit/ChangeLog
+++ b/cpukit/ChangeLog
@@ -1,5 +1,9 @@
2007-11-09 Joel Sherrill <joel.sherrill@oarcorp.com>
+ * posix/src/mprotect.c: Update comments.
+
+2007-11-09 Joel Sherrill <joel.sherrill@oarcorp.com>
+
* posix/Makefile.am: Add support for Ada95 interrupt tasks. This
will require gcc 4.3 or newer.
* posix/src/ada_intrsupp.c: New file.
diff --git a/cpukit/posix/src/mprotect.c b/cpukit/posix/src/mprotect.c
index 60740615b5..8b5825f1ea 100644
--- a/cpukit/posix/src/mprotect.c
+++ b/cpukit/posix/src/mprotect.c
@@ -1,4 +1,11 @@
/*
+ * COPYRIGHT (c) 1989-2007.
+ * On-Line Applications Research Corporation (OAR).
+ *
+ * The license and distribution terms for this file may be
+ * found in the file LICENSE in this distribution or at
+ * http://www.rtems.com/license/LICENSE.
+ *
* $Id$
*/
@@ -15,6 +22,9 @@
* This is not a functional version but the SPARC backend for at least
* gcc 2.8.1 plus gnat 3.13p and gcc 3.0.1 require it to be there and
* return 0.
+ *
+ * As of gcc 4.2.2, the gcc SPARC backend doesn't appear to have a
+ * way to call this for RTEMS anymore but it doesn't hurt to leave it.
*/
int mprotect(const void *addr, size_t len, int prot)